Andrew Poelstra
7d93f137a0
Merge c033c4b5ce into merged_master (Bitcoin PR #13541 )
2020-10-28 00:09:04 +00:00
Andrew Poelstra
67d718b048
Merge a74d588f21 into merged_master (Bitcoin PR #14954 )
2020-10-27 22:32:24 +00:00
Andrew Poelstra
91b410a694
Merge 8f470ecc53 into merged_master (Bitcoin PR #15419 )
2020-10-27 18:04:26 +00:00
Steven Roose
efe4e8ff04
MERGE-FIX: Fix functional tests
2019-05-24 17:11:47 +01:00
Steven Roose
f4889a5253
UPSTREAM MERGE BROKEN: Merge upstream commit ' 519b0bc5dc' into master
2019-05-17 16:17:09 +01:00
Steven Roose
39020cdc7b
Adapt existing functional tests to CA
2019-03-20 12:06:03 +00:00
Karl-Johan Alm
6c0a6f73e3
wallet/rpc: add maxfeerate parameter to sendrawtransaction
2019-03-14 08:48:46 +09:00
MarcoFalke
faa7cdf764
scripted-diff: Update copyright in ./test
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./test/
-END VERIFY SCRIPT-
2019-03-02 10:58:35 -05:00
MarcoFalke
fa6bf21f5e
scripted-diff: test: Use py3.5 bytes::hex() method
...
-BEGIN VERIFY SCRIPT-
sed -i -e "s/def bytes_to_hex_str/def b_2_x/g" $(git grep -l bytes_to_hex_str)
export RE_B_0="[^()]*" # match no bracket
export RE_B_1="${RE_B_0}\(${RE_B_0}\)${RE_B_0}" # match exactly one ()
export RE_B_2="${RE_B_0}\(${RE_B_1}\)${RE_B_0}" # match wrapped (())
export RE_M="(b2x|bytes_to_hex_str)\(((${RE_B_0}|${RE_B_1}|${RE_B_2})*)\)"
sed -i --regexp-extended -e "s/${RE_M}/\2.hex()/g" $(git grep -l -E '(b2x|bytes_to_hex_str)')
sed -i --regexp-extended -e "/ +bytes_to_hex_str( as b2x)?,/d" $(git grep -l bytes_to_hex_str)
sed -i --regexp-extended -e "s/ +bytes_to_hex_str( as b2x)?,//g" $(git grep -l bytes_to_hex_str)
sed -i --regexp-extended -e "s/, bytes_to_hex_str( as b2x)?//g" $(git grep -l bytes_to_hex_str)
export RE_M="(binascii\.)?hexlify\(((${RE_B_0}|${RE_B_1}|${RE_B_2})*)\).decode\(${RE_B_0}\)"
sed -i --regexp-extended -e "s/${RE_M}/\2.hex()/g" $(git grep -l hexlify -- ':(exclude)share')
sed -i --regexp-extended -e "/from binascii import hexlify$/d" $(git grep -l hexlify -- ':(exclude)share')
sed -i --regexp-extended -e "s/(from binascii import) .*hexlify/\1 unhexlify/g" $(git grep -l hexlify -- ':(exclude)share')
sed -i -e 's/ignore-names "/ignore-names "b_2_x,/g' ./test/lint/lint-python-dead-code.sh
-END VERIFY SCRIPT-
2019-03-02 10:40:12 -05:00
MarcoFalke
1111aecbb5
qa: Always refresh stale cache to be out of ibd
2019-02-19 14:22:13 -05:00
Gregory Sanders
c62fab2d69
UPSTREAM MERGE BROKEN: Merge commit ' 3832c25f17' into merge_14225
2019-01-28 18:14:25 +00:00
Gregory Sanders
bcd8db972f
functional test for pak feature
2019-01-24 11:07:11 -05:00
Gregory Sanders
f1dbd1cf3d
-multi_data_permitted: Allow >1 op_return output by policy
2019-01-24 11:06:59 -05:00
DrahtBot
06ba77973e
Update copyright headers to 2018
2018-12-29 10:15:01 +01:00
MarcoFalke
faee59103d
test: Fix race in mempool_accept
2018-12-14 18:12:17 -05:00
MarcoFalke
aaaa8eb1ed
test: consensus: Check that final transactions are valid
2018-12-11 13:40:13 -05:00
MarcoFalke
9ebfe0e927
Merge #14819 : Bugfix: test/functional/mempool_accept: Ensure oversize transaction is actually oversize
...
29aeed1734 Bugfix: test/functional/mempool_accept: Ensure oversize transaction is actually oversize (Luke Dashjr)
Pull request description:
Simply integer dividing results in an acceptable size if the limit isn't an exact multiple of the input size.
Use math.ceil to ensure the transaction is always oversize.
(This issue can be triggered by changing the address style used.)
Tree-SHA512: e45062b0e8a3e9cb08e9dac5275b68d86e4377b460f1b3b995944090a055b0542a6986826312ec0e223369838094e42e20d8614b5c2bab9975b9a6f749295b21
2018-11-28 10:40:33 -05:00
Luke Dashjr
29aeed1734
Bugfix: test/functional/mempool_accept: Ensure oversize transaction is actually oversize
...
Simply integer dividing results in an acceptable size if the limit isn't an exact multiple of the input size.
Use math.ceil to ensure the transaction is always oversize.
2018-11-27 17:55:01 +00:00
MarcoFalke
fac9539836
qa: Run all tests even if wallet is not compiled
2018-09-10 17:53:21 -04:00
MarcoFalke
fa31ca0c22
qa: Remove redundant checkmempool/checkblockindex extra_args
2018-08-08 14:29:19 -04:00
MarcoFalke
b55555da3e
rpc: Add testmempoolaccept
2018-03-24 11:17:08 -04:00