Merge pull request #103 from maraoz/bug/update-README
clarify need for bitcoind in examples
This commit is contained in:
commit
8b321f7a97
|
@ -53,6 +53,7 @@ addrStrings.forEach(function(addr) {
|
|||
|
||||
```
|
||||
## Monitoring Blocks and Transactions
|
||||
For this example you need a running bitcoind instance with RPC enabled.
|
||||
```js
|
||||
var util = require('util');
|
||||
var networks = require('bitcore/networks');
|
||||
|
@ -105,6 +106,7 @@ PeerManager will emit the following events: 'version', 'verack', 'addr', 'getadd
|
|||
|
||||
|
||||
## Creating and sending a Transaction through P2P
|
||||
For this example you need a running bitcoind instance with RPC enabled.
|
||||
```js
|
||||
var networks = require('bitcore/networks');
|
||||
var Peer = require('bitcore/Peer').class();
|
||||
|
@ -180,6 +182,7 @@ peerman.start();
|
|||
```
|
||||
|
||||
## Consuming bitcoind RPC
|
||||
For this example you need a running bitcoind instance with RPC enabled.
|
||||
```js
|
||||
var util = require('util');
|
||||
var RpcClient = require('bitcore/RpcClient').class();
|
||||
|
|
Loading…
Reference in New Issue