Commit Graph

120 Commits (78300b998e2403bfe2eb1e8cbb76a2c7744142bc)

Author SHA1 Message Date
Martin Boehm b1e749dab9 Add logging of memory status 2018-08-26 21:29:10 +02:00
Martin Boehm 16275601f4 Decrease default db cache size to reduce memory footprint 2018-08-26 18:33:07 +02:00
Martin Boehm 7d708ef868 Unify handling and error handling of pages in public interface 2018-08-24 16:17:43 +02:00
Martin Boehm 328312e48a Add dbcache configuration flag, tune db options 2018-08-23 21:19:12 +02:00
Martin Boehm d45d028ef2 Implement bulk connect blocks 2018-08-19 00:23:26 +02:00
Martin Boehm 22b7289fa6 Add coin shortcut description 2018-06-28 00:36:56 +02:00
Martin Boehm 278b18a37f Rename httpserver and socketio flags to internal and public 2018-06-21 15:42:21 +02:00
Martin Boehm 9bd1b374a7 Refactor https and socketio to internal and public interface 2018-06-21 15:37:46 +02:00
Martin Boehm f686a37aab Resync index/mempool more often to overcome missing ZeroMQ in dogecoin 2018-06-16 13:52:15 +02:00
Martin Boehm d4cd2ad607 Return state information for index request on internal http server 2018-06-12 22:57:46 +02:00
Martin Boehm d018164b37 Fix typo in comment 2018-06-12 21:24:18 +02:00
Martin Boehm a4e5418f50 Randomize period of ComputeInternalStateColumnStats to avoid CPU peaks 2018-06-12 21:23:34 +02:00
Martin Boehm fd7828a877 Compute column stats periodically 2018-06-08 13:19:57 +02:00
Martin Boehm 31dc1d9c00 Merge branch 'master' into internal-state 2018-06-08 11:50:35 +02:00
Martin Boehm eb716d69ed Take coin name from rpc config json 2018-06-05 16:21:54 +02:00
Martin Boehm 2535e4b6b7 Report metrics of txcache 2018-06-04 18:09:36 +02:00
Martin Boehm cea1df9365 Compute total db size from stats 2018-06-04 13:24:40 +02:00
Martin Boehm 4f42d2f1d6 Add method to compute stats (rowcount, size) of all db columns 2018-06-01 16:01:58 +02:00
Martin Boehm 17ed8f7d5d Store mempool size in internal state 2018-06-01 13:22:56 +02:00
Martin Boehm 594e5333d6 Store host name only instead of full domain name in the internal state 2018-05-31 12:22:53 +02:00
Martin Boehm 5a114bf622 Return hostname in status page 2018-05-30 14:44:59 +02:00
Martin Boehm a899f9e97a Use context to limit shutdown time of bchain/mq 2018-05-30 14:44:59 +02:00
Martin Boehm 01aa3d9074 Change logging in waitForSignalAndShutdown 2018-05-29 12:38:04 +02:00
Martin Boehm 9147781772 Use single instance instead of global InternalState object 2018-05-29 11:37:35 +02:00
Martin Boehm c03b3d8a1a Store coin in internal state and verify that rpc coin matches db coin 2018-05-23 10:58:07 +02:00
Martin Boehm 96f25ce11a Store internal state periodicaly 2018-05-23 08:54:02 +02:00
Martin Boehm 1a953ea2a4 Merge branch 'master' into internal-state 2018-05-22 17:37:14 +02:00
Martin Boehm af064a3921 Store sync and mempool sync state to internal state 2018-05-22 17:34:37 +02:00
Jakub Matys 7835a27595 Added version and build information 2018-05-22 17:22:22 +02:00
Martin Boehm 291e99ba5f Add internal state of the application 2018-05-22 12:56:51 +02:00
Martin Boehm 699f6f8fc0 Set the log file size to 8MB 2018-05-17 12:31:45 +02:00
Martin Boehm bc6f8a9e5d Retry connection to blockchain rpc on startup
After restart, the blockchain daemons are not immediately ready
to serve requests. Blockbook must wait for them.
2018-05-17 11:52:16 +02:00
Martin Boehm 7cb8c8d3f0 Add option to disable txcache 2018-05-14 15:49:08 +02:00
Martin Boehm 7b79ac97e8 Fix usage message 2018-05-03 14:49:19 +02:00
Martin Boehm b3b8512958 Sync using indexv2 2018-04-30 14:50:19 +02:00
Martin Boehm 0a55ca61f6 Sync using indexv2 - WIP 2018-04-29 00:17:30 +02:00
Jakub Matys a37ccdaee0 fixed logging 2018-04-12 15:43:57 +02:00
Martin Boehm 394a773fc3 Merge branch 'master' into ethereum 2018-04-03 22:10:10 +02:00
Martin Boehm 7d6a9ae663 Force execution in tickAndDebounce after debounceTime 2018-04-03 22:09:46 +02:00
Martin Boehm 19d071a184 Remove bitcoin specific code from MQ push handler 2018-03-27 23:39:06 +02:00
Jakub Matys fbfb33cb5d Output index uses abstract identifier instead of outputScript 2018-03-20 16:01:36 +01:00
Martin Boehm 9c94db13f6 Move rpc config to external json file, move zeromq to btc implementation 2018-03-15 12:34:29 +01:00
Martin Boehm 96bfdfd74e Use block data in disconnect blocks, remove disconnected txs from cache 2018-03-14 12:34:13 +01:00
Jakub Matys 96a60bf7fa Renamed metrics and added implicit label `coin` 2018-03-14 09:45:10 +01:00
Martin Boehm b412b60c9c Move start of http interface before initial sync
This allows to collect metrics during initial sync
2018-03-13 16:10:38 +01:00
Jakub Matys d7229f8db0 added prometheus metrics 2018-03-13 11:44:50 +01:00
Martin Boehm fbc5248ef8 Handle HTTP status codes returned from blockchain rpc 2018-03-11 01:31:09 +01:00
Martin Boehm e914cd4479 Enable HTTP interface to go profiling 2018-03-09 17:05:27 +01:00
Martin Boehm 9d0547f608 Use blockchain factory to create blockchain interface 2018-03-08 18:36:01 +01:00
Martin Boehm f80ae32846 Abstract bitcoinrpc in preparation for alt coins 2018-03-08 12:59:37 +01:00