Braydon Fuller
4c7309838b
Run integration/regtest.js in ci tests.
2015-07-21 14:33:19 -04:00
Braydon Fuller
787dcde00b
Answer yes to adding the ppa.
2015-07-21 14:00:10 -04:00
Braydon Fuller
910fb561ac
Add Berkeley DB depends for testing regtest.
2015-07-21 13:56:57 -04:00
Braydon Fuller
bcdf75a5e1
Add environment variable to travis to compile for testing.
2015-07-21 13:49:20 -04:00
Braydon Fuller
7f5c509254
Update tests to pass network option with regtest option.
2015-07-21 13:47:25 -04:00
Braydon Fuller
787aa37e7a
Removed extra files and updated config options.
2015-07-21 13:23:38 -04:00
Braydon Fuller
53968e6f8d
Fix debug flag and readme formatting.
2015-07-21 13:19:18 -04:00
Braydon Fuller
e3d041b594
Include debug flag when building test build.
2015-07-21 13:09:27 -04:00
Chris Kleeschulte
66af5935b7
Patch update for wallet inclusion under the test environment
...
- Added the patch to allow the building of the test environment for which the wallet is required
2015-07-21 13:07:23 -04:00
Chris Kleeschulte
cf6225c495
Regtest testing
...
- Removed config option for build scripts, replaced with env variable
- Updated README
- Added regtest option under test build, wallet built-in
- added network key to bindings
- datadir for the bitcoind object instead of directory
- added new config_options scripts for test and debug
2015-07-21 13:06:43 -04:00
Chris Kleeschulte
cda1e2a438
Merge pull request #43 from braydonf/config
...
Cleanup configuration options. Closes #40
2015-07-21 12:45:23 -04:00
Braydon Fuller
4d784ba8f5
Add test for loading bitcoin.conf
2015-07-21 12:17:44 -04:00
Braydon Fuller
75058b26b9
Add and fix unit tests for configuration options.
2015-07-21 11:52:08 -04:00
Braydon Fuller
0bbc388ca6
Cleanup configuration options
2015-07-21 11:16:12 -04:00
Braydon Fuller
4f502ec580
Merge pull request #42 from igorbarinov/patch-1
...
git clone ssh to https change
2015-07-21 08:40:05 -04:00
Igor Barinov
d8f858f785
git clone ssh to https change
...
You can only git clone using ssh if you have ssh keypair and pub key uploaded to github. Otherwise, you will get "Permission denied (publickey)."
it's recommended to use https e.g. git clone https://github.com/bitpay/bitcoind.js.git
2015-07-20 23:29:34 -07:00
Braydon Fuller
5c1737067b
Merge pull request #26 from pnagurny/feature/chainlib-bitcoin
...
Incorporate chainlib-bitcoin into bitcoind.js
2015-07-20 17:01:39 -04:00
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