Commit Graph

81 Commits

Author SHA1 Message Date
Chris Kleeschulte
f47b43754c
Fixed reorg. 2017-09-28 19:25:58 -04:00
Jason Dreyzehner
abd21a5b08 fix(start): remove stray log (which looks like an error) 2017-08-18 19:38:01 -04:00
Chris Kleeschulte
07b1ff3111 Added regtest reorg tests, 2017-08-17 19:38:06 -04:00
Jason Dreyzehner
30bcddd34d refactor: downlevel, use strict 2017-08-09 12:51:18 -04:00
Jason Dreyzehner
16c7708dd7 refactor: pacify jshint 2017-08-09 12:51:18 -04:00
Jason Dreyzehner
33d6559305 feat(config): detect and move outdated config, replace with new default 2017-08-09 12:51:18 -04:00
Jason Dreyzehner
63c55689e8 fix(default-config): update default config generation, include insight-api and insight-ui 2017-08-07 16:36:31 -04:00
Chris Kleeschulte
c7c9052034 wip 2017-07-24 20:51:48 -04:00
Chris Kleeschulte
0263aa14ae wip 2017-07-21 11:10:54 -04:00
Chris Kleeschulte
e1b8c583d8 wip 2017-07-17 10:17:49 -04:00
Chris Kleeschulte
d0ee9c18a9 wip 2017-07-05 09:34:51 -04:00
Chris Kleeschulte
54d08d57bf wip 2017-07-05 08:57:50 -04:00
Chris Kleeschulte
e8efdafce0 wip 2017-06-22 14:10:23 -04:00
Chris Kleeschulte
c4e90875a9 wip 2017-06-20 09:47:59 -04:00
Chris Kleeschulte
8730ca6148 wip 2017-05-25 23:11:55 -04:00
Chris Kleeschulte
6cccce833d Moved closer toward not relying on zmq and rpc. 2017-05-22 08:21:37 -04:00
Chris Kleeschulte
0e1b21b988 wip 2017-05-19 19:09:47 -04:00
Chris Kleeschulte
ce15e8ecf3 wip 2017-05-19 10:48:19 -04:00
Patrick Nagurny
efa8480651 get address index to work 2017-01-19 16:11:04 -05:00
Patrick Nagurny
22b7d59e55 Merge remote-tracking branch 'chris/feature/walletGrouping' into feature/walletIndex 2017-01-17 13:01:56 -05:00
Chris Kleeschulte
e6d569620b Implemented basic wallet db and calls to bitcoind. 2017-01-11 17:01:48 -05:00
Chris Kleeschulte
86186e6147 Small fixes for service requiring and warnings. 2017-01-11 13:50:44 -05:00
Patrick Nagurny
339f56157f restore db and address services 2017-01-10 16:51:32 -05:00
Chris Kleeschulte
62312499cb Remove npm as a dependency
- not really needed
2016-09-19 11:00:24 -04:00
Braydon Fuller
814576953c bitcoind: relative spawn.datadir handling
Will expand the datadir into an absolute path based on the location
of the configuration file. This is to avoid unexpected behavior in regards
to the location of configuration files.
2016-06-01 11:33:06 -04:00
Braydon Fuller
88c15f6844 scaffold: remove no longer needed '-dev' version handling 2016-05-24 17:15:28 -04:00
Braydon Fuller
bce64d86e3 scaffold: upgrade message formatting 2016-05-23 13:06:32 -04:00
Braydon Fuller
cd9bbc8661 scaffold: expanded v2 config checks 2016-05-23 11:30:57 -04:00
Braydon Fuller
7be7a7dce5 scaffold: update error message to be more accurate 2016-05-09 14:28:17 -04:00
Braydon Fuller
ea792b692f scaffold: remove outdated logging of db service sync status 2016-04-27 12:00:47 -04:00
Braydon Fuller
92bae5f09a general: code cleanup, refactoring and formatting 2016-04-27 11:36:26 -04:00
Braydon Fuller
d958e83f1d build: add support for nodejs 0.10
For Ubuntu 14.04 Node.js compatibility: http://packages.ubuntu.com/trusty/nodejs
2016-04-25 17:23:48 -04:00
Braydon Fuller
3e2492e6d4 scaffold: detect incompatible config 2016-04-20 11:55:45 -04:00
Braydon Fuller
890b38744d test: update unit tests, refactoring and cleanup 2016-04-15 11:20:33 -04:00
Braydon Fuller
d11d0300de bitcoind: spawn in default configs 2016-04-08 15:29:57 -04:00
Braydon Fuller
18310268a5 node: log intro with config path 2016-04-08 11:59:26 -04:00
Braydon Fuller
0f24dd5f49 config: update configuration options for exec path
- config options for bitcoind to specify exec path of bitcoind
- config options to connect to multiple bitcoind processes
- systemd and upstart preferred methods to daemonize
2016-04-08 11:59:26 -04:00
Braydon Fuller
92382d69cc Add --testnet option to create command. 2015-10-21 15:28:28 -04:00
Braydon Fuller
95bd5913b8 Clear warnings with bitcore create command. 2015-10-20 16:48:51 -04:00
Braydon Fuller
e046f7294e Changes to be able to run with only a configuration file.
- Adds parameter to cli methods to be able to specify the location of services modules. This is useful for packages that wrap bitcore-node to be able to pass along a node_modules directory with services.
- Adds another parameter for including additional services in the default settings.
- Will use the `process.env.HOME + '/.bitcore` as the default configuration location.
- There are now two `getDefaultConfig`, one that will instatiate a `~/.bitcore` directory with a default if it doesn't exist, and `getBaseDefaultConfig` that will return a basic configuration without additional services enabled.
- Changes logic to use the global install if a local node_modules version is not available, this would previously assume that it was a local install because of the existence of a configuration file.
2015-10-20 12:33:53 -04:00
Rob Riddle
e9290d3cdc Use bitcore-lib in node package creation 2015-10-19 15:43:51 +03:00
Braydon Fuller
95b5bfbfcb Fix library reference. 2015-10-18 16:28:24 -04:00
Braydon Fuller
58894bc4b2 Expose cli methods. 2015-10-18 16:20:51 -04:00
Braydon Fuller
1dec93edd4 bitcore -> bitcore-lib 2015-10-17 00:56:29 -04:00
Braydon Fuller
25e801126f Bitcore Node Add Command with Remote URLS 2015-09-15 11:08:55 -04:00
Chris Kleeschulte
7b50f5ff3d Switched to using a flag instead of using a replacement. 2015-09-14 13:15:55 -04:00
Chris Kleeschulte
51355c51f1 Multiple sigints sent to the node process
- Added a simple replacement function after the first sigint is handled.
- Added unit tests for the exitHandler, requiring it to be exposed from the module.
2015-09-11 16:27:24 -04:00
Chris Kleeschulte
60a133f36c Multiple SIGINT signals sent to node process while in shutdown cycle.
- Overrode the sigint listener if in the shutdown cycle. This prevents control being returned to the pty before the node process is fully halted.
2015-09-11 12:39:33 -04:00
Patrick Nagurny
8b0b401d52 inherit https options from node 2015-09-10 11:08:48 -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