Commit Graph

152 Commits

Author SHA1 Message Date
Martin Boehm
dc14eb58b6 Implement Bitcore socket.io method getInfo 2018-02-07 21:42:56 +01:00
Martin Boehm
92aa4f0c7f Use only index lookup in getBlockHeader, trezor needs only tx hash 2018-02-07 21:11:50 +01:00
Martin Boehm
12876290e4 Enable SSL support for http and socket.io servers 2018-02-07 20:42:25 +01:00
Martin Boehm
bcc8de4763 Implement Bitcore socket.io method estimateSmartFee 2018-02-07 19:59:09 +01:00
Martin Boehm
8c9dfc3ef4 Implement Bitcore socket.io method getBlockHeader 2018-02-07 18:35:34 +01:00
Martin Boehm
d50392b0d0 Fix return values from socket.io 2018-02-07 13:23:45 +01:00
Martin Boehm
e094fce3dd Add interactive socket.io test page 2018-02-07 13:23:17 +01:00
Martin Boehm
a093d9aa9b Remove unnecessary test socket.io handler 2018-02-07 00:01:00 +01:00
Martin Boehm
c6cba802cd Implement Bitcore socket.io method getAddressTxids 2018-02-06 23:50:53 +01:00
Martin Boehm
b0f163e21c Support for socket.io interface, initial commit 2018-02-06 12:06:30 +01:00
Martin Boehm
ec87f4ed8d Use maximum size on disk trigger to invoke DB compaction 2018-02-06 09:43:54 +01:00
Martin Boehm
359d7ee1c4 Use constants instead of magic numbers 2018-02-06 09:12:50 +01:00
Martin Boehm
741f410a5b Update TODO 2018-02-05 18:35:54 +01:00
Martin Boehm
ee663944e2 Refresh iterator in DisconnectBlocks to avoid huge snapshot 2018-02-05 18:35:05 +01:00
Martin Boehm
fdd9c9b99f Use bulk option only for initial load of DB 2018-02-05 17:47:20 +01:00
Martin Boehm
d6e9b5caa4 Use special RocksDB options for outputs 2018-02-05 17:12:32 +01:00
Martin Boehm
97cc2aca17 Use PrepareForBulkLoad option for connectBlocksParallel 2018-02-05 12:27:41 +01:00
Martin Boehm
e31095d03f Compact database during connectBlocksParallel 2018-02-05 10:31:22 +01:00
Martin Boehm
d4a35b9889 Synchronize blocks in parallel using algorithm without chunks 2018-02-05 00:28:15 +01:00
Martin Boehm
1950f125e5 Ignore too large (> 512 bytes) output scripts 2018-02-04 23:17:54 +01:00
Martin Boehm
0a2379b5d2 Update todo list 2018-02-03 19:16:40 +01:00
Martin Boehm
7c71876c12 Lookup input transactions in mempool 2018-02-03 19:14:27 +01:00
Martin Boehm
2598dff10d Process inputs in mempool 2018-02-03 19:00:57 +01:00
Martin Boehm
a144d10ed3 Add todo list 2018-02-02 17:25:14 +01:00
Martin Boehm
ac5aa2a234 Start sync loops only if -sync=true 2018-02-02 16:17:33 +01:00
Martin Boehm
cf15f0cf0c Move sync loop after initial resync 2018-02-01 22:36:57 +01:00
Martin Boehm
4bbbcb0082 Update installation instructions 2018-02-01 22:28:20 +01:00
Martin Boehm
2605f2fc1d Implement REST interface to mempool transactions 2018-02-01 12:56:45 +01:00
Martin Boehm
1f36acc084 Reuses existing timer in tickAndDebounce 2018-02-01 12:26:12 +01:00
Martin Boehm
a07c414e72 Repeatedly with debounce synchronize index and mempool 2018-02-01 11:24:53 +01:00
Martin Boehm
ed47171406 Measure duration of mempool sync 2018-02-01 11:23:37 +01:00
Martin Boehm
7185060f62 Synchronize mempool 2018-01-31 17:51:48 +01:00
Martin Boehm
dec566e817 Fix http server shutdown loging 2018-01-31 15:34:20 +01:00
Martin Boehm
a403b8d0fe Rename package bitcoin to bchain 2018-01-31 15:23:17 +01:00
Martin Boehm
41c6ed8b6f Implement getrawmempool rpc message 2018-01-31 15:04:54 +01:00
Martin Boehm
71d669c0b9 Sync index on message from zeroMQ 2018-01-31 15:03:06 +01:00
Martin Boehm
e22e1a946d Use glog for logging with verbosity levels 2018-01-30 18:22:25 +01:00
Martin Boehm
3b2067a32d Update documentation to reflect storage of addresses as output script 2018-01-30 10:04:09 +01:00
Martin Boehm
496d6ff2c9 Synchronize with chain using parallel operations 2018-01-30 09:46:28 +01:00
Martin Boehm
9356e41730 Add getblockcount bitcoind rpc call 2018-01-30 09:45:47 +01:00
Martin Boehm
fbec9bf69f Add code documentation 2018-01-30 09:45:06 +01:00
Martin Boehm
3dacffda59 Use output script (ScriptPubKey) as key to output transactions 2018-01-29 23:25:40 +01:00
Martin Boehm
858f196484 Rollback to given height 2018-01-29 17:27:42 +01:00
Martin Boehm
2dd0b9fc21 RocksDB.GetTransactions returns transactions from inputs 2018-01-28 11:59:05 +01:00
Martin Boehm
9afa5b4187 resyncIndex DisconnectBlocks 2018-01-28 00:59:54 +01:00
Martin Boehm
8226fae4dc RocksDB data storage documentation 2018-01-28 00:30:55 +01:00
Martin Boehm
c7c85e51b5 description of data storage in RocksDB 2018-01-25 18:04:35 +01:00
Martin Boehm
2f73f6f81b connectBlockChunk - handling height over bitcoind best block height 2018-01-25 16:24:27 +01:00
Martin Boehm
b12c8cfae6 added some context to fatal error logs 2018-01-25 12:31:57 +01:00
Martin Boehm
cb3cdb6701 extended info rest request - returns bestblock of the index 2018-01-25 12:31:31 +01:00