Commit Graph

535 Commits

Author SHA1 Message Date
Martin Boehm
13f7b48ae6 Add websocket interface 2018-12-10 17:22:37 +01:00
Martin Boehm
70559ab9e0 Update api.GetAddress to return more ethereum specific data 2018-12-06 13:14:46 +01:00
Martin Boehm
45e1e32e18 Implement Liquid blockbook 2018-12-05 22:34:44 +01:00
Martin Boehm
0110fd0cf2 Fix protobuf serialization of transactions 2018-12-05 22:29:27 +01:00
Martin Boehm
d5c80db8f0 Add experimental Liquid support 2018-12-05 20:52:34 +01:00
Martin Boehm
9eb022238d Fix ETC handling of transaction receipt 2018-12-05 12:26:41 +01:00
Martin Boehm
3e532e9130 Remove marshalling of ethereum tx to hex field 2018-12-05 01:10:00 +01:00
Martin Boehm
4a216fa647 Fix parsing of erc20 properties 2018-12-04 13:56:25 +01:00
Martin Boehm
ec1647c864 Show tx success/failure in txdetail 2018-12-04 12:20:05 +01:00
Martin Boehm
9a04c862d6 Filter address transactions by input/output or token 2018-12-04 11:54:15 +01:00
Martin Boehm
a08f568353 Show block for EthereumType coins 2018-12-03 16:34:38 +01:00
Martin Boehm
fead52881f Show ERC20 contracts for address 2018-12-03 15:48:07 +01:00
Martin Boehm
c96c357013 Add Ethereum Classic specific handling in GetTransaction 2018-11-30 11:39:28 +01:00
Martin Boehm
463eab9d2d Show ethereum specific data in tx detail in explorer 2018-11-28 14:56:45 +01:00
Martin Boehm
8ac57a3d56 Add ERC20 transfer information to ethereum transactions 2018-11-28 14:27:02 +01:00
Martin Boehm
7a990f9b5b Implement explorer for EthereumType coin - WIP 2018-11-26 00:20:01 +01:00
Martin Boehm
8886256d0b Implement index v3 for ethereum type coin 2018-11-23 22:16:32 +01:00
Martin Boehm
eb524c2226 Implement index v3 for ethereum type coin - WIP 2018-11-23 14:08:10 +01:00
Martin Boehm
fad7ea326c Load ERC20 events in eth.GetBlock 2018-11-15 18:07:45 +01:00
Martin Boehm
ab20a14d18 Modify loading of ethereum blocks 2018-11-15 16:18:29 +01:00
Martin Boehm
6072aa5e9e Handle coin specific tx data more efficiently 2018-11-15 16:18:29 +01:00
Martin Boehm
975c98b5b7 Pack eth transactions including receipt 2018-11-15 16:18:29 +01:00
Martin Boehm
ef03abcd1c Process tx receipts and ERC20 tokens WIP 2018-11-15 16:18:29 +01:00
Martin Boehm
1ac7a7abca Fix api.GetTransaction for EthereumType blockchain 2018-11-15 16:18:29 +01:00
Martin Boehm
4448c57ba8 Introduce BitcoinType and EthereumType distinction of blockchains 2018-11-15 16:16:01 +01:00
Martin Boehm
28b3a4d1b4 Implement ETH GetChainInfo 2018-11-15 16:16:01 +01:00
Martin Boehm
dc660a2d16 Add digibyte tests 2018-10-26 15:09:07 +02:00
Martin Boehm
d33188da61 Fix digibyte scripthash support 2018-10-26 15:09:07 +02:00
Martin Boehm
eea0813198 Add DigiByte support 2018-10-26 15:09:07 +02:00
Samad Sajanlal
4cd6b3b49c add GameCredits (GAME) to Blockbook (#79)
* add GameCredits (GAME) to Blockbook

* add GameCredits (GAME) integration tests
2018-10-24 11:33:26 +02:00
Jakub Matys
ab0eb65de0 Fixed issues reported by goreportcard.com 2018-10-22 10:39:29 +02:00
Yura Pakhuchiy
11520bd18f Groestlcoin (GRS) support (#33) 2018-10-18 18:08:19 +02:00
Martin Boehm
8140af1a69 Show coin specific transaction data in explorer and api 2018-10-16 12:25:31 +02:00
Martin Boehm
f579b97502 Convert P2PK script to P2PKH so that it is indexed together #73 2018-10-12 11:53:03 +02:00
Martin Boehm
a16ef2904e Use coin label in the explorer header 2018-10-10 00:23:31 +02:00
Martin Boehm
b888270f90 Add comment explaining registered parameters in litecoin parser 2018-10-09 12:13:38 +02:00
Martin Boehm
eb5781f218 Use AddressDescriptor as key in socket.io subscribtions to addresstxid 2018-10-06 19:27:54 +02:00
Martin Boehm
8e057e9e7b Fix incorrect logging formatting directives 2018-10-04 09:19:41 +02:00
wakiyamap
2906b63c99 Upgraded Gopkg.lock 2018-10-04 08:30:33 +09:00
wakiyamap
3e20db5c06 Remove monautil and monad 2018-10-03 19:13:18 -04:00
Martin Boehm
95de0425d1 Add Myriad GetAddressesFromAddrDesc unit test 2018-10-03 21:09:14 +02:00
Jakub Matys
964ab87abc Supported types of scripts are tested explicitly 2018-10-03 13:18:13 +02:00
Jakub Matys
3f843889ee Disables EstimateFee for Bitcoin and Myriad 2018-10-03 12:29:44 +02:00
Jakub Matys
aea9d584f4 United Monacoin params registration with implementation in other coins 2018-10-03 11:51:19 +02:00
Jakub Matys
09f86006ce Merge branch 'master' into params-registration 2018-10-03 10:30:19 +02:00
wlc-
ecf6ca3081 Add Myriad (#68)
* Myriad

* [Myriad] Use Internal Explorer

* [Myriad] Add size and time to ParseBlock
2018-10-02 17:09:56 +02:00
Jakub Matys
8c7f383e9a Explicit registration of network parameters + cleanup in tests 2018-10-02 17:02:57 +02:00
Martin Boehm
8c41cf2356 Switch namecoin to EstimateSmartFee rpc call 2018-10-02 12:36:43 +02:00
Jakub Matys
e40ffec1ec Merge branch 'v0.0.7' 2018-10-01 15:00:43 +02:00
Jakub Matys
7b5ae679f2 Merge branch 'v0.0.7' of github.com:trezor/blockbook into v0.0.7 2018-10-01 14:48:19 +02:00
Jakub Matys
bf266c0db8 Merge branch 'integration-tests-upgrade-2' into v0.0.7 2018-10-01 14:34:34 +02:00
Martin Boehm
e37ec52d5b Fix monacoin parser 2018-10-01 14:02:13 +02:00
wakiyamap
43e61253ee change to btc.TryParseOPReturn 2018-10-01 13:56:44 +02:00
wakiyamap
207a6b36e8 fix monacoinparser 2018-10-01 13:56:44 +02:00
Martin Boehm
6c4204e93f Merge branch 'v0.0.7'
A big update of Blockbook, with main features:
- new index format, incompatible with release 0.0.6
- computing of address balances
- internal blockchain explorer
2018-10-01 13:32:57 +02:00
Jakub Matys
f9e5092f82 Merge branch 'v0.0.7' into integration-tests-upgrade 2018-10-01 12:47:42 +02:00
Martin Boehm
64fbaa7bfc Change initialization of coin params to avoid cross influence 2018-09-28 22:54:08 +02:00
Jakub Matys
5754523317 WIP: sync integration tests 2018-09-20 09:39:13 +02:00
Martin Boehm
6c08d7c51c Extend parsing of block in coins 2018-09-18 13:35:53 +02:00
Martin Boehm
7290f8bbcd Make GetBlockInfo and GetChainInfo more coin independent 2018-09-18 10:58:47 +02:00
Martin Boehm
d87d52b2fd Add view of block to explorer 2018-09-17 18:28:08 +02:00
Martin Boehm
635733574c Add bchain method GetChainInfo with extended information about backend 2018-09-14 14:48:43 +02:00
Martin Boehm
674cae12e6 Fix BestHeader handling for Ethereum Classic 2018-09-12 12:17:26 +02:00
Jakub Matys
f6fffefec9 Tests fixed 2018-09-12 10:29:16 +02:00
Jakub Matys
b5d1e5c94e Integration tests are defined declaratively with single implementation 2018-09-11 16:38:39 +02:00
Martin Boehm
2c62d4d248 Fix OP_RETURN parser unit tests 2018-09-11 16:22:28 +02:00
Martin Boehm
6d15e429c7 Improve OP_RETURN decoding 2018-09-11 16:07:39 +02:00
Martin Boehm
503ff4389a Merge branch 'master' into v0.0.7 2018-09-11 13:44:36 +02:00
Martin Boehm
8bdf4b0ae3 Prepare notification of block height in OnNewBlock 2018-09-11 13:37:12 +02:00
Martin Boehm
6dcf3fd45d Send the side of address (input/output) for a new tx notification 2018-09-11 13:19:56 +02:00
Martin Boehm
f829d21eeb Handle Ethereum Classic transactions 2018-09-10 23:23:41 +02:00
Jakub Matys
a7bff4d7eb Merge branch 'zcash' into v0.0.7 2018-09-06 13:53:50 +02:00
Jakub Matys
a130318601 Use forked version of btcutil 2018-09-06 13:52:45 +02:00
Martin Boehm
a6690a0f19 Remove unnecessary debug log in ethereum SendRawTransaction 2018-09-05 19:41:52 +02:00
Martin Boehm
2fd84dd97b Fix handling of result in ethereum SendRawTransaction 2018-09-05 18:57:12 +02:00
Martin Boehm
ccfc350205 Notify on new input address in nonutxo mempool 2018-09-05 17:58:20 +02:00
Martin Boehm
239274ec9b Experimental implementation of Ethereum send transaction 2018-09-05 17:55:56 +02:00
Martin Boehm
b1317789de Handle unsupported newHeads subscription in Ethereum Classic 2018-09-05 16:27:34 +02:00
Martin Boehm
b8dede857c Add experimental Ethereum Classic blockbook implementation 2018-09-05 15:50:27 +02:00
Martin Boehm
984f24a76d Handle pay-to-pubkey addresses in Bcash 2018-09-03 15:45:08 +02:00
Martin Boehm
1b69a62ab8 Process OP_RETURN script in Bcash 2018-09-03 14:10:28 +02:00
Martin Boehm
d50198cbff Merge branch 'master' into v0.0.7 2018-09-03 08:33:20 +02:00
Martin Boehm
fdf1fe612f Stringer interface for AddressDescriptor 2018-09-02 21:31:33 +02:00
Martin Boehm
6f25785109 Bcash address cashaddr/legacy handling 2018-08-31 14:03:06 +02:00
Martin Boehm
676aabfaa6 Make AddressDescriptor as type,expose DB/mempool methods working with it 2018-08-30 22:43:37 +02:00
Martin Boehm
1a931d8a65 Implement view of OP_RETURN scripts 2018-08-30 15:25:03 +02:00
Martin Boehm
2f0e4e2a0f Fix test tags 2018-08-30 13:06:11 +02:00
Martin Boehm
d58c620d85 Stabilize dogecoin rpc test 2018-08-29 21:37:06 +02:00
Martin Boehm
d3608fb34c Add dogecoin and litecoin rpc test 2018-08-29 21:29:09 +02:00
Martin Boehm
06ab4fb9f8 Fix rpc tests 2018-08-29 21:16:23 +02:00
Martin Boehm
bd88ab4094 Add monacoin to rpc test config.json 2018-08-29 19:58:38 +02:00
Martin Boehm
b9c0ca37b1 Fix monacoin tests 2018-08-29 19:48:44 +02:00
Jakub Matys
21650aa914 Merge branch 'docs' 2018-08-29 17:41:07 +02:00
Martin Boehm
be19523065 Refactor of address handling, renamed addrID to addr descriptor addrDesc 2018-08-29 15:31:19 +02:00
Martin Boehm
c9471bf867 Store extended info about block in heigth column 2018-08-21 16:36:14 +02:00
Martin Boehm
ab53107f47 Adapt monacoin to bigint amounts 2018-08-19 23:56:41 +02:00
Martin Boehm
6bfc7240a9 Merge branch 'indexv3' into explorer 2018-08-19 23:20:43 +02:00
Jakub Matys
ef12666f70 Upgrade of documentation: build, config, contributing, readme 2018-08-09 14:21:15 +02:00
wakiyamap
156a42b698 add monacoin 2018-08-04 03:50:59 +09:00
Martin Boehm
95f831eefa Merge branch 'master' 2018-07-31 16:06:51 +02:00
Jakub Matys
72bf3591bf Merge branch 'pkg-generate' 2018-07-31 10:51:35 +02:00
Jakub Matys
f3d727f16e Changes from master 2018-07-31 10:46:15 +02:00
Jakub Matys
7f52de3b65 Upgraded BlockChain configuration 2018-07-26 16:50:06 +02:00
Martin Boehm
882ff1bfd5 Fix integration tests after switch to big.Int amounts 2018-07-25 15:56:08 +02:00
Martin Boehm
f80a9142d9 Handle negative big.Int amounts, add tests of amounts parser 2018-07-25 11:47:07 +02:00
Martin Boehm
1ae62cc974 Fix coin parser tests after switch to big.Int amounts 2018-07-24 21:21:05 +02:00
Martin Boehm
b464f282a9 Use big.Int for all amounts 2018-07-24 15:58:37 +02:00
Martin Boehm
64b34c1dd8 Merge branch 'explorer'
Explorer is not yet finished but brings changes in coin json configs
and blockbook flags which should be propagated.
2018-07-23 13:42:52 +02:00
Jakub Matys
d15ed57f61 Removed TestSendRawTransaction because of instability 2018-07-20 12:50:30 +02:00
Jakub Matys
8dbb5817c3 GetBestBlockHash is checked by height because some coins (namecoin)
doesn't return block height at all
2018-07-20 12:48:55 +02:00
Jakub Matys
78cfb027f4 Fixed new tests 2018-07-16 14:07:52 +02:00
Jakub Matys
61eefee154 Fixed Bitcoin RPC tests 2018-07-10 17:04:31 +02:00
Jakub Matys
c6d6d4138d Added new RPC tests 2018-07-10 17:04:07 +02:00
Jakub Matys
414d51ef79 Fixed bcash RPC test 2018-07-09 14:02:24 +02:00
Martin Boehm
bdcc004ca2 Fix vertcoin parser test 2018-07-02 15:28:31 +02:00
Martin Boehm
88ad20cbac Merge branch 'master' into explorer 2018-07-02 15:26:50 +02:00
Jakub Matys
79c0882d8b Reset unchecked tx fields 2018-06-29 15:01:55 +02:00
Jakub Matys
e0a5c44314 Added RPC test for BCash mainnet 2018-06-29 12:12:47 +02:00
Jakub Matys
257a9f0f4d Added RPC tests for ZCash mainnet 2018-06-29 11:40:47 +02:00
Jakub Matys
7d90fce3dd Added RPC test for Dash mainnet 2018-06-29 11:40:40 +02:00
Jakub Matys
42d687112f Improvement of tests - added Bitcoin mainnet, rewritten mempool tests 2018-06-28 15:32:32 +02:00
Martin Boehm
22b7289fa6 Add coin shortcut description 2018-06-28 00:36:56 +02:00
Martin Boehm
f6cbe5ffeb Merge branch 'master' into explorer 2018-06-28 00:16:52 +02:00
Jakub Matys
d744b23c39 Upgrade of TestGetTransactionForMempool - mempool isn't necessary 2018-06-27 21:35:29 +02:00
Jakub Matys
a7c128d806 Fixed names of tests 2018-06-27 12:38:03 +02:00
Jakub Matys
7040853212 Skip tests that are no able to connect their backends 2018-06-27 12:35:26 +02:00
Jakub Matys
8d0a31927a Added RPC tests for Namecoin 2018-06-27 10:08:46 +02:00
Martin Boehm
94873f4d86 Return tx version, update parser tests 2018-06-26 13:03:59 +02:00
Martin Boehm
604b41f10a Add explorer api worker 2018-06-26 13:02:53 +02:00
Jakub Matys
5aa354b2ca Added RPC tests for Vertcoin 2018-06-25 15:47:55 +02:00
Martin Boehm
dff4197aef Vertcoin parser test 2018-06-25 14:15:11 +02:00
Petr Kracík
cb7c54ff21 Vertcoin (#13)
* Initial vertcoin backend commit

* Readme vertcoin ports

* Fix bin

* Vertcoin blockbook initial commit

* Vertcoin fix services port, faked magic due duplicity
2018-06-22 13:11:07 +02:00
Martin Boehm
278b18a37f Rename httpserver and socketio flags to internal and public 2018-06-21 15:42:21 +02:00
Jakub Matys
9ddb85f3ee Merge branch 'rpc-tests' 2018-06-21 14:06:12 +02:00
Jakub Matys
ffe3650a0f Unmarshal empty addresses as empty slice not as nil 2018-06-21 13:53:27 +02:00
Jakub Matys
5e6712535b Revert "Fixed different behaviour between transaction parsing from wire or JSON"
This reverts commit ae8058f269.
2018-06-21 13:48:29 +02:00
Jakub Matys
7e479841a9 Fixed TestGetMempoolEntry 2018-06-21 13:35:19 +02:00
Martin Boehm
bb46d0c715 Update namecoin and dogecoin parser test tags 2018-06-21 12:50:31 +02:00
Jakub Matys
86f814e95f New RPC tests added for other coins 2018-06-21 12:09:02 +02:00
Jakub Matys
12cca393c6 Added tests for SendRawTransaction, EstimateSmartFee and EstimateFee 2018-06-21 11:18:02 +02:00
Martin Boehm
76d99ccee1 Remove bech32 prefix from namecoin 2018-06-20 23:57:06 +02:00
Jakub Matys
ae8058f269 Fixed different behaviour between transaction parsing from wire or JSON
JSON version sometimes returned nil Address field in ScriptPubKey (if
it was omitted in input JSON) but wire version always returned allocated
empty slice.
2018-06-20 19:45:41 +02:00
Jakub Matys
757b3e39d6 Added mempool RPC/resync tests 2018-06-20 19:09:47 +02:00
Jakub Matys
cc29a99401 Added second transaction to Ethereum RPC test 2018-06-20 19:08:30 +02:00
Martin Boehm
e909ae454b Add namecoin blockbook implementation 2018-06-20 17:58:49 +02:00
Martin Boehm
e3f7a0ae5e Add parser utils to reuse commonly used function 2018-06-19 14:39:53 +02:00
Jakub Matys
7b19bf7312 Merge branch 'rpc-tests' 2018-06-18 15:21:27 +02:00
Jakub Matys
f431c481ef All RPC tests rewritten to use new common methods 2018-06-18 15:19:32 +02:00
Martin Boehm
ed7ddf7bb8 Map calls to EstimateFee/EstimateSmartFee for dash and litecoin 2018-06-18 13:39:05 +02:00
Jakub Matys
8ec0b7c590 RPC integration test was generalized for all coins 2018-06-18 13:00:54 +02:00
Martin Boehm
631710fdd2 Map call to not implemented in dogecoin EstimateSmartFee as EstimateFee 2018-06-18 12:43:22 +02:00
Martin Boehm
69e8203b38 Handle dogecoin Auxpow blocks 2018-06-16 00:49:34 +02:00
Martin Boehm
6945d1d7f3 Add dogecoin blockbook implementation 2018-06-14 23:12:19 +02:00
Jakub Matys
9409907f80 Tests are classified by tags 2018-06-14 17:27:03 +02:00
Jakub Matys
9225ada004 RPC tests connect localhost by default 2018-06-14 17:27:03 +02:00
Jakub Matys
7cff3ff9c8 Added integration tests of RPCs 2018-06-14 17:27:03 +02:00
Martin Boehm
dfee2b0f78 Update default connection for ethereum rpc integration test 2018-06-13 13:07:45 +02:00
Martin Boehm
e7e73947bd Handle invalid json returned from backend 2018-06-13 11:58:25 +02:00
Jakub Matys
5da3972d73 Fix - some parameters aren't structs but slices 2018-06-13 10:15:27 +02:00
Martin Boehm
7d8c493f21 Add litecoin parser tests 2018-06-12 12:35:52 +02:00
Martin Boehm
914a8140a9 Add litecoin blockbook implementation 2018-06-11 18:02:25 +02:00
Jakub Matys
029822fc43 Removed duplicate method 2018-06-09 14:54:10 +02:00
Jakub Matys
6ee4291f11 Refactored marshalling of Bitcoin based RPCs 2018-06-09 14:37:05 +02:00
Jakub Matys
19e394b05a Added support for DASH 2018-06-08 15:46:04 +02:00
Jakub Matys
09b1dd1dd2 typo 2018-06-08 15:11:35 +02:00
Martin Boehm
31dc1d9c00 Merge branch 'master' into internal-state 2018-06-08 11:50:35 +02:00
Jakub Matys
5d84b0affa Merge branch 'btg' 2018-06-08 09:53:50 +02:00
Martin Boehm
d18012e913 Rename bcash backend packages to match coin naming convention 2018-06-07 23:13:17 +02:00
Jakub Matys
df964abf9d Removed unnecessary stuff 2018-06-07 14:09:24 +02:00
Jakub Matys
b906462331 Added test of ParseBlock method 2018-06-07 14:06:44 +02:00
Martin Boehm
ac0dbdca42 Update bcash rpc service registration 2018-06-07 13:15:09 +02:00
Jakub Matys
70cddf63bf Rename of constant + comment 2018-06-06 14:50:30 +02:00
Jakub Matys
60733b3c9b Renamed bgold package and paths 2018-06-06 14:06:46 +02:00
Jakub Matys
400194a9aa Fixed block and address parsing 2018-06-06 13:02:41 +02:00
Jakub Matys
2d0c56c442 Added Bitcoin Gold support 2018-06-06 13:02:41 +02:00
Martin Boehm
eb716d69ed Take coin name from rpc config json 2018-06-05 16:21:54 +02:00
Martin Boehm
eba668bfd1 Report mempool size in metrics 2018-06-01 13:37:38 +02:00
Martin Boehm
17ed8f7d5d Store mempool size in internal state 2018-06-01 13:22:56 +02:00
Martin Boehm
a899f9e97a Use context to limit shutdown time of bchain/mq 2018-05-30 14:44:59 +02:00
Jakub Matys
1385313908 Merge branch 'bcash-cashaddr' 2018-05-30 13:11:15 +02:00
Jakub Matys
092aeef2ed CashAddr decoding optimization - doesn't support multisig 2018-05-29 19:08:17 +02:00
Jakub Matys
79ba6abadd Upgraded BCash address decoding/encoding 2018-05-29 15:03:25 +02:00
Jakub Matys
ea3cfd2d6a Address format is set in configuration instead of RPC options 2018-05-29 14:15:27 +02:00
Martin Boehm
c74c4dd8ff Modify ZeroMQ shutdown in attempt to avoid getting stuck occasionally 2018-05-29 12:15:20 +02:00
Jakub Matys
78d7ff3a96 Merge branch 'zcash' 2018-05-29 09:11:21 +02:00
Martin Boehm
f11c4f7791 Fix get mempoool imput addresses concurrently 2018-05-28 17:48:39 +02:00
Martin Boehm
919a26dfd6 Get mempoool imput addresses concurrently 2018-05-28 16:50:54 +02:00
Martin Boehm
e5d79b09bc Put parameters for mempool sync to coin configuration json 2018-05-28 16:04:05 +02:00
Martin Boehm
8b20c38136 Put parameter BlockAddressesToKeep to coin configuration json 2018-05-28 14:57:44 +02:00
Martin Boehm
81870aeb1a Change ZeroMQ shutdown synchronization 2018-05-28 10:46:44 +02:00
Jakub Matys
9f3b1510b0 Fixed empty Address field when transaction was unpacked from JSON 2018-05-23 16:13:06 +02:00
Jakub Matys
110bd6f6a6 Added testnet for ZCash 2018-05-23 12:55:50 +02:00
Jakub Matys
58876150c3 Removed unused code 2018-05-23 12:55:50 +02:00
Jakub Matys
6c6f929743 Fixed import of blocks with invalid transactions (genesis block) 2018-05-23 12:55:50 +02:00
Martin Boehm
d2f60044fc Add extended logging to utxo mempool 2018-05-23 12:30:19 +02:00
Jakub Matys
9e414dd842 Changed ports of blockbook and backend nodes 2018-05-23 11:00:13 +02:00
Martin Boehm
1b3fc581ac Fix ethrpc_test after address unpacking modification 2018-05-21 13:53:15 +02:00
Jakub Matys
3634041e90 Merge branch 'fix-address-unpacking' 2018-05-19 15:16:04 +02:00
Jakub Matys
d79aaefb8f bcashAddress stores btcutil's Address because of address conversions 2018-05-19 15:14:15 +02:00
Jakub Matys
3ecb380ef4 Fixed empty Address field when transaction was unpacked from JSON 2018-05-18 15:04:40 +02:00
Martin Boehm
f5a8bed629 Use coin specific interface when creating mempool 2018-05-17 12:30: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
9aaa242d09 Update logging in utxo mempool 2018-05-17 10:46:18 +02:00
Martin Boehm
7118581b3b Add logging to utxo mempool 2018-05-16 14:30:12 +02:00
Martin Boehm
83907e08b8 Speedup btc mempool synchronization - get transactions in parallel 2018-05-15 23:41:09 +02:00
Martin Boehm
a2c7625a59 Speedup btc mempool synchronization - use nonverbose getrawtransaction 2018-05-14 18:12:01 +02:00
Martin Boehm
7281fb27b1 Implement UTXO mempool indexv2 2018-05-01 23:43:36 +02:00
Martin Boehm
3f4af20951 Recover from ocasional panic caused by zmq during shutdown 2018-05-01 22:56:50 +02:00
Martin Boehm
7de8726979 Cleanup mempool usage, remove obsolete GetMempoolSpentOutput 2018-05-01 22:48:58 +02:00
Martin Boehm
2c7c850e50 Merge branch 'master' into indexv2 2018-04-30 15:16:05 +02:00
Jakub Matys
def8ada730 added tests of BCashParser and bcashAddress 2018-04-27 12:00:16 +02:00
Jakub Matys
5eb9f613a5 fixed tests 2018-04-27 11:09:44 +02:00
Jakub Matys
ab2ab365a9 added subversion field to result of getinfo 2018-04-27 10:53:33 +02:00
Martin Boehm
9017d1bffd Merge branch 'master' into indexv2 2018-04-26 14:36:54 +02:00
Jakub Matys
a929f27d5c implemented estimatesmartfee method 2018-04-25 13:38:03 +02:00
Jakub Matys
9c93674918 added support of bcash addresses to RPCs 2018-04-24 11:20:09 +02:00
Martin Boehm
f78b050234 Fix indexing of coinbase transactions 2018-04-20 23:53:17 +02:00
Martin Boehm
febcba5fbe Use new db column blockaddresses to support UTXO chain block disconnect 2018-04-20 13:56:55 +02:00
Jakub Matys
b88a88ad55 use abstract address for Vout 2018-04-19 00:49:56 +01:00
Jakub Matys
a8e603d945 added Bitcoin Cash's rpc and parser 2018-04-18 14:15:19 +01:00
Martin Boehm
f5e69506c0 Skip ethrpc integration tests in short tests 2018-04-13 16:24:53 +02:00
Martin Boehm
189c2cb24c Update eth.md 2018-04-10 12:12:41 +02:00
Martin Boehm
10c05dc176 Update eth mainnet configuration 2018-04-09 16:32:05 +02:00
Martin Boehm
cc2c7d5112 Update README 2018-04-09 12:06:04 +02:00
Martin Boehm
feaf55e767 Store transactions using protobuf in default baseparser implemention 2018-04-09 10:42:58 +02:00
Martin Boehm
d0089d2bcb Add BaseParser as base functionality of parsers to avoid code duplicity 2018-04-08 15:50:19 +02:00
Martin Boehm
9727a3dc8c Handle ethereum txid and block hash with the standard 0x prefix 2018-04-08 12:09:18 +02:00
Martin Boehm
a75376706e Move packing/unpacking of Txid and Block Hash to coin specific code 2018-04-08 11:24:29 +02:00
Martin Boehm
8a8952d103 Return ethereum address including the standard 0x prefix 2018-04-07 23:44:38 +02:00
Martin Boehm
f8eca976ab Fix computation of confirmations 2018-04-06 17:13:38 +02:00
Martin Boehm
5912e941e3 Update README 2018-04-06 12:01:28 +02:00
Martin Boehm
40619d126f Reconnect subsciptions after recovery from network/geth failure 2018-04-06 11:03:55 +02:00
Martin Boehm
9aec4ec717 Implement EthereumParser.UnpackTx using protobuf 2018-04-05 12:41:15 +02:00
Martin Boehm
5b2aa276ee Implement EthereumParser.PackTx using protobuf 2018-04-04 20:25:55 +02:00
Martin Boehm
9fdc9ec4ac Unify eth function and type names 2018-04-03 22:24:23 +02:00
Martin Boehm
bbd51e3624 Handle notifications of new mempool transactions in eth 2018-04-03 18:22:36 +02:00
Martin Boehm
d1a047c667 Add non UTXO mempool implementation 2018-04-03 15:51:38 +02:00
Martin Boehm
4e43f0d482 Implement BlockChain.GetMempool in ethrpc 2018-03-29 17:30:12 +02:00
Martin Boehm
090bb8e4f1 Stop passing of missing address in eth tx to bchain.Tx 2018-03-29 15:47:41 +02:00
Martin Boehm
39a31d4544 Handle transactions with missing ethereum To address 2018-03-28 13:23:43 +02:00
Martin Boehm
2f4b48b3d6 Subscribe and handle eth notifications about new block 2018-03-28 10:25:08 +02:00
Martin Boehm
19d071a184 Remove bitcoin specific code from MQ push handler 2018-03-27 23:39:06 +02:00
Martin Boehm
3127e5b5c2 Handle error returned from BlockChain.Initialize 2018-03-27 23:18:25 +02:00
Martin Boehm
83bce22e28 Merge branch 'master' into ethereum 2018-03-27 17:36:50 +02:00
Martin Boehm
26de7eb384 Rename mempool to mempool_utxo 2018-03-27 17:36:16 +02:00
Martin Boehm
2fe6118aca Implement EstimateFee for eth 2018-03-27 16:34:58 +02:00
Martin Boehm
73486e851f Merge branch 'master' into ethereum 2018-03-27 15:40:06 +02:00
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