From 9f6684b95645a59fd21881eb51c4cad32e400f56 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 26 Sep 2014 15:50:05 -0700 Subject: [PATCH] readme --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 5084e4ee..18cff9a0 100644 --- a/README.md +++ b/README.md @@ -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