Tx sending reenabled

This commit is contained in:
philemon 2016-07-28 18:50:57 +03:00
commit 2f96946805
3 changed files with 5 additions and 1 deletions

View file

@ -68,6 +68,6 @@ confirm_or_exit(warn,action,expect)
msg('Sending transaction')
tx.send(c,bogus=True)
tx.send(c,bogus=False)
tx.write_txid_to_file()

View file

@ -146,6 +146,7 @@ class BitcoinRPCConnection(object):
'listunspent',
'sendrawtransaction',
'signrawtransaction',
'getrawmempool',
)
for name in rpcmethods:

View file

@ -215,6 +215,9 @@ def make_timestr(secs=None):
def secs_to_hms(secs):
return '{:02d}:{:02d}:{:02d}'.format(secs/3600, (secs/60) % 60, secs % 60)
def secs_to_ms(secs):
return '{:02d}:{:02d}'.format(secs/60, secs % 60)
def _is_whatstring(s,chars):
return set(list(s)) <= set(chars)