Commit Graph

653 Commits

Author SHA1 Message Date
Just Wonder
2a90a04efb RPC: Add new "getzmqnotifications" method.
Cherry-picked from Bitcoin Core.
2020-01-30 15:00:15 -08:00
Jianping Wu
fc452eb046 Fixed typo in keva test case. 2019-09-27 21:27:39 -07:00
Jianping Wu
397dbab1bd Disabled a mining basic test due to the lack of proposal mode in Kevacoin. 2019-09-02 18:28:25 -07:00
Jianping Wu
d8329bd28b Fixed keva functional test case. 2019-04-01 21:38:47 -07:00
Jianping Wu
8f2123572d Sped up the performance of feature_keva test. 2019-04-01 17:12:18 -07:00
Jianping Wu
1112bc2f02 Fixed too-long-mempool-chain handling of kevacoin. 2019-03-29 20:10:38 -07:00
Jianping Wu
baa887ba65 Changed more litecoin to kevacoin. 2019-03-29 11:33:35 -07:00
Jianping Wu
f756b1219c Increased RPC timeout due to CN hashrate. 2019-03-29 10:52:44 -07:00
Jianping Wu
f5547ae451 Fixed incorrect height in p2p_sendheaders.py.
Extended sync_blocks timeout to 600 seconds.
2019-03-29 01:04:01 -07:00
Jianping Wu
cb9d3dbec7 Minor fixes of functional test cases. 2019-03-28 00:17:37 -07:00
Jianping Wu
991678d552 Fixed functional test cnHeader merkle root. 2019-03-27 18:47:38 -07:00
Jianping Wu
3007571789 Added back the original getblocktemplate call. 2019-03-27 12:44:05 -07:00
Jianping Wu
f7b0fb0008 Increased block download timeout for RegTest as CN hashing is slower and take more time.
Fixed deserialization of cn header in python test framework.
2019-03-27 00:38:30 -07:00
Jianping Wu
dea50be56b Added support for cryptonote header in functional test python code. 2019-03-26 23:13:36 -07:00
Jianping Wu
1e187fea9d Added block disconnecting test cases for keva. 2019-02-13 22:42:47 -08:00
Jianping Wu
37dfb034a6 1. Fixed pending information containing other people's information.
2. Fixed keva undo.
2019-02-13 20:46:30 -08:00
Jianping Wu
8c5def9909 Used SegWit address for keva_delete. 2019-02-12 20:26:25 -08:00
Jianping Wu
c763ddc985 Added feature_keva.py functional test case. 2019-02-12 18:45:29 -08:00
Jianping Wu
b3234322f7 Fixed all util test cases. 2019-02-09 19:23:04 -08:00
Jianping Wu
99d84c00a3 Fixed some util tests. 2019-02-09 18:10:20 -08:00
Jianping Wu
1c9ce882e6 Increased RPC timeout for functional tests. 2019-02-09 14:52:22 -08:00
Jianping Wu
e86e3a33a8 Increased MAX_PROTOCOL_MESSAGE_LENGTH to 6MB.
Increase nPowTargetTimespan to 20 from 10, for RegTest.
2019-02-08 19:03:33 -08:00
Jianping Wu
3cf8093553 Increased nPowTargetTimespan to 10 seconds for RegTest.
Checked fPowNoRetargeting in pow.cpp.
2019-02-08 17:14:09 -08:00
Jianping Wu
0553624587 Added pycryptonight for messages.py.
Fixed p2p_segwit.py, skipped test_witness_block_size for now.
2019-02-08 12:39:03 -08:00
Jianping Wu
4c92689288 Mining test cases passed. 2019-02-07 18:07:51 -08:00
Jianping Wu
0c6a908f7c Fixed all rpc test cases. 2019-02-07 17:42:33 -08:00
Jianping Wu
a51579a028 Fixed rpc_blockchain test case. 2019-02-07 15:21:01 -08:00
Jianping Wu
c2e4edb7ec Fixed wallet_account test.
Only supported legacy address in regtest.

Fixed wallet_backup test.

Fixed wallet_basic.

