Braydon Fuller
80a0786e12
Merge pull request #49 from kleetus/patch_diff
...
Upgrades whilst having the build directory
2015-07-23 17:19:04 -04:00
Patrick Nagurny
fd8ee3ba9d
expose getBlock method
2015-07-23 15:08:09 -06:00
Patrick Nagurny
990f508bbb
update README with module docs
2015-07-23 15:03:18 -06:00
Chris Kleeschulte
191fc22434
Fixed quoted boolean value.
2015-07-23 16:59:13 -04:00
Patrick Nagurny
8290d61a09
only pass db as option to module because other params aren't available until init
2015-07-23 13:30:36 -06:00
Patrick Nagurny
1aee45e423
add Module to index.js
2015-07-23 10:55:50 -06:00
Patrick Nagurny
14e21fadb0
update tests
2015-07-23 09:34:10 -06:00
Patrick Nagurny
8d39d02ee6
modularize db
2015-07-23 09:34:10 -06:00
Patrick Nagurny
078577499b
Merge pull request #50 from braydonf/prevhash
...
Use prevHash from bitcoind block index
2015-07-23 08:17:12 -06:00
Braydon Fuller
509b424262
Fix bug with loading the genesis block for testnet.
2015-07-23 09:33:40 -04:00
Braydon Fuller
747942cec1
Log sync status less frequently, and include the current height.
2015-07-22 19:51:49 -04:00
Braydon Fuller
40c0275677
Make sure to select the correct utxo in regtest.
2015-07-22 18:19:50 -04:00
Braydon Fuller
7b8268d0e0
Use prevHash from bitcoind block index
...
- Changed method getChainWork into getBlockIndex
- Added prevHash to getBlockIndex result
2015-07-22 16:56:17 -04:00
Chris Kleeschulte
8905333e3f
Merge pull request #38 from braydonf/sendtransaction
...
Add sendTransaction method to the daemon.
2015-07-22 16:44:53 -04:00
Chris Kleeschulte
fab5ac4158
Upgrades whilst having the build directory
...
- when performing nom install (which calls build-libbitcoind), the diff from PATCH_VERSION is taken and compared to what's in etc/bitcoin.patch. If there are differences, then the user is asked if they would like to re-patch with what's in etc/bitcoin.patch or not.
- using ASSUME_YES=true env variable will allow the patch to be replaced automatically without user intervention
- Answering anything but 'y' or 'Y' will leaving the user's libbitcoind alone.
2015-07-22 16:04:58 -04:00
Braydon Fuller
eab878cec1
Include a higher fee.
2015-07-22 14:29:43 -04:00
Braydon Fuller
b53fa3f6bb
Added regtest for sendTransaction method.
2015-07-22 13:59:28 -04:00
Braydon Fuller
2312e53038
Fix compilation of bindings for SendTransaction.
2015-07-22 10:57:01 -04:00
Braydon Fuller
796d7682f8
Add sendTransaction method to the daemon.
2015-07-22 10:57:01 -04:00
Chris Kleeschulte
6cc6d7f4de
Merge pull request #44 from braydonf/regtest
...
Add "regtest" testing capabilities
2015-07-22 10:31:47 -04:00
Braydon Fuller
73b359425d
Added comments to test files and guard for environment variables.
2015-07-22 09:52:23 -04:00
Braydon Fuller
2abb0cc393
Add unit tests to travis ci config.
2015-07-21 19:06:27 -04:00
Braydon Fuller
5a8dfc1e07
Added tests for getting blocks by height.
2015-07-21 18:48:07 -04:00
Braydon Fuller
ebdab57b78
Added get block by hash regtest.
2015-07-21 18:46:00 -04:00
Braydon Fuller
be5e885f96
Use datadir path relative to test file.
2015-07-21 18:18:42 -04:00
Braydon Fuller
bcc3a4c2e1
Use a local data directory specific for reg testing.
2015-07-21 17:33:59 -04:00
Braydon Fuller
072c109174
Update regtest tests.
2015-07-21 16:46:36 -04:00
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