Commit Graph

16 Commits

Author SHA1 Message Date
Chris Kleeschulte
875c35de2a Added a full stack integration-style regtest for the bus
- The test exercises subscribe and calls unsubscribe.
2015-09-10 13:19:12 -04:00
Braydon Fuller
2f6fc6e3e9 Merge pull request #202 from pnagurny/feature/main-chain
Add isMainChain method
2015-09-09 10:08:21 -04:00
Braydon Fuller
a9f990bdf4 Fixes for isMainChain binding tests. 2015-09-08 17:42:33 -04:00
Patrick Nagurny
0ff742c1b6 add isMainChain method 2015-09-08 17:38:59 -04:00
Braydon Fuller
60af86777f Start/Stop Improvements
- A Node will shutdown if there is an error starting a service as it would lead to cascading errors.
- `node.start()` needs to be called, and nolonger is called automatically when the instance is created.
- A service will only be added to node.services after it's started
- Stopping services that are not started will gracefully continue.
- Logging sync status of db will only apply if the service is started.
- Debug log about a service without a route will always include the service name
2015-09-08 10:17:57 -04:00
Patrick Nagurny
4ae6377548 fixes 2015-08-31 15:15:55 -04:00
Braydon Fuller
7551f487f8 Rename modules to services. 2015-08-31 11:31:28 -04:00
Braydon Fuller
16eef1279c Combine chain with db module. 2015-08-31 11:25:30 -04:00
Braydon Fuller
df9b62acca Convert db into a db module. 2015-08-31 11:15:51 -04:00
Braydon Fuller
96f6604222 Convert daemon into bitcoin module. 2015-08-31 11:11:16 -04:00
Patrick Nagurny
aa6b03ae58 Merge pull request #159 from braydonf/noderef
Use node as a reference in modules, db and chain.
2015-08-27 15:15:55 -04:00
Chris Kleeschulte
4ce7757990 Added TLS/SSL options to the integration tests.
- The integration tests will now use https and a self-signed cert.
2015-08-27 14:09:49 -04:00
Braydon Fuller
5361183a19 Use node as a reference in modules, db and chain. 2015-08-27 14:04:42 -04:00
Braydon Fuller
bbc421a31e Migrate chainlib functionality into bitcore-node. 2015-08-26 17:24:10 -04:00
Braydon Fuller
d03d452981 Refactor reorg regtest. 2015-08-24 14:06:38 -04:00
Braydon Fuller
9be5db84c9 Added node reorg integration regtest 2015-08-24 13:59:33 -04:00