aboutsummaryrefslogtreecommitdiff
path: root/contrib/linearize/linearize.py
diff options
context:
space:
mode:
authorSubo1978 <shuebbel@gmx.de>2014-02-10 15:52:31 +0100
committerSubo1978 <shuebbel@gmx.de>2014-02-10 15:52:31 +0100
commit3078b582cc6c2e8389ef8e6b5807a51ebae7bf67 (patch)
tree254a601589e07aed12c16d52652903e6d0d3e9ad /contrib/linearize/linearize.py
parentb19bcb752bc19f7b6780fd8c099bb3d79e4d7cc9 (diff)
linearize.py: Harmonize rpcpass to rpcpassword
linearize.py: harmonize rpcpass to rpcpassword according settings in bitcoin.conf
Diffstat (limited to 'contrib/linearize/linearize.py')
-rw-r--r--contrib/linearize/linearize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/linearize/linearize.py b/contrib/linearize/linearize.py
index ea3814ab72..650f7d3684 100644
--- a/contrib/linearize/linearize.py
+++ b/contrib/linearize/linearize.py
@@ -71,7 +71,7 @@ def getblock(rpc, settings, n):
def get_blocks(settings):
rpc = BitcoinRPC(settings['host'], settings['port'],
- settings['rpcuser'], settings['rpcpass'])
+ settings['rpcuser'], settings['rpcpassword'])
outf = open(settings['output'], 'ab')
@@ -118,7 +118,7 @@ if __name__ == '__main__':
settings['min_height'] = 0
if 'max_height' not in settings:
settings['max_height'] = 279000
- if 'rpcuser' not in settings or 'rpcpass' not in settings:
+ if 'rpcuser' not in settings or 'rpcpassword' not in settings:
print "Missing username and/or password in cfg file"
sys.exit(1)