Commit Graph

845 Commits

Author SHA1 Message Date
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
Chris Kleeschulte e45876e440 Update README.md
Added the requirement of prefix on Mac OS X manually building.
2015-07-10 15:36:35 -04:00
Chris Kleeschulte 841f94c9c6 Merge pull request #18 from braydonf/mkdirs
Make directory if it doesn't exist.
2015-07-10 13:01:54 -04:00
Braydon Fuller d9ffab3505 Make directory if it doesn't exist. 2015-07-10 11:57:27 -04:00
Chris Kleeschulte 1f16fdf724 Merge pull request #17 from braydonf/readme-update
Various updates for the README
2015-07-10 11:46:37 -04:00
Braydon Fuller a2a95c0106 Merge pull request #3 from kleetus/braydonf-readme-update
remove quote around wildcarded path
2015-07-10 11:22:38 -04:00
Chris Kleeschulte 7b592dae8b remove quote around wildcarded path 2015-07-10 11:18:27 -04:00
Braydon Fuller 4d8f1a1ea8 Various updates for the README 2015-07-10 10:57:15 -04:00
Chris Kleeschulte e7160f0a09 Merge pull request #12 from braydonf/block-optimize
Read block as a Node Buffer
2015-07-10 09:16:20 -04:00
Braydon Fuller 91004a24a9 Free block buffer memory. 2015-07-09 17:34:37 -04:00
Braydon Fuller 24e705b265 Get blocks by height. 2015-07-09 16:45:30 -04:00
Braydon Fuller 69ed6efcb2 Allocate memory for block buffer. 2015-07-09 16:16:38 -04:00
Braydon Fuller 9c2726b09c Read block as a buffer 2015-07-09 16:12:52 -04:00
Braydon Fuller 218755d9a6 Merge pull request #16 from braydonf/ldpath
Link locally to shared library using rpath.
2015-07-09 16:12:15 -04:00
Chris Kleeschulte 5cd4f7f090 Merge pull request #10 from braydonf/getblock-tests
Added integration tests for getting blocks.
2015-07-09 15:54:29 -04:00
Braydon Fuller e42d8cdce2 Merge pull request #2 from kleetus/braydonf-ldpath
Mac builds point to {os_dir}/lib
2015-07-09 15:53:44 -04:00
Chris Kleeschulte e9184c1797 Mac builds point to {os_dir}/lib 2015-07-09 15:50:15 -04:00
Braydon Fuller edd0e5b092 Link locally to shared library using rpath. 2015-07-09 14:57:46 -04:00
Braydon Fuller 50c3bc43ab Wait until bitcoind is stopped in test. 2015-07-09 14:39:23 -04:00
Braydon Fuller db8cd7fa7e Package update for chai. 2015-07-09 13:40:01 -04:00