Skip to content

Commit 256a71b

Browse files
committed
Merge pull request #3649
3078b58 linearize.py: Harmonize rpcpass to rpcpassword (Subo1978)
2 parents 7af65ac + 3078b58 commit 256a71b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contrib/linearize/example-linearize.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# bitcoind RPC settings
33
rpcuser=someuser
4-
rpcpass=somepassword
4+
rpcpassword=somepassword
55
host=127.0.0.1
66
port=8332
77

contrib/linearize/linearize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def getblock(rpc, settings, n):
7171

7272
def get_blocks(settings):
7373
rpc = BitcoinRPC(settings['host'], settings['port'],
74-
settings['rpcuser'], settings['rpcpass'])
74+
settings['rpcuser'], settings['rpcpassword'])
7575

7676
outf = open(settings['output'], 'ab')
7777

@@ -118,7 +118,7 @@ def get_blocks(settings):
118118
settings['min_height'] = 0
119119
if 'max_height' not in settings:
120120
settings['max_height'] = 279000
121-
if 'rpcuser' not in settings or 'rpcpass' not in settings:
121+
if 'rpcuser' not in settings or 'rpcpassword' not in settings:
122122
print "Missing username and/or password in cfg file"
123123
sys.exit(1)
124124

0 commit comments

Comments
 (0)