Commit Graph

64 Commits

Author SHA1 Message Date
Jakub Matys
d6920b6057 Added support of ErrBlockNotFound 2018-03-27 15:26:30 +02:00
Jakub Matys
6a49abe8bb Merge branch 'master' into zcash 2018-03-27 11:14:20 +02:00
Jakub Matys
8184f4e935 Disabled unstable test 2018-03-27 11:09:31 +02:00
Jakub Matys
18ce3edac3 Added RPC method EstimateFee 2018-03-27 10:30:30 +02:00
Martin Boehm
b1694b4a61 Support sync of blockchains without block.next hash 2018-03-26 16:44:54 +02:00
Martin Boehm
341393b1eb Define error ErrBlockNotFound and implement it in btc 2018-03-26 15:17:44 +02:00
Jakub Matys
71eec95c5b ZCash uses decoded address as AddrID 2018-03-26 11:41:32 +02:00
Jakub Matys
00acae08f5 Merge branch 'master' into zcash 2018-03-23 16:11:56 +01:00
Martin Boehm
44fdb5528b Support indexing of non UTXO chains 2018-03-23 13:15:35 +01:00
Martin Boehm
32a2c1a417 Remove unnecessary methods from BlockChainParser interface 2018-03-23 13:15:19 +01:00
Jakub Matys
d35dd77695 Implemented EstimateSmartFee by calling of legacy estimatefee RPC 2018-03-23 12:04:17 +01:00
Martin Boehm
dda80bd074 Refactor names in interface BlockChainParser, added method IsUTXOChain 2018-03-23 11:03:41 +01:00
Jakub Matys
80959fd9d6 ZCashRPC.GetBlock skips invalid/missing transactions during sync 2018-03-22 15:45:08 +01:00
Jakub Matys
4421dc94dc Added empty methods for missing RPCs 2018-03-22 15:43:14 +01:00
Jakub Matys
afa4d17e5f Added tests of ZCashBlockParser 2018-03-21 17:04:37 +01:00
Jakub Matys
ef73d52063 Removed unused package import 2018-03-21 16:46:35 +01:00
Jakub Matys
bf83b6e213 Merge branch 'master' into zcash 2018-03-21 16:03:09 +01:00
Jakub Matys
c0de004c6c Removed dependency of ZCashBlockParser on BitcoinBlockParser 2018-03-21 15:47:59 +01:00
Jakub Matys
83ec7a37a6 Removed bitcoin parameters from ZCashRPC's initialization method 2018-03-21 15:47:02 +01:00
Martin Boehm
f0552ec4ad Remove metrics from specific coin implementations 2018-03-21 15:33:48 +01:00
Jakub Matys
fc1efc791e Added methods for packing/unpackings ZCash transactions 2018-03-21 15:25:27 +01:00
Martin Boehm
a7d82761f9 Merge branch 'zcash' into master 2018-03-21 14:50:38 +01:00
Martin Boehm
f1b1f9fe55 Implement generic timing of blockchain rpc calls 2018-03-21 01:23:17 +01:00
Jakub Matys
a9effbe835 Added ZCashBlockParser 2018-03-20 17:28:03 +01:00
Jakub Matys
bad16b1404 fixes 2018-03-20 16:07:05 +01:00
Jakub Matys
d09333fa2e WIP: zcash 2018-03-20 16:05:50 +01:00
Jakub Matys
fbfb33cb5d Output index uses abstract identifier instead of outputScript 2018-03-20 16:01:36 +01:00
Martin Boehm
fab41105b2 Fix typo 2018-03-19 12:05:58 +01:00
Martin Boehm
6f1c2cebbc Change order of log messages in bitcoin rpc startup 2018-03-19 11:02:19 +01:00
Martin Boehm
bb9d8c5df7 Update bitcoinrpc documentation to reflect changes in configuration 2018-03-19 11:01:42 +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
Jakub Matys
96a60bf7fa Renamed metrics and added implicit label coin 2018-03-14 09:45:10 +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
d7229f8db0 added prometheus metrics 2018-03-13 11:44:50 +01:00
Martin Boehm
60a1e34572 Update README, add separate documentation for each supported coin 2018-03-12 18:00:27 +01:00
Martin Boehm
b55306b6eb Hide GetBlockWithoutHeader BTC optimization from BlockChain interface 2018-03-12 17:37:32 +01:00
Martin Boehm
fbc5248ef8 Handle HTTP status codes returned from blockchain rpc 2018-03-11 01:31:09 +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
69b88275bd added RPC method getmempoolentry 2018-03-08 14:15:06 +01:00
Martin Boehm
f80ae32846 Abstract bitcoinrpc in preparation for alt coins 2018-03-08 12:59:37 +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
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
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
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