This commit is contained in:
Christopher Jeffrey 2014-09-26 15:50:05 -07:00
parent 70b36ea84f
commit 9f6684b956

View File

@ -100,6 +100,31 @@ libuv I'm guessing. This is being investigated.
^C (SIGINT) will call `StartShutdown()` in bitcoind on the node thread pool.
##### Features
bitcoind.js now has access to the wallet:
``` js
console.log(bitcoind.wallet.listAccounts());
...
```
``` bash
$ node example
bitcoind.js: status="start_node(): bitcoind opened."
{ '':
{ balance: 0,
addresses:
[ { address: '16PvEk4NggaCyfR2keZaP9nPufJvDb2ATZ',
privkeycompressed: true,
privkey: 'L47MC7gtB5UdWYsmxT6czzGophFm6Zj99PYVQWDNkJG6Mf12GGyi',
pubkeycompressed: true,
pubkey: '02bf636e7a3ad48ea2cf0c8dbdf992792e617a4f92f2e161f20f3c038883647f0d' } ] } }
bitcoind.js: stop_node(): bitcoind shutdown.
bitcoind.js: shutting down...
bitcoind.js: shut down.
```
## Contribution and License Agreement
If you contribute code to this project, you are implicitly allowing your code