include min_confirmations in the UTXO service drivers

This commit is contained in:
Jude Nelson
2017-05-09 18:29:48 -04:00
parent ef05e280de
commit cd1c6e04ca
8 changed files with 20 additions and 12 deletions

View File

@@ -88,10 +88,11 @@ class BlockstackCoreRPCClient(object):
"""
RPC client for the blockstack server
"""
def __init__(self, server, port, timeout=30 ):
def __init__(self, server, port, timeout=30, min_confirmations=None ):
self.srv = TimeoutServerProxy( "http://%s:%s" % (server, port), timeout=timeout, allow_none=True )
self.server = server
self.port = port
self.min_confirmations = min_confirmations
def __getattr__(self, key):
try: