aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_bitcoin_cli.py
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-05-29 09:32:55 +0100
committerRoss Nicoll <[email protected]>2021-05-30 22:12:51 +0100
commit4fea2ce46877fdf754dc9e22d1e8b3830f5919bd (patch)
treec784707358fa06965cacf0ee90752fcbf82402ef /test/functional/interface_bitcoin_cli.py
parentMerge pull request #1977 from rnicoll/1.21-difficulty (diff)
downloaddiscoin-4fea2ce46877fdf754dc9e22d1e8b3830f5919bd.tar.xz
discoin-4fea2ce46877fdf754dc9e22d1e8b3830f5919bd.zip
Add Dogecoin block subsidies
Diffstat (limited to 'test/functional/interface_bitcoin_cli.py')
-rwxr-xr-xtest/functional/interface_bitcoin_cli.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py
index 8f0b9ec48..4e5f17390 100755
--- a/test/functional/interface_bitcoin_cli.py
+++ b/test/functional/interface_bitcoin_cli.py
@@ -13,11 +13,11 @@ from test_framework.util import (
get_auth_cookie,
)
-# The block reward of coinbaseoutput.nValue (50) DOGE/block matures after
+# The block reward of coinbaseoutput.nValue (500,000) DOGE/block matures after
# COINBASE_MATURITY (240) blocks. Therefore, after mining 241 blocks we expect
-# node 0 to have a balance of (BLOCKS - COINBASE_MATURITY) * 50 DOGE/block.
+# node 0 to have a balance of (BLOCKS - COINBASE_MATURITY) * 500,000 DOGE/block.
BLOCKS = 241
-BALANCE = (BLOCKS - 240) * 50
+BALANCE = (BLOCKS - 240) * 500000
JSON_PARSING_ERROR = 'error: Error parsing JSON: foo'
BLOCKS_VALUE_OF_ZERO = 'error: the first argument (number of blocks to generate, default: 1) must be an integer value greater than zero'
@@ -96,7 +96,7 @@ class TestBitcoinCli(BitcoinTestFramework):
# Setup to test -getinfo, -generate, and -rpcwallet= with multiple wallets.
wallets = [self.default_wallet_name, 'Encrypted', 'secret']
- amounts = [BALANCE + Decimal('9.999928'), Decimal(9), Decimal(31)]
+ amounts = [BALANCE + Decimal('90000.999928'), Decimal(99999), Decimal(310000)]
self.nodes[0].createwallet(wallet_name=wallets[1])
self.nodes[0].createwallet(wallet_name=wallets[2])
w1 = self.nodes[0].get_wallet_rpc(wallets[0])