Commit Graph

51 Commits

Author SHA1 Message Date
Jakub Matys
ab0eb65de0 Fixed issues reported by goreportcard.com 2018-10-22 10:39:29 +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
Jakub Matys
8c7f383e9a Explicit registration of network parameters + cleanup in tests 2018-10-02 17:02: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
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
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
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
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
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
be19523065 Refactor of address handling, renamed addrID to addr descriptor addrDesc 2018-08-29 15:31:19 +02:00
Martin Boehm
882ff1bfd5 Fix integration tests after switch to big.Int amounts 2018-07-25 15:56:08 +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
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
e0a5c44314 Added RPC test for BCash mainnet 2018-06-29 12:12:47 +02:00
Jakub Matys
42d687112f Improvement of tests - added Bitcoin mainnet, rewritten mempool tests 2018-06-28 15:32:32 +02:00
Martin Boehm
f6cbe5ffeb Merge branch 'master' into explorer 2018-06-28 00:16:52 +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
Martin Boehm
94873f4d86 Return tx version, update parser tests 2018-06-26 13:03:59 +02:00
Jakub Matys
86f814e95f New RPC tests added for other coins 2018-06-21 12:09:02 +02:00
Jakub Matys
f431c481ef All RPC tests rewritten to use new common methods 2018-06-18 15:19:32 +02:00
Jakub Matys
8ec0b7c590 RPC integration test was generalized for all coins 2018-06-18 13:00:54 +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
Jakub Matys
6ee4291f11 Refactored marshalling of Bitcoin based RPCs 2018-06-09 14:37:05 +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
Jakub Matys
78d7ff3a96 Merge branch 'zcash' 2018-05-29 09:11:21 +02:00
Martin Boehm
8b20c38136 Put parameter BlockAddressesToKeep to coin configuration json 2018-05-28 14:57:44 +02:00
Jakub Matys
58876150c3 Removed unused code 2018-05-23 12:55:50 +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
Jakub Matys
def8ada730 added tests of BCashParser and bcashAddress 2018-04-27 12:00:16 +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
Jakub Matys
b88a88ad55 use abstract address for Vout 2018-04-19 00:49:56 +01:00