aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_rbf.py
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-03-03 21:22:15 +0000
committerRoss Nicoll <[email protected]>2021-05-20 12:02:35 +0100
commit3f8289a113ad2fb629c787528c809aa7d5b91610 (patch)
tree073b9f822df735b78b18cc1de6b40991f568f07d /test/functional/feature_rbf.py
parentUpdate miner confirmation window (diff)
downloaddiscoin-3f8289a113ad2fb629c787528c809aa7d5b91610.tar.xz
discoin-3f8289a113ad2fb629c787528c809aa7d5b91610.zip
Dogecoin: Update coinbase maturity
* Change coinbase maturity to 240 blocks in most cases, with main/test early chains allowing 30 blocks. I've kept the 240 consistent in regtest to avoid having to redesign a lot of the test cases. * Disabled mining unit test which require COINBASE_MATURITY worth of pre-calculated blocks, as we'd otherwise be constantly refactoring them. * Moved functional test which uses the Bitcoin testnet block data as its reference, as it completely breaks as we introduce Dogecoin data. * Updated standard blockchains for tests from 100/200 to 240/480 as appropriate.
Diffstat (limited to 'test/functional/feature_rbf.py')
-rwxr-xr-xtest/functional/feature_rbf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_rbf.py b/test/functional/feature_rbf.py
index 1b531ad51..8d24a3635 100755
--- a/test/functional/feature_rbf.py
+++ b/test/functional/feature_rbf.py
@@ -27,7 +27,7 @@ def make_utxo(node, amount, confirmed=True, scriptPubKey=DUMMY_P2WPKH_SCRIPT):
"""
fee = 1*COIN
while node.getbalance() < satoshi_round((amount + fee)/COIN):
- node.generate(100)
+ node.generate(240)
new_addr = node.getnewaddress()
txid = node.sendtoaddress(new_addr, satoshi_round((amount+fee)/COIN))