Commit Graph

183 Commits

Author SHA1 Message Date
Martin Boehm
c4487ac94b Try to reconnect ethereum RPC in case of network failure 2019-06-10 16:48:31 +02:00
Martin Boehm
34e5599362 Try to reconnect ethereum RPC in case of network failure 2019-06-10 13:48:46 +02:00
Martin Boehm
c409a350c9 Try to reconnect ethereum RPC 2019-06-03 17:48:09 +02:00
Martin Boehm
7c4e8c5750 Log error on eth subscription resubscribe 2019-05-07 12:23:50 +02:00
Martin Boehm
add504b57e Make ethereum type mempool parameters configurable 2019-04-08 14:39:29 +02:00
Martin Boehm
3f973bf47d Implement new ethereum mempool sync with tx timeout 2019-04-04 23:35:38 +02:00
Martin Boehm
4435dbbfb4 Pass correct blockchain object to mempool 2019-04-03 22:08:32 +02:00
Martin Boehm
f2dc4a56d8 Store time of mempool transaction 2019-04-01 17:00:53 +02:00
Martin Boehm
c813f76336 Try to load mempool inputs from db to speed up mempool sync 2019-03-29 17:01:20 +01:00
Martin Boehm
ce3c7c5e66 Extract mempool interface from blockchain 2019-03-25 16:43:57 +01:00
Martin Boehm
499d65460f Fix coding style and formatting issues 2019-01-24 15:24:56 +01:00
Martin Boehm
210652328f Avoid showing already confirmed txs as mempool txs 2019-01-13 23:32:28 +01:00
Martin Boehm
3ca593aff1 Handle error tx not found #94 2019-01-10 16:39:36 +01:00
Martin Boehm
8c4fcf4441 Stop indexing contracts of ETH zero address 2019-01-10 12:38:16 +01:00
Martin Boehm
e12641ae7d Use txids returned from pendingTransactions subscriptionfor mempool 2018-12-19 12:03:19 +01:00
Martin Boehm
9288a12f1d Fix unit and integration tests 2018-12-19 10:35:22 +01:00
Martin Boehm
bab500d3f8 Notify on mempool erc20 transfer transaction 2018-12-19 10:06:25 +01:00
Martin Boehm
2e9f87e39d Parse ERC20 transfer from tx payload data 2018-12-18 13:14:07 +01:00
Martin Boehm
7edea80209 Add estimateFee method to websocket interface 2018-12-18 09:52:46 +01:00
Martin Boehm
35a13e0647 Handle old style ethereum transactions that do not set status 2018-12-14 12:08:06 +01:00
Martin Boehm
9c142663ce Add type api.Amount for proper formatting of amounts in json 2018-12-13 00:41:58 +01:00
Martin Boehm
70559ab9e0 Update api.GetAddress to return more ethereum specific data 2018-12-06 13:14:46 +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
Jakub Matys
ab0eb65de0 Fixed issues reported by goreportcard.com 2018-10-22 10:39:29 +02:00
Martin Boehm
8140af1a69 Show coin specific transaction data in explorer and api 2018-10-16 12:25:31 +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
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
b5d1e5c94e Integration tests are defined declaratively with single implementation 2018-09-11 16:38: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
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
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
d50198cbff Merge branch 'master' into v0.0.7 2018-09-03 08:33:20 +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
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
Jakub Matys
ef12666f70 Upgrade of documentation: build, config, contributing, readme 2018-08-09 14:21:15 +02: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
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
c6d6d4138d Added new RPC tests 2018-07-10 17:04:07 +02:00
Martin Boehm
88ad20cbac Merge branch 'master' into explorer 2018-07-02 15:26:50 +02:00
Jakub Matys
42d687112f Improvement of tests - added Bitcoin mainnet, rewritten mempool tests 2018-06-28 15:32:32 +02:00
Jakub Matys
7040853212 Skip tests that are no able to connect their backends 2018-06-27 12:35:26 +02:00
Martin Boehm
278b18a37f Rename httpserver and socketio flags to internal and public 2018-06-21 15:42:21 +02:00
Jakub Matys
f431c481ef All RPC tests rewritten to use new common methods 2018-06-18 15:19:32 +02:00
Jakub Matys
9409907f80 Tests are classified by tags 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
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
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
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
a2c7625a59 Speedup btc mempool synchronization - use nonverbose getrawtransaction 2018-05-14 18:12:01 +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
ab2ab365a9 added subversion field to result of getinfo 2018-04-27 10:53:33 +02:00
Martin Boehm
febcba5fbe Use new db column blockaddresses to support UTXO chain block disconnect 2018-04-20 13:56:55 +02: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