Fixed wallet_multiwallet and txn_clone.

Fixed txn_doublespend test case.
2019-02-07 15:09:19 -08:00
Jianping Wu
26c8eb9571 Fixed segwit feature test. 2019-02-07 13:38:44 -08:00
Jianping Wu
523b009606 Fixed mempool functional tests (49.xx to 499.xx) to avoid the high fee errors. 2019-02-07 12:42:08 -08:00
Jianping Wu
392b7aba5f More changes from litecoin to kevacoin. 2019-01-28 17:21:28 -08:00
Adrian Gallagher
c84d27f39e Bitcoin Core 0.16.3 final
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEnerg3HBjJJ+wVHRoHkrtYphs0l0FAlugRdQACgkQHkrtYphs
 0l0AuAf/TIQkEZte6q0/E3Sp+2ejoSuNCS+jsDpN7eSYEazHL4e9GIe2TmpnNG9u
 5Lb5BT0Tv5zDc5ivf3Quuq0dQqRmQAyl0EiM7kSjYF3MOBFAXt4Yi4W1VRrfT9Fb
 Nabx8F8NzjnlgxuF0kLXUMfxKCN92d2fl2m4APXgyKA+OFoC2XQ/GBnqUdwMlCic
 XeDZf/xc2vZOHP0HNIn2asqdnsJBBPscjsGMcdsrEq62FZ9lmnm8FVycKbkhqaP0
 lFxVp4JbJKWKRAIks56HPjPo3TU5VEnvHyOqmwCU3rxoDGDbHWRzByApqmcyM68F
 IA5HwltL4+hM9pNouIt/U6UantsFKA==
 =nB5i
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEWcrw6W8j9TdHlF/U/jNIh3gJOGwFAluhonwACgkQ/jNIh3gJ
 OGy+9Af9FT5MeQ4ucRBtXh/VjaNU78EZUywMzvJSzAyvYgqwO0WpvUXBN+9GyMM/
 k+yBvbj9PkJGSHavuGyx+2otsh3eXrd9TN2UyZiVdu8h1HBMFcsd1TxtrX+M5R7R
 HCeFA3yPF91WAw2O4fhhHUsHE2fsLR+HXyMcJa86vpJsjQdd388VGKUm7tRVwKGa
 TBFBKd5cvpLrzHFU6L7lSj7WNAIO80Bfn032P0mHB90+juP6Qpeknb7+l+TQBU9d
 mcCzpKR2oUvUtpWCTfTtC/F+NnJMA0O18wkn+UWoPXLnqCD48Dj/wYo1V6efHkRo
 HiTXg772nySxI4z7vl5zdwum75BmEg==
 =A6lU
 -----END PGP SIGNATURE-----

Merge tag 'v0.16.3' into HEAD

Bitcoin Core 0.16.3 final
2018-09-18 18:12:02 -07:00
Suhas Daftuar
9bd08fd465 [qa] backport: Test for duplicate inputs within a transaction 2018-09-17 17:58:49 -04:00
Adrian Gallagher
defc472744
Merge remote-tracking branch 'bitcoin/0.16' into HEAD 2018-08-26 15:57:58 -07:00
Wladimir J. van der Laan
b64f02fcfa
Merge #13796: [0.16] Make signrawtransaction give an error when amount is needed but missing
212ef1f954 [tests] Check signrawtransaction* errors on missing prevtx info (Anthony Towns)
1825e37075 Error on missing amount in signrawtransaction* (Anthony Towns)

Pull request description:

  Backport of #13547 to 0.16

Tree-SHA512: 7a660023b6948632a1f949443c18fa45add75ec8c36df1ebbaccd181dd1560c1bef460f061f8dab36b6a5df295eb4967effaa2cf55ea06b41d8f7562842a39ec
2018-08-08 12:29:30 +02:00
Anthony Towns
212ef1f954 [tests] Check signrawtransaction* errors on missing prevtx info
Github-Pull: #13547
Rebased-From: 685d1d8115f61b15115d80523dd8273f0a816534
2018-07-29 20:26:45 +00:00
Adrian Gallagher
ccf37a45fe
Litecoin: Fix wallet_abandonconflict test 2018-07-23 18:12:30 -07:00
Adrian Gallagher
ad3c330972
Merge remote-tracking branch 'bitcoin/0.16' into HEAD 2018-07-23 16:53:43 -07:00
Ben Woosley
20461fc272
Fix that CWallet::AbandonTransaction would only traverse one level
Prior to this change, it would mark only the first layer of
child transactions abandoned, due to always following the input hashTx
rather than the current now tx.

