Tx sending reenabled
This commit is contained in:
parent
e8e05f006a
commit
2f96946805
3 changed files with 5 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ class BitcoinRPCConnection(object):
|
|||
'listunspent',
|
||||
'sendrawtransaction',
|
||||
'signrawtransaction',
|
||||
'getrawmempool',
|
||||
)
|
||||
|
||||
for name in rpcmethods:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue