Miss any of our Open RFC calls?Watch the recordings here! »

block-to-transaction-stream

0.2.0 • Public • Published

Returns a stream of transactions from a stream of blocks

Installation

npm install block-to-transaction-stream

Example

var bitcoin = require('bitcoin')
var bs = require('bitcoind-block-stream')
var ts = require('./index')
var spy = require('through2-spy')
 
var client = new bitcoin.Client(require('./bitcoin.json'))
 
bs(client, { max: 10 }).pipe(ts()).pipe(spy(console.log.bind(console)))

Keywords

none

Install

npm i block-to-transaction-stream

DownloadsWeekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • avatar