Commit Graph

13 Commits

Author SHA1 Message Date
Braydon Fuller
93ed8bfd8d Fix bug with feedback loop during shutdown
- Use height to indicate tip change by comparing heights
- Give undefined for callback when shutting down
2015-07-24 12:32:28 -04:00
Braydon Fuller
4189e3548a Tests for tip_update
- Exit tip_update thread on shutdown
- Check that the tip update event is fired
2015-07-23 23:29:01 -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
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
73b359425d Added comments to test files and guard for environment variables. 2015-07-22 09:52:23 -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