Commit Graph

764 Commits

Author SHA1 Message Date
Patrick Nagurny f41a641dee README formatting issue 2015-07-20 14:49:45 -06:00
Patrick Nagurny 06cbdb4440 use bitcoind.getMempoolOutputs() 2015-07-20 13:38:56 -06:00
Patrick Nagurny 482fd53f3d use getChainWork from bitcoind 2015-07-20 11:55:16 -06:00
Patrick Nagurny 94ceaa1857 fix to rebase conflict issue 2015-07-20 11:27:28 -06:00
Patrick Nagurny a2f271bf03 udpated benchmarks 2015-07-20 10:40:36 -06:00
Patrick Nagurny 02b2d165d7 updated readme 2015-07-20 10:40:36 -06:00
Patrick Nagurny 655ac37ba0 changes in response to feedback 2015-07-20 10:40:35 -06:00
Braydon Fuller 162088f8f4 Expose verifyScript from the daemon 2015-07-20 10:40:35 -06:00
Patrick Nagurny beaa7cf450 remove spent index 2015-07-20 10:39:07 -06:00
Patrick Nagurny bb36f5f044 rename bitcoind to daemon 2015-07-20 10:39:07 -06:00
Patrick Nagurny 510f6e8607 getTransaction queryMempool 2015-07-20 10:37:17 -06:00
Patrick Nagurny 69f51c749b require coinbaseAddress to build coinbase transaction 2015-07-20 10:37:17 -06:00
Patrick Nagurny fa572237a6 add tests 2015-07-20 10:37:17 -06:00
Patrick Nagurny f9fef7a07f update index file and examples 2015-07-20 10:37:17 -06:00
Patrick Nagurny c00ca5b23f query bitcoind for spents and transactions 2015-07-20 10:37:17 -06:00
Patrick Nagurny b8b4ac02bf incorporate chainlib bitcoin into bitcoind.js 2015-07-20 10:37:17 -06:00
Patrick Nagurny d0327b2f85 Merge pull request #33 from braydonf/getmempooloutputs
Added getMempoolOutputs method
2015-07-20 10:25:54 -06:00
Braydon Fuller 0fbca8094e Added comments to getMempoolOutputs 2015-07-20 09:47:53 -04:00
Braydon Fuller 0b926b67b6 Completed getMempoolOutputs
- Pass ctx to data from the mempool for getTransaction
- Use string as input for unchecked transaction to mempool
- Only include outputs that match input address
- Include script in results
2015-07-20 09:47:53 -04:00
Chris Kleeschulte ef3abbcb6c Added a binding for Add to mempool. 2015-07-20 09:47:07 -04:00
Braydon Fuller 54edc851e0 Add getMempoolOutputs method. 2015-07-20 09:45:54 -04:00
Chris Kleeschulte 78ede4ae9c Merge pull request #32 from braydonf/getchainwork
Added getChainWork method for determining the best chain.
2015-07-20 09:35:38 -04:00
Braydon Fuller b2b44d1674 Added getChainWork method for determining the best chain. 2015-07-17 13:36:12 -04:00
Chris Kleeschulte e9cc3b774e Merge pull request #31 from braydonf/txwait
Wait to be able to query transactions from the mempool.
2015-07-16 17:10:04 -04:00
Braydon Fuller 8c8aa7dba2 Wait to be able to query transactions from the mempool. 2015-07-16 16:41:11 -04:00
Patrick Nagurny 150ac2027b Merge pull request #30 from braydonf/txmempool
Txmempool
2015-07-16 16:25:51 -04:00
Braydon Fuller b738a5fb84 Remove braces, fix benchmark and pass callback. 2015-07-16 16:09:30 -04:00
Braydon Fuller 9020ddb85c Add queryMempool option to getTransaction 2015-07-16 14:39:15 -04:00
Braydon Fuller cc1747c596 Update test data with unspent output. 2015-07-16 14:37:54 -04:00
Braydon Fuller fa3700babf Merge pull request #29 from kleetus/chainActive
1. Added a way to check if the genesis block is ready in chainActive …
2015-07-16 14:33:25 -04:00
Chris Kleeschulte 0601ed29d9 1. Added a way to check if the genesis block is ready in chainActive before sending the ready event. We think that once chainActive[0] is not returning NULL, we should be ready to query the local blockchain.
2. Added the env variable BITCOINDJS_DIR support in the integration tests.
2015-07-16 13:43:51 -04:00
Chris Kleeschulte f999e7e30f Merge pull request #28 from braydonf/isspent
Add method to check if an outpoint is spent.
2015-07-16 11:02:41 -04:00
Chris Kleeschulte 24885211e9 Merge pull request #27 from braydonf/chainactiveready
Handle case that chainActive at height does not exist.
2015-07-16 11:01:50 -04:00
Braydon Fuller dcaa6203e9 Add additional livenet tests and remove used param. 2015-07-16 10:02:27 -04:00
Chris Kleeschulte 1c615ac7c0 Added extern mempool and fixed method name. 2015-07-16 10:01:41 -04:00
Braydon Fuller 801679df75 Add isSpent call 2015-07-16 10:01:41 -04:00
Braydon Fuller 946feba862 Handle case that chainActive at height does not exist. 2015-07-16 09:59:13 -04:00
Chris Kleeschulte a37631222c Merge pull request #25 from braydonf/tx
Add tests and benchmarks for getTransaction
2015-07-16 09:54:55 -04:00
Braydon Fuller be3044d3d3 Add tests and benchmarks for getTransaction 2015-07-15 16:00:48 -04:00
Braydon Fuller 89e757b25a Merge pull request #24 from kleetus/patch-0.11.0
Patch 0.11.0
2015-07-14 17:07:04 -04:00
Braydon Fuller e1568d5738 Changed types back to std::string for getBlock hash. 2015-07-14 15:54:43 -04:00
k 36e3343432 Changed the order in which the header files were being included. Due to the nan header using the system version of endian.h, but the bitcoin-related headers need the compat/endian.h. The two (at least on Linux) are not compatible. 2015-07-14 15:54:39 -04:00
Chris Kleeschulte 5d9338d22a 1. Updated patch for v0.11.0
2. Updated bindings to cover the changes to bitcoin
3. Added some file matchers to gitignore for Qt Creator
4. Fixed platform lib path for Mac OS X
5. Removed unneeded methods in bindings (they will be re-added later
2015-07-13 16:34:29 -04:00
Chris Kleeschulte 02c3da59c2 Merge pull request #22 from braydonf/travisupdate
use container based travis (not legacy)
2015-07-13 12:10:50 -04:00
Braydon Fuller 5d346077e1 Merge pull request #21 from pnagurny/include-paths
Add include paths for /usr/local
2015-07-13 11:55:48 -04:00
Braydon Fuller 5498b3b3fa use container based travis (not legacy) 2015-07-13 11:16:57 -04:00
Patrick Nagurny 0d44ce5e4c add include paths for /usr/local 2015-07-13 11:00:10 -04:00
Chris Kleeschulte 7a73b8da47 Merge pull request #20 from braydonf/leveldb-rpath
Add rpath for leveldb
2015-07-10 17:35:26 -04:00
Braydon Fuller 82d0539da8 Merge pull request #19 from bitpay/kleetus-patch-1
Update README.md
2015-07-10 17:22:22 -04:00
Braydon Fuller 9daab98228 Add rpath for leveldb 2015-07-10 17:20:58 -04:00