Commit Graph

40 Commits

Author SHA1 Message Date
Patrick Nagurny
a220bbc43c wip 2017-01-25 16:37:38 -05:00
Patrick Nagurny
25c1492580 concurrency wip 2017-01-24 17:44:01 -05:00
Patrick Nagurny
831bf0b988 db should only sync after all services are started 2017-01-23 14:53:27 -05:00
Patrick Nagurny
efa8480651 get address index to work 2017-01-19 16:11:04 -05:00
Patrick Nagurny
8ecf6e1c47 modify address index, add timestamp and tx indexes (wip) 2017-01-17 15:44:56 -05:00
Patrick Nagurny
339f56157f restore db and address services 2017-01-10 16:51:32 -05:00
Braydon Fuller
7e70bbfa7d bitcoind: bitcoind service using rpc and zmq with address index 2016-04-08 11:59:26 -04:00
Braydon Fuller
6e8f3ee917 Add regtest from bitcore-lib 2016-02-03 18:29:33 -05:00
Braydon Fuller
f473ddeddd Lower and include new concurrency limits 2016-02-03 12:28:32 -05:00
Braydon Fuller
995b4b57d4 DB: Include docs on how to recreate the database 2016-01-28 13:47:26 -05:00
Braydon Fuller
98bd8ee560 DB Service: Include a version number for upgrading purposes 2016-01-28 12:08:05 -05:00
Braydon Fuller
40eb4f50ae Address Service: Start to cache getAddressSummary based on range of block heights 2016-01-11 16:17:55 -05:00
Braydon Fuller
a1bae366b3 Database: Removed runAllMempoolIndexes method
Replaced with using `tx` and `txleave` to manage the state of the mempool indexes.
2015-11-02 17:18:37 -05:00
Braydon Fuller
1dec93edd4 bitcore -> bitcore-lib 2015-10-17 00:56:29 -04:00
Patrick Nagurny
236d44441e don't crash when sendTransaction is called with bad data 2015-10-14 10:50:50 -04:00
Patrick Nagurny
9acb896f10 Wait for bitcoind to catch up if tip is not found 2015-10-02 13:35:42 -04:00
Patrick Nagurny
3fa1340ef3 save tip as part of block db operations 2015-09-29 15:20:05 -04:00
Braydon Fuller
1183e0cae7 Service Documentation 2015-09-23 18:14:37 -04:00
Patrick Nagurny
85f636f154 fix db stopping bug 2015-09-18 11:30:37 -04:00
Patrick Nagurny
e5a58f986c Merge pull request #239 from kleetus/mempool-index
Mempool index
2015-09-18 10:19:18 -04:00
Braydon Fuller
ad120213e1 Start of mempool address index. 2015-09-17 14:26:53 -04:00
Braydon Fuller
37550166dd Database: Warn about inconsistent database state. 2015-09-16 20:02:09 -04:00
Patrick Nagurny
a0be38f074 check for timestamp out of bounds 2015-09-16 12:04:44 -04:00
Patrick Nagurny
7e1d433781 go from highest timestamp to lowest timestamp 2015-09-15 18:23:06 -04:00
Patrick Nagurny
e6b850124c fixes 2015-09-15 17:25:41 -04:00
Patrick Nagurny
00d3a0ba67 binary encode key and value 2015-09-15 16:55:14 -04:00
Patrick Nagurny
eaee098cf0 add getBlockHashesByTimestamp 2015-09-15 12:56:44 -04:00
Patrick Nagurny
c4d28c3947 wait for db operations to complete before closing leveldb 2015-09-10 12:45:00 -04:00
Patrick Nagurny
4682714c69 check for blockHandler on services 2015-09-09 15:04:07 -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
Braydon Fuller
50925d1e0f Add tests for reorg improvement, and remove nolonger need code. 2015-09-04 13:52:59 -04:00
Patrick Nagurny
60a7f5ea29 optimizations for handling reorgs better 2015-09-04 11:32:04 -04:00
Patrick Nagurny
a0e40ffd15 check for duplicate events 2015-09-03 17:29:28 -04:00
Patrick Nagurny
900f715a49 add tests 2015-09-03 16:38:23 -04:00
Patrick Nagurny
da6b6e3622 more changes for services 2015-09-03 16:07:35 -04:00
Braydon Fuller
63e71d7f0c Added unit tests for db.saveMetadata 2015-09-01 14:29:04 -04:00
Braydon Fuller
efc770f7eb Bitcoind is already logging the status. 2015-09-01 13:55:51 -04:00
Patrick Nagurny
f1cac3da1d make webService into a real service 2015-08-31 13:06:49 -04:00
Patrick Nagurny
a68cf4ecf8 Web service and other changes in preparation for insight-api 2015-08-31 12:54:28 -04:00
Braydon Fuller
7551f487f8 Rename modules to services. 2015-08-31 11:31:28 -04:00