Commit Graph

340 Commits

Author SHA1 Message Date
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