Commit Graph

214 Commits

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