Braydon Fuller
2c8ae04af1
Merge pull request #54 from kleetus/faster_travis
...
Added support for using internal dependencies (boost).
2015-07-30 12:42:53 -04:00
Chris Kleeschulte
7cf5570071
Merge pull request #57 from braydonf/feature/pub-sub
...
Event Bus Subscriptions
2015-07-30 12:40:37 -04:00
Patrick Nagurny
7461a3dcd2
Merge pull request #56 from braydonf/estimatefee
...
Expose estimateFee method.
2015-07-30 10:48:07 -04:00
Braydon Fuller
ddef234167
Include documentation for module event publishing.
2015-07-29 18:21:09 -04:00
Braydon Fuller
725120a24e
Add tests for event bus.
2015-07-29 17:53:48 -04:00
Chris Kleeschulte
bfc7ab8359
Fixed whole-archive builds for the bindings binary.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
2e19b44342
Added the cache back in.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
ead1294111
Added prebuilt libs to the cache directory so that the bindings can get to them.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
86dbc89ff3
included ipp files in cache
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
b346befa21
Fixed copy of headers to include .hpp files.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
a7506471d5
Copied headers.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
b798ea918d
Skipped building if the patch's sha matches the previously written patch's sha.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
7de5ac32de
Fixed env variables.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
b1e04b97dd
Added the cleanup script so that we can keep the cache to a bare minimum.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
2fdabd721e
Fixed the dependency on system-installed boost libs.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
20bbe650c6
Removed cruft.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
9a18d37011
Updated the patch to compile the BDB static libs correctly.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
248bf1d52c
Included the wallet option for building while under test env.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
7efa84fa86
Generalized the static building of boost.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
245422a830
Added function to build dependencies.
2015-07-29 17:30:34 -04:00
Chris Kleeschulte
c53b47890b
Added support for using internal dependencies (boost).
2015-07-29 17:30:33 -04:00
Braydon Fuller
097fd6e3ba
Merge branch 'bus' into feature/pub-sub
2015-07-29 13:37:47 -04:00
Patrick Nagurny
c3da3e0b92
fix
2015-07-29 13:37:13 -04:00
Braydon Fuller
f2fdfed7e9
Add bus to subcribe to events.
2015-07-29 13:36:23 -04:00
Patrick Nagurny
d563704e1c
address subscriptions
2015-07-29 13:34:53 -04:00
Braydon Fuller
2ca3a48884
Expose estimateFee method.
2015-07-28 16:03:55 -04:00
Patrick Nagurny
bee86257ca
Merge pull request #51 from braydonf/freshstart
...
Initial daemon sync and setup
2015-07-27 13:03:54 -04:00
Braydon Fuller
939b19c65d
Call sync on initial ready event.
2015-07-25 00:02:46 -04:00
Braydon Fuller
4f281dcefe
Update chain prevHash cache.
2015-07-24 23:18:14 -04:00
Braydon Fuller
9890a4f0da
Added tests for _syncBitcoindRewind
2015-07-24 13:45:31 -04:00
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
ab4addc82e
Split out _syncBitcoindAncestor from _syncBitcoindRewind and added unit tests
2015-07-23 23:07:13 -04:00
Braydon Fuller
9eda30ae2b
Handle forks with bitcoindSync
...
- added bindings to listen for tip updates from the daemon
- update the height during syncing for continuity
- call sync when there is a new tip
- added ability to rewind to a ancestor when there is a fork
2015-07-23 20:06:19 -04:00
Braydon Fuller
6dc3577e00
Create data directory on a fresh start.
2015-07-23 18:45:17 -04:00
Braydon Fuller
ac09e767fb
Merge pull request #45 from pnagurny/feature/modules
...
Module system
2015-07-23 17:59:36 -04:00
Patrick Nagurny
9108b0f695
rename methods to getAPIMethods
2015-07-23 15:34:36 -06:00
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