Anthony Fieroni
afe3eec551
Rebase + more fixes
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-27 19:49:15 +03:00
Anthony Fieroni
eb810178e5
Fix rpc tests
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-27 14:18:39 +03:00
Anthony Fieroni
30f8402629
Fix amount in tests
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-27 14:18:39 +03:00
Anthony Fieroni
50f32d0e66
Fix pow, max block size, still need some adjust
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-27 14:18:39 +03:00
Anthony Fieroni
6697207ac1
Partial fix, still need investigation in wallet and block generator tests
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-27 14:18:39 +03:00
Brannon King
92a3df1571
in progress on making py tests run
2019-09-27 14:18:39 +03:00
lbrynaut
494c48875d
Fix unit tests.
2019-08-28 13:35:04 -06:00
Brannon King
9a67b514c9
flattening prefix trie work
...
put getclaimsintrie back as deprecated
added test for adding a lot of data to the claimtrie
updated unit test to dodge expiration fork
2019-07-01 14:44:28 -06:00
Brannon King
e560834489
allow rest/block/height.json
...
changes from review, added integration test
2019-07-01 14:44:28 -06:00
lbrynaut
a08967a572
Rebase lbry on to Bitcoin 0.17.
...
This contains significant rebase / merge / testing work by Naut
<lbrynaut@protonmail.com>, Anthony Fieroni <bvbfan@abv.bg> and Brannon
King <countprimes@gmail.com>.
2019-07-01 14:43:59 -06:00
João Barbosa
fe95f84542
qa: Test .walletlock file is closed
...
Github-Pull: #15297
Rebased-From: d3bf3b9
2019-03-12 23:24:11 +00:00
Chun Kuan Lee
caf1146b13
wallet: Add trailing wallet.dat when detecting duplicate wallet if it's a directory.
...
Github-Pull: #14552
Rebased-From: 15c93f0
2019-03-11 21:54:44 +00:00
Chun Kuan Lee
34da2b7c76
tests: add test case for loading copied wallet twice
...
Github-Pull: #14320
Rebased-From: 4ea7732
2019-03-11 21:54:44 +00:00
João Barbosa
16e5759455
wallet: Refactor to use WalletLocation
...
Github-Pull: #14350
Rebased-From: 65f3672
2019-03-11 21:54:44 +00:00
Andrew Chow
1c98a758d0
No longer shutdown after encrypting the wallet
...
Since the database environment is flushed, closed, and reopened during
EncryptWallet, there is no need to shut down the software anymore.
Github-Pull: #12493
Rebased-From: c1dde3a
2019-03-11 13:20:41 +00:00
MarcoFalke
e11856515e
Merge #14893 : 0.17 [Backport 14890] rpc: Avoid creating non-standard raw transactions
...
46c162df47
rpc: Avoid creating non-standard raw transactions (MarcoFalke)
Pull request description:
Tree-SHA512: f34678637c8b6559e5c0c2790b682af562479239b92be96e0d41806bade136866f9748487a021eb8c62b6a5027b0a1a2cbdee930243eac93edabef60cbd54eac
2018-12-24 13:06:32 +01:00
Gregory Sanders
ae1b6756c9
importmulti: Don't add internal addresses to address book
...
Github-Pull: #14679
Rebased-From: 7afddfa8ce
2018-12-09 22:32:45 +08:00
MarcoFalke
46c162df47
rpc: Avoid creating non-standard raw transactions
...
Github-Pull: #14890
Rebased-From: fa4c8679ed
2018-12-07 11:36:29 -05:00
MarcoFalke
abae8aeff1
Merge #14880 : 0.17: Backport #14453
...
dcb032dcdf
qa: Ensure wallet unload during walletpassphrase timeout (João Barbosa)
75b5d8c4ea
rpc: Fix wallet unload during walletpassphrase timeout (João Barbosa)
Pull request description:
Backport #14453 to 0.17
Tree-SHA512: fce0adccbb07b6635bb773a71beb4a9b814bceb77bbe7bbc5bcb7d151aabb1148c791622f58c990afe202012ca1971cd466cb536fc6f37e22cdc58738720b593
2018-12-06 13:07:25 -05:00
João Barbosa
dcb032dcdf
qa: Ensure wallet unload during walletpassphrase timeout
...
0.17 branch doesn't include #12493 which changed encryptwallet behavior. For that
reason the test is adjusted.
Github-Pull: #14453
Rebased-From: 8907df9
2018-12-06 11:45:18 +00:00
Gregory Sanders
7a590d8390
fix converttopsbt permitsigdata arg, add basic test
...
Github-Pull: #14356
Rebased-From: 88a79cb436
2018-12-05 17:38:57 -05:00
Pieter Wuille
7bee41452b
Add test for conversion from non-witness to witness UTXO
...
Github-Pull: #14197
Rebased-From: 862d159d63
2018-12-03 10:37:52 -08:00
Glenn Willen
ff56bb9b44
Add regression test for PSBT signing bug #14473
...
Github-Pull: #14588
Rebased-From: e13fea975d
2018-12-03 10:37:22 -08:00
Andrew Chow
a3fe125490
check that a separator is found for psbt inputs, outputs, and global map
...
Github-Pull: #14377
Rebased-From: 4fb3388db9
2018-12-03 10:32:58 -08:00
MarcoFalke
924cf794e1
Merge #14851 : [backport] fix assert crash when specified change output spend size is unknown
...
2a5cc40dc4
CreateTransaction: Assume minimum p2sh-p2wpkh spend size for unknown change (Gregory Sanders)
53dcf2b407
Remove stale comment in CalculateMaximumSignedInputSize (Gregory Sanders)
Pull request description:
backport of #14380
Tree-SHA512: 42e261bd797d1938f8e041ccd10073ecd1d72695e2e4ce322e5a3ce262647e32108b01dde73361b6d2ac36438522ab3c4cd58ca072194f25011132437430cd27
2018-11-30 16:09:53 -05:00
John Newbery
67225e2fd7
[tests] Add wallet_balance.py
...
Adds a test specifically to test the wallet's getbalance and
getunconfirmedbalance RPCs.
Github-Pull: #14845
Rebased-From: c1825b9d39
2018-11-30 11:25:20 -05:00
Gregory Sanders
2a5cc40dc4
CreateTransaction: Assume minimum p2sh-p2wpkh spend size for unknown change
2018-11-30 11:08:41 -05:00
MarcoFalke
f9db08e8ca
qa: Avoid race in p2p_invalid_block by waiting for the block request
...
Github-Pull: #14700
Rebased-From: fa21568208
2018-11-30 22:40:57 +08:00
Eric Scrivner
fb9ad043f8
Fix listreceivedbyaddress not taking address as a string
...
Fixes #14173 . Add the patch in #14173 and include a regression test.
Github-Pull: #14417
Rebased-From: d4d70eda33
2018-11-28 15:35:05 -05:00
fridokus
96f15e8bb3
Tests: Fix a comment
...
Github-Pull: #14632
Rebased-From: 086fc83571
2018-11-28 15:35:05 -05:00
MarcoFalke
60f7a97930
qa: Add test to ensure node can generate all help texts at runtime
...
Github-Pull: #14658
Rebased-From: bbbbb3f885
2018-11-28 15:35:05 -05:00
gustavonalle
bb90695551
[wallet] Ensure wallet is unlocked before signing
...
Github-Pull: #14310
Rebased-From: db15805668
2018-11-28 15:35:05 -05:00
Wladimir J. van der Laan
5150accdd2
Merge #14441 : [wallet] Backport(0.17): Restore ability to list incoming transactions by label
...
89306ab0df
[wallet] Restore ability to list incoming transactions by label (Russell Yanofsky)
Pull request description:
Backport of PR #14411 to v0.17.
This change partially reverts #13075 and #14023 .
Fixes #14382
Tree-SHA512: 1f8300e1a79e826cd706561265b8788deef505fa510be1a76ed9a62e5fca37cf6a741423ac0e5de2a36d6e8b9f25f141885455aacacbbf6474814e6eae406a27
2018-11-10 12:45:44 +01:00
Chun Kuan Lee
29899ecd36
Import CInv from correct module
...
Github-Pull: #13965
Rebased-From: a9cf5c9623
2018-10-24 22:02:42 -04:00
MarcoFalke
f7adb32e38
qa: Run all tests even if wallet is not compiled
...
Github-Pull: #14180
Rebased-From: fac9539836
2018-10-24 22:02:36 -04:00
MarcoFalke
86fadee990
qa: Premine to deterministic address with -disablewallet
...
Github-Pull: #14180
Rebased-From: faa669cbcd
2018-10-24 22:02:28 -04:00
Kvaciral
8bc1badada
Test rpc_help.py failed: Check whether ZMQ is enabled or not.
...
Github-Pull: #14122
Rebased-From: 8dfc2f30de
2018-10-24 22:02:21 -04:00
João Barbosa
24d796a6cc
test: Add tests for RPC help
...
Github-Pull: #14020
Rebased-From: 6af6d9b23d
2018-10-24 22:02:15 -04:00
MarcoFalke
168efeaca6
qa: Use named args in some tests
...
Github-Pull: #14101
Rebased-From: fa782a308d
2018-10-24 22:02:08 -04:00
MarcoFalke
73e538cf6a
scripted-diff: Use named arguments in feature_block
...
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e "s/sync_blocks\((.*?), (True|False), (1.?), /sync_blocks(\1, success=\2, reject_code=\3, reject_reason=/g" ./test/functional/feature_block.py
-END VERIFY SCRIPT-
Github-Pull: #14101
Rebased-From: b4d3309673
2018-10-24 22:02:01 -04:00
MarcoFalke
96dc936862
scripted-diff: Pass node into p2p_segwit acceptance tests
...
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/(test_witness_block|test_transaction_acceptance)\((self\.nodes\[.\])\.rpc/\1(\2/g' test/functional/p2p_segwit.py
-END VERIFY SCRIPT-
Github-Pull: #14101
Rebased-From: 749ba35e7c
2018-10-24 22:01:54 -04:00
MarcoFalke
7ff32a6b98
qa: Add some actual witness in rpc_rawtransaction
...
Github-Pull: #14052
Rebased-From: fae040010d
2018-10-24 22:01:47 -04:00
Suhas Daftuar
b72fbabe17
[qa] Use correct python index slices in example test
...
Github-Pull: #14215
Rebased-From: 9dcb6763fb
2018-10-24 22:01:40 -04:00
MarcoFalke
06544faff0
qa: Add TestNode::assert_debug_log
...
Github-Pull: #14024
Rebased-From: fa3e9f7627
2018-10-24 22:01:31 -04:00
Russell Yanofsky
89306ab0df
[wallet] Restore ability to list incoming transactions by label
...
Backport of PR 14411 to v0.17.
This change partially reverts #13075 and #14023 .
Fixes #14382
2018-10-10 16:34:50 +09:00
Suhas Daftuar
0d49c82edd
[qa] backport: Test for duplicate inputs within a transaction
2018-09-17 16:15:18 -04:00
MarcoFalke
eb202ea21d
test: Add test for config file parsing errors
...
Github-Pull: #14105
Rebased-From: ed2332aeff
Tree-SHA512: 17fa88a2848f1c9c9c8a127b5ea4c45761ce8e06a609dd40f8e90bb9117d88c9d2c81e752c9c0f1a44ecadbb5bedd2973bc4548da2a6d463c789797191e85ab1
2018-09-06 13:54:05 +02:00
Gregory Sanders
2307a6eb2b
fix walletcreatefundedpsbt deriv paths, add test
...
Github-Pull: #14055
Rebased-From: 61fe653bd9
Tree-SHA512: 2f3edf62318fab4b405b47788096005f59cbe6ba4723fe51ce3b386539a58b7ea7369c31c3840c6baa76cdf6ba8f8440f977c36e2ee2916e711d7872bd1eadad
2018-08-28 23:11:41 +02:00
Gregory Sanders
82e2b9cb25
QA: add basic walletcreatefunded optional arg test
...
Github-Pull: #13968
Rebased-From: 1f0c4282e9
Tree-SHA512: 1f8b10629a314f623d589801ef2e62724de2cd82a0e523e0ab25a285f92b76a3b31304c1c0418b1b611ec3ca0016016d1e6af410ac81a78449b875c4f89a46d7
2018-08-21 09:44:52 +02:00
Andrew Chow
0333914467
More tests of signer checks
...
GitHub-Pull: #13917
Rebased-From: 5df6f08
2018-08-15 10:01:32 +08:00