git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a733a1d
)
added error if rpcpassword isn't found in bitcoin.conf
author
Forrest Voight
<forrest.voight@gmail.com>
Sat, 3 Mar 2012 20:55:23 +0000 (15:55 -0500)
committer
Forrest Voight
<forrest.voight@gmail.com>
Sat, 3 Mar 2012 21:07:27 +0000 (16:07 -0500)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
22859a8
..
3217991
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-922,6
+922,8
@@
def run():
]:
if getattr(args, var_name) is None and cp.has_option('x', conf_name):
setattr(args, var_name, var_type(cp.get('x', conf_name)))
+ if args.bitcoind_rpc_password is None:
+ parser.error('''Bitcoin configuration file didn't contain an rpcpassword= line! Add one!''')
if args.bitcoind_rpc_username is None:
args.bitcoind_rpc_username = ''