Commit Graph

144 Commits

Author SHA1 Message Date
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
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
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
2fe6118aca Implement EstimateFee for eth 2018-03-27 16:34:58 +02:00
Martin Boehm
6a7bc6aff7 Stop processing Value in eth transactions, it exceeds used numeric type 2018-03-26 23:42:35 +02:00
Martin Boehm
a4b9a21445 Annotate error in eth rpc 2018-03-26 18:14:26 +02:00
Martin Boehm
3169446adb Implement eth parser GetAddrIDFromAddress 2018-03-26 18:08:46 +02:00
Martin Boehm
09a9e623c1 Return ErrBlockNotFound from eth GetBlock methods 2018-03-26 17:47:46 +02:00
Martin Boehm
3dcbaeb34e Get eth block by height 2018-03-26 13:57:40 +02:00
Martin Boehm
a5c4dd0d70 Implement and test eth GetBlock and GetTransaction 2018-03-25 00:30:09 +01:00
Martin Boehm
e8eca5c6ea Update EthParser to match BlockChainParser interface 2018-03-23 13:25:42 +01:00
Martin Boehm
40198ae437 Implement eth GetBlock and GetTransaction 2018-03-22 15:56:21 +01:00
Martin Boehm
6a346f8f49 Implement interface changes in ethereum 2018-03-21 15:47:31 +01:00
Martin Boehm
6d3ba2e690 Update ethrpc/ethparser to match modified BlockChain interface 2018-03-21 00:32:29 +01:00
Martin Boehm
4486795c3d Extend the eth rpc interface, create tests for interface 2018-03-20 14:43:15 +01:00
Martin Boehm
95af897e8e Update eth setup description 2018-03-20 14:07:46 +01:00
Martin Boehm
6995a70489 Implement part of bchain.BlockChain interface for ethereum 2018-03-19 17:36:18 +01:00
Martin Boehm
fc77df3004 Detect ethereum network type 2018-03-19 17:34:51 +01:00
Martin Boehm
971b6397d6 Put rpc config to external file 2018-03-19 12:05:16 +01:00
Martin Boehm
4b121dd60f Call first eth rpc method 2018-03-15 11:38:31 +01:00
Martin Boehm
a61ea71d08 Add preliminary ethereum setup documentation 2018-03-15 11:37:23 +01:00
Martin Boehm
a803d89690 Add ethereum support - initial commit 2018-03-15 08:20:19 +01:00