Andrew Poelstra
9cc26a716a
Merge 5b2fe5563b into merged_master (Elements PR #642 )
...
FIXME: we disable standardness checks for the non-PAK node in the PAK tests.
This is because of a bug in Elements which causes non-PAK nodes to reject
pegouts for standardness reasons. Need to fix it after the rebase.
2020-11-09 21:20:21 +00:00
Andrew Poelstra
e62e563c84
Merge 27ee0cc5a6 into merged_master (Bitcoin PR #16646 )
2020-11-09 21:20:16 +00:00
Andrew Poelstra
5f280a6068
Merge 1bf2ff2bf8 into merged_master (Bitcoin PR #16060 )
2020-11-09 21:20:15 +00:00
Andrew Poelstra
0d445414a6
Merge 05ccbe9a29 into merged_master (Bitcoin PR #16598 )
2020-11-09 21:20:13 +00:00
Andrew Poelstra
a93a689a14
Merge d5ea8f4bf3 into merged_master (Bitcoin PR #16509 )
2020-11-09 21:20:12 +00:00
Andrew Poelstra
62ce823f8f
Merge c67ef2938c into merged_master (Elements PR #600 )
...
Also uncommented a bunch of PSBT functional tests (had to add a fee output
to one transaction, update `find_output` to skip CT outputs, and change two
constant checks at the end of the commented-out section).
2020-11-09 21:20:10 +00:00
Andrew Poelstra
3a0de44d90
Merge 0822b44d8a into merged_master (Bitcoin PR #15282 )
2020-11-09 21:20:06 +00:00
Andrew Poelstra
bbc59975b0
Merge 4858d36163 into merged_master (Elements PR #639 )
2020-11-06 15:20:11 +00:00
Andrew Poelstra
0eedc2c45b
Merge 63b9efa73d into merged_master (Bitcoin PR #16042 )
2020-10-29 22:39:10 +00:00
Andrew Poelstra
b8e90ed29c
Merge df7addc4c6 into merged_master (Bitcoin PR #15990 )
2020-10-29 18:38:42 +00:00
Andrew Poelstra
8b4b800d49
Merge f9f6c11a74 into merged_master (Bitcoin PR #15771 )
2020-10-28 02:12:01 +00:00
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
Gregory Sanders
47db75e39f
Dynafed RPC support, tests, and deployment for custom chains
2019-09-05 10:51:09 -04:00
Luke Dashjr
b168dd30cf
Bugfix: QA: Run tests with UPnP disabled
...
Needed for builds configured with --enable-upnp-default
2019-08-19 09:58:43 +08:00
MarcoFalke
1bf2ff2bf8
Merge #16060 : Bury bip9 deployments
...
e78aaf41f4 [docs] Add release notes for burying bip 9 soft fork deployments (John Newbery)
8319e738f9 [tests] Add coverage for the content of getblockchaininfo.softforks (James O'Beirne)
0328dcdcfc [Consensus] Bury segwit deployment (John Newbery)
1c93b9b31c [Consensus] Bury CSV deployment height (John Newbery)
3862e473f0 [rpc] Tidy up reporting of buried and ongoing softforks (John Newbery)
Pull request description:
This hardcodes CSV and segwit activation heights, similar to the BIP 90 buried deployments for BIPs 34, 65 and 66.
CSV and segwit have been active for over 18 months. Hardcoding the activation height is a code simplification, makes it easier to understand segwit activation status, and reduces technical debt.
This was originally attempted by jl2012 in #11398 and again by me in #12360 .
ACKs for top commit:
ajtowns:
ACK e78aaf41f4 ; checked diff to previous acked commit, checked tests still work
ariard:
ACK e78aaf4 , check diff, run the tests again and successfully activated csv/segwit heights on mainnet as expected.
MarcoFalke:
ACK e78aaf41f4 (still didn't check if the mainnet block heights are correct, but the code looks good now)
Tree-SHA512: 7e951829106e21a81725f7d3e236eddbb59349189740907bb47e33f5dbf95c43753ac1231f47ae7bee85c8c81b2146afcdfdc11deb1503947f23093a9c399912
2019-08-15 16:02:10 -04:00
John Newbery
0328dcdcfc
[Consensus] Bury segwit deployment
...
Hardcode segwit deployment height to 481824 for mainnet.
2019-08-14 15:52:52 -04:00
John Newbery
1c93b9b31c
[Consensus] Bury CSV deployment height
...
Hard code CSV deployment height to 419328 for mainnet.
2019-08-14 15:52:52 -04:00
John Newbery
3862e473f0
[rpc] Tidy up reporting of buried and ongoing softforks
...
This combines reporting of buried (formally ISM) softfork deployments
and BIP9 versionbits softfork deployments into one JSON object in the
getblockchaininfo return object.
2019-08-13 15:53:02 -04:00
Elichai Turkel
afc0966d72
Moved and renamed hash256 from util.py to zmq_interface.py
2019-08-13 15:39:46 -04:00
MarcoFalke
fa8a1d7ba3
test: Adapt test framework for chains other than "regtest"
...
Co-Authored-By: Jorge Timón <jtimon@jtimon.cc>
2019-07-31 17:00:25 -04:00
Steven Roose
8f250ab788
TEST: Replace hard-coded hex tx with classes
2019-07-01 18:06:01 +01:00
Steven Roose
0a6f0551d2
Rename -con_connect_coinbase to -con_connect_genesis_outputs
2019-06-05 10:02:41 +01:00
Steven Roose
efe4e8ff04
MERGE-FIX: Fix functional tests
2019-05-24 17:11:47 +01:00
MarcoFalke
fa6ad7a5ec
test: Bump MAX_NODES to 12
2019-05-17 12:19:27 -04:00
Steven Roose
f4889a5253
UPSTREAM MERGE BROKEN: Merge upstream commit ' 519b0bc5dc' into master
2019-05-17 16:17:09 +01:00
Steven Roose
1a2a93a5ff
MERGE-FIX: General fixes for functional tests
2019-05-14 15:09:19 +01:00
MarcoFalke
fa3872e7b4
test: Format predicate source as multiline on error
2019-05-10 07:29:54 -04:00
Gregory Sanders
91294ca01a
Adapt Elements default adress prefix bytes to elements-0.14 style
2019-04-10 16:08:39 -04:00
João Barbosa
90bce24576
qa: Prevent concurrency issues reading .cookie file
2019-04-09 14:28:07 +01:00
Steven Roose
e1cd00cc6c
Change branding from bitcoin to elements
2019-03-22 10:12:04 +00:00
Steven Roose
aba54b3f92
Make validatepegin default to true if has parent chain
2019-03-21 17:55:02 +00:00
Steven Roose
39020cdc7b
Adapt existing functional tests to CA
2019-03-20 12:06:03 +00:00
Steven Roose
6113bf89cf
[BROKEN] Add fee outputs to functional tests
2019-03-20 12:06:02 +00:00
Steven Roose
b48aea8284
[BROKEN] Account for assets in all balance inspection in tests
2019-03-20 12:06:01 +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
fa0e65b772
scripted-diff: test: Remove brackets after assert
...
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/assert ?\((.+)\)(( )*)?(#.*)?$/assert \1\3\3\4/g' $(git grep -l --extended-regexp 'assert ?\(' test)
-END VERIFY SCRIPT-
2019-03-02 10:51:35 -05:00
MarcoFalke
fab5a1e0f4
build: Require python 3.5
2019-03-02 10:40:23 -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
Amiti Uttarwar
8e4b4f683a
Address test todos by removing -txindex to nodes.
...
Originally added when updating getrawtransaction to stop searching unspent utxos.
2019-02-17 21:42:08 -08:00
Gregory Sanders
b8820d1836
Activate CSV from genesis block for custom chains
2019-02-14 09:05:10 -05:00
Steven Roose
fb72ee8fc8
Add Elements-style witness serialization
2019-02-13 11:42:38 +00:00
Steven Roose
01b03a9206
Add calcfastmerkleroot RPC and test-framework support
2019-02-13 11:42:38 +00:00
Gregory Sanders
c00d83f126
Set walletrbf default to 1
2018-12-18 16:08:44 -05:00
Carl Dong
e04f6c7018
Activate BIPs 34, 65, 66 at block 0
...
- Reinstate Bitcoin BIP activation heights for tests
- Add tests for block v4 after genesis block
2018-12-17 02:53:37 -08:00
Chun Kuan Lee
d6b3790d1a
tests: check readability of cookie file
2018-11-24 02:32:38 +08:00
Gregory Sanders
9908f9a152
Add TX_TRUE output format, accept in wallet with anyonecanspendaremine
2018-11-15 15:12:12 -05:00
Gregory Sanders
ccf40db968
connect genesis block transaction outputs to coin db
2018-10-25 12:51:53 -04:00
Gregory Sanders
7bac720925
add block subsidy argument to allow different/non-inflation chains
2018-10-23 09:45:16 -04:00