Steven Roose
6493ad902a
Adapt bitcoin-tx to CA
2019-03-20 12:05:47 +00:00
Steven Roose
04d06917d2
Rename con_elementswitness to con_elementsmode
...
It will have effect on more than just witness structure from now on.
2019-03-20 12:05:44 +00:00
Steven Roose
84954c8110
Add CAssetsDir
2019-03-20 12:05:38 +00:00
Gregory Sanders
9cb2fa051f
Add blech32 python implementation with diff annotation with segwit_addr.py
2019-03-20 12:05:35 +00:00
Steven Roose
3e7cff1e45
Disable tests that are not relevant for Elements
2019-03-20 12:05:30 +00:00
Gregory Sanders
3a0b3b70a5
Add tweakfedpeg and compatbility test
2019-03-20 12:05:29 +00:00
Gregory Sanders
b8820d1836
Activate CSV from genesis block for custom chains
2019-02-14 09:05:10 -05:00
Gregory Sanders
52c8601cf4
Remove manual byte editing in wallet_tx_clone func test
2019-02-13 15:34:48 +00:00
Steven Roose
0c05901791
Add functional test for Elements witness serialization
2019-02-13 11:42:47 +00:00
Steven Roose
fb72ee8fc8
Add Elements-style witness serialization
2019-02-13 11:42:38 +00:00
Steven Roose
6ed8fd8ab0
Add -con_elementswitness flag and global variable
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
9d9ee3d514
MERGE FIX: Adapt bitcoin_functional sync to regtest2
2019-01-31 10:55:31 +00:00
Gregory Sanders
7c97d6a811
MERGE FIX: sync up bitcoin_functional
2019-01-31 10:55:27 +00:00
Gregory Sanders
4202671221
MERGE FIX: spelling linter fixes
2019-01-31 10:55:03 +00:00
Gregory Sanders
90f7d18c8f
MERGE-FIX: functional tests
2019-01-31 10:29:09 +00:00
Gregory Sanders
c62fab2d69
UPSTREAM MERGE BROKEN: Merge commit ' 3832c25f17' into merge_14225
2019-01-28 18:14:25 +00:00
Gregory Sanders
07173d02f4
Merge branch 'elements-0.17' into merge_13968
2019-01-24 12:51:19 -05:00
Gregory Sanders
1cb252e01d
Descriptor support in PAK infrastructure and tests
2019-01-24 11:07:17 -05: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
Gregory Sanders
60b7ef5287
MERGE-FIX: mining_basic.py: Remove magic constants, make sure serialized header deserializes
2019-01-23 16:48:36 -05:00
Gregory Sanders
c5a93c008f
UPSTREAM MERGE BROKEN: Merge commit ' 8aa9badf5e' into e17
2019-01-23 16:48:22 -05:00
Steven Roose
d358364a36
Integration test for pegins and pegouts
2019-01-02 18:46:07 +01:00
Steven Roose
ae54d4ad74
Add pegin input serialization
2019-01-02 16:12:50 +01:00
Steven Roose
238a72bead
Add arguments for parent chain characteristics
2019-01-02 16:12:42 +01:00
Gregory Sanders
ff32b17c5d
elements style genesis block commits to signblockscript in CommitToArguments
2018-12-19 11:38:43 -05:00
Gregory Sanders
3169d380a6
added blocksign functional test
2018-12-19 11:38:43 -05:00
Gregory Sanders
d78f0763a1
Signed blocks by default for custom chains
2018-12-19 11:38:43 -05:00
Gregory Sanders
c00d83f126
Set walletrbf default to 1
2018-12-18 16:08:44 -05:00
Carl Dong
95432aad58
Test listunspent sanity when specifying initialfreecoins
2018-12-18 10:27:45 -08:00
Gregory Sanders
1ac14fc958
restore bitcoin regtest gen block using -genesis_style
...
- also regenerate test data for getblockstats
2018-12-18 10:27:43 -08:00
Carl Dong
8b8c11a44b
Add initialfreecoins option, default of 0
...
- Add CommitToArgument without fedpegScript or signblockscript
- Modify CreateGenesisBlock to take in the genesis scriptSig
- Add AppendInitialIssuace without assets support
- AppendInitialIssuance to genesis block for Custom chain only
- Add -initialfreecoins option
- Modify tests to work with initialfreecoins
2018-12-18 10:21:51 -08: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
Gregory Sanders
2bfabb3e4f
blockheaders include block height, nodes validate it
...
The block height validation is gated by the startup option
`con_blockheightinheader`, accesible in custom chains only
using option `chain=<name>`. Only if set to true will this
field be (de)serialized and evaluated in consensus logic.
Otherwise the field is simply ignored, other than being
stored in memory as the default value 0.
2018-11-27 09:46:25 -05:00
Gregory Sanders
8f6bedfd4b
functional framework support for CScriptNum decode
2018-11-27 09:45:15 -05:00
Gregory Sanders
609323f7b7
Merge #468 : Replace deprecated tostring with tobytes
...
00315c8 Replace deprecated tostring with tobytes (Carl Dong)
Pull request description:
Upstream: https://github.com/bitcoin/bitcoin/pull/13963
Tree-SHA512: 667cb8799941e7c3a567e8c9b77b77fdf1b838d170b5de2c51618e6d1284216039cb39e44f9650b6a7de325036a0d2c80aeb9cf5387da7e183f33461a31c9727
2018-11-27 09:09:53 -05:00
Gregory Sanders
9908f9a152
Add TX_TRUE output format, accept in wallet with anyonecanspendaremine
2018-11-15 15:12:12 -05:00
Carl Dong
00315c85bb
Replace deprecated tostring with tobytes
2018-11-15 05:30:49 -08:00
Gregory Sanders
32f1bf26ec
move most extended tests to normal
2018-11-01 14:43:44 -04:00
Gregory Sanders
e20b836aeb
Actually run the bitcoin functional tests with test_runner
2018-10-26 12:00:55 -04:00
Gregory Sanders
d97920caa4
add functional test for coinbase connection to db
2018-10-25 13:21:42 -04:00
Gregory Sanders
ccf40db968
connect genesis block transaction outputs to coin db
2018-10-25 12:51:53 -04:00
Gregory Sanders
3d274183d2
Merge #445 : [0.17] Duplicate bitcoin functional tests
...
ef039f0 Add travis build that tests bitcoin functional tests (Gregory Sanders)
Pull request description:
We're going to keep these tests alive as long as possible to increase modularity/QA of the codebase.
Tree-SHA512: c0639422fe518cd9a5f6eb06f24a4c812d38bdde95f37a6787b10ab009e6ee9ff22b30ea8f79e6cf47581bd0d7577fe149f3e636c4c6f0488c9c6555730b8315
2018-10-24 11:00:37 -04:00
Gregory Sanders
ef039f001b
Add travis build that tests bitcoin functional tests
2018-10-23 13:29:57 -04:00
Gregory Sanders
7bac720925
add block subsidy argument to allow different/non-inflation chains
2018-10-23 09:45:16 -04:00
Gregory Sanders
2d6f1374c2
rename mandatory coinbase test, add it to test_runner list
2018-10-22 09:49:07 -04:00
Gregory Sanders
0d20b55374
add mandatory coinbase functional test
2018-10-18 15:17:15 -04:00
Jorge Timón
a1e0c56a55
QA: Use resgtest2 chain instead of regtest for rpc tests
2018-10-16 18:32:20 +02:00
Jorge Timón
4454c52ae6
QA: Adapt BitcoinTestFramework for chains other than "regtest"
2018-10-16 18:32:19 +02:00