[policy] make v3 transactions standard
Note that, as CURRENT_VERSION = 2, the wallet will not make transactions with nVersion=3 yet.
This commit is contained in:
1 parent
052ede75af
commit
539404fe0f
3 files changed
+18
-18
No files matched your search
@@ -287,7 +287,7 @@ class MempoolAcceptanceTest(BitcoinTestFramework):
|
||||
|
||||
self.log.info('Some nonstandard transactions')
|
||||
tx = tx_from_hex(raw_tx_reference)
|
||||
tx.nVersion = 3 # A version currently non-standard
|
||||
tx.nVersion = 4 # A version currently non-standard
|
||||
self.check_mempool_result(
|
||||
result_expected=[{'txid': tx.rehash(), 'allowed': False, 'reject-reason': 'version'}],
|
||||
rawtxs=[tx.serialize().hex()],
|
||||
|
||||
Reference in new issue
Block a user