2.1.1 • Published 10 years ago

chainstate-utxo-stream v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Returns a stream of blocks from given start height to given max height.

Installation

npm install chainstate-utxo-stream

Example

var level = require('level')
var us = require('chainstate-utxo-stream')

var db = level('chainstate', { keyEncoding: 'hex', valueEncoding: 'hex' })
var rs = db.createReadStream({ gte: '\x63', lt: '\x64' })

rs.pipe(us())
  .pipe( // do what you want here )
2.1.1

10 years ago

2.0.1

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago