Commit Graph

200 Commits

Author SHA1 Message Date
Martin Boehm
d47e2daf5b Add sample btc-testnet json configuration file 2018-03-15 12:34:44 +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
22d30ffaa1 Compute db size metrics during initial import 2018-03-14 12:40:17 +01:00
Martin Boehm
84d5c3ea24 Update todo list 2018-03-14 12:34:26 +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
f03131eb79 Merge branch 'metrics' 2018-03-14 10:29:46 +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
Martin Boehm
a86e948e78 Update documentation 2018-03-13 16:09:28 +01:00
Martin Boehm
c549862e63 Add btc-testnet coin support 2018-03-13 16:07:24 +01:00
Jakub Matys
a03dca4f76 dependencies clean up 2018-03-13 13:31:13 +01:00
Jakub Matys
8ed9beef27 Merge branch 'metrics' 2018-03-13 11:45:44 +01:00
Jakub Matys
b7f07a8ff5 method map cleaned up because of metric labels 2018-03-13 11:44:50 +01:00
Jakub Matys
d7229f8db0 added prometheus metrics 2018-03-13 11:44:50 +01:00
Jakub Matys
ab2d2c2f0d upgraded go version and fixed build process 2018-03-13 11:37:12 +01:00
Jakub Matys
db168ec481 dependencies upgraded 2018-03-13 11:37:12 +01:00
Martin Boehm
60a1e34572 Update README, add separate documentation for each supported coin 2018-03-12 18:00:27 +01:00
Martin Boehm
bd001bdcfa Remove unnecessary inputs processing from socket.io getAddressHistory 2018-03-12 17:40:03 +01:00
Martin Boehm
b55306b6eb Hide GetBlockWithoutHeader BTC optimization from BlockChain interface 2018-03-12 17:37:32 +01:00
Martin Boehm
4c51d7cb0a Add rocksdb reopen db method
Mainly used for debugging purposes
2018-03-12 16:28:52 +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
cf35debbff Update gitignore 2018-03-09 17:04:22 +01:00
Martin Boehm
48daa85a9f Update todo 2018-03-08 19:52:25 +01:00
Martin Boehm
23b795ccc7 Add base for ZCash support 2018-03-08 19:39:21 +01:00
Martin Boehm
9d0547f608 Use blockchain factory to create blockchain interface 2018-03-08 18:36:01 +01:00
Jakub Matys
df4ba50672 Merge branch 'jakm' 2018-03-08 14:16:46 +01:00
Jakub Matys
69b88275bd added RPC method getmempoolentry 2018-03-08 14:15:06 +01:00
Jakub Matys
b6b0438b84 Allow build from local sources in Docker 2018-03-08 13:58:41 +01:00
Martin Boehm
f80ae32846 Abstract bitcoinrpc in preparation for alt coins 2018-03-08 12:59:37 +01:00
Martin Boehm
b024c020e8 Update todo 2018-03-07 23:27:40 +01:00
Martin Boehm
f2284559d5 Return info about network in socket.io getInfo request 2018-03-07 10:41:07 +01:00
Martin Boehm
0783cac294 Detect type of the block chain and use correct chain params 2018-03-07 09:38:19 +01:00
Martin Boehm
cac412527d Improve handling of os interrupt signal in connectBlocksParallel 2018-03-06 13:13:30 +01:00
Martin Boehm
98d91d4ce1 Synchronize mempool before starting server interfaces 2018-03-06 12:42:54 +01:00
Martin Boehm
d1c4c66c5f Implement TxCache stored in RocksDB 2018-03-06 12:36:24 +01:00
Martin Boehm
0cfc74a48d Update todo list 2018-03-06 09:28:25 +01:00
Martin Boehm
58205ed84a Store transactions in RocksDB 2018-03-05 18:14:41 +01:00
Martin Boehm
54ddfa9e03 Refactore address conversion functions to bitcoinwire.go 2018-03-05 16:54:05 +01:00
Martin Boehm
2736d15d63 Update .gitignore 2018-03-05 16:52:21 +01:00
Martin Boehm
7c745dbc99 Update todo list in README 2018-03-04 01:08:57 +01:00
Martin Boehm
a866628ad0 Add unit tests for AddressToOutputScript and OutputScriptToAddresses 2018-03-03 23:46:12 +01:00
Martin Boehm
f343194074 Add helper blockchain function OutputScriptToAddresses 2018-03-03 23:45:00 +01:00
Martin Boehm
13e08a07a9 Remove unnecessary data from socket.io interface 2018-03-02 16:08:08 +01:00
Martin Boehm
a165d71597 Remove unnecessary data from bitcoin.Tx struct 2018-03-02 16:07:45 +01:00
Martin Boehm
a04fd8642e Use custom http transport settings in bitcoind rpc 2018-03-02 13:54:21 +01:00
Martin Boehm
1eb77fbc27 Fix possible memory leak in bitcoind rpc call 2018-03-02 13:49:32 +01:00
Martin Boehm
1c68070d78 Remove unnecessary data from bitcoin.Tx struct 2018-03-02 13:45:39 +01:00
Martin Boehm
b3d1d449fd Fix minimum sync height 2018-03-01 20:20:50 +01:00
Martin Boehm
9bdb83deff Refactor sync code to own file 2018-03-01 18:37:01 +01:00