Github-Pull: #13652
Rebased-From: 89e70f9d7fe384ef9de4fa3828d4c80523290186
Tree-SHA512: 403da0cc400a807e5a30038bd505881a68208c3f9e96ad5a7755e763666982bc3c19564ac13a5757612c8b6efc331fb2ad0edbaf7e830993b84bc64624423e54
2018-07-16 15:37:42 +02:00
Suhas Daftuar
b72c0bd4c9 [qa] Add a test for merkle proof malleation
Github-Pull: #13452
Rebased-From: d280617bf569f84457eaea546541dc74c67cd1e4
2018-07-13 12:23:39 -04:00
Suhas Daftuar
cfc6f7413b [rpcwallet] Clamp walletpassphrase value at 100M seconds
Larger values seem to trigger a bug on macos+libevent (resulting in the
rpc server stopping).

Github-Pull: #12905
Rebased-From: 662d19ff7217d0e6c7975ca311933f640955a53e
2018-07-12 10:03:03 -04:00
MarcoFalke
cbdabef35e qa: Fix wallet_listreceivedby race
Github-Pull: #13304
Rebased-From: fa865efa4a21ae08be8b4c390b7661182e0b415b
2018-07-12 10:03:02 -04:00
lmanners
79c4fff9ed [tests] Fixed intermittent failure in p2p_sendheaders.py.
Added handling for the case where headers are announced over more than one message.
refs #12453

Github-Pull: #13192
Rebased-From: 12d1b77f7eb2ca274890d9fb45d6c19a40ba8f74
2018-07-12 10:03:02 -04:00
Adrian Gallagher
dee12239d2
Litecoin: Branding 2018-06-17 19:01:58 -07:00
Adrian Gallagher
4c20019d30
Merge remote-tracking branch 'bitcoin/0.16' 2018-06-17 18:55:26 -07:00
Gregory Sanders
cbd2f70b75
expose CBlockIndex::nTx in getblock(header)
GitHub-Pull: #13451
Rebased-From: 86edf4a
2018-06-15 13:34:09 +08:00
MarcoFalke
08334b73be qa: Pad scriptPubKeys to get minimum sized txs
Github-Pull: #11423
Rebased-From: 364bae5f7a6b16eef63990154e48f19e7e693039
2018-05-24 14:17:50 -04:00
John Newbery
5ff571e90c
[wallet] [tests] Test disallowed multiwallet params
Add a test to check that bitcoind fails to start when specifying
-zapwallettxes, -salvagewallet and -upgradewallet when running in
multiwallet mode.

GitHub-Pull: #13030
Rebased-From: 1f83839
2018-05-18 14:09:34 +08:00
Suhas Daftuar
b8aacd660e
[qa] Handle disconnect_node race
Several tests call disconnect_nodes() on each node-pair in rapid
succession, resulting in a race condition if a node disconnects a peer
in-between the calculation of the nodeid's to disconnect and the
invocation of the disconnectnode rpc call.  Handle this.

GitHub-Pull: #13201
Rebased-From: 09c6699
2018-05-17 10:50:28 +08:00
John Newbery
e802c22947 [config] Remove blockmaxsize option
The blockmaxsize option was marked as deprecated in V0.15.1, and code
was added to convert provided blockmaxsize into blockmaxweight. However,
this code was incorrectly implemented, and blockmaxsize was silently
ignored.

No users have complained about blockmaxsize being ignored, so just
remove it in V0.17.

GitHub-Pull: #12756
Rebased-From: 4757c04
2018-04-26 23:43:54 +08:00