Rm comments
This commit is contained in:
parent
ac1c8a371b
commit
7497d18719
|
@ -17,11 +17,10 @@ from bitcoin.wallet import CBitcoinAddress, CBitcoinSecret, P2SHBitcoinAddress,
|
||||||
from xcat.utils import *
|
from xcat.utils import *
|
||||||
from xcat.zcashRPC import parse_script
|
from xcat.zcashRPC import parse_script
|
||||||
|
|
||||||
# SelectParams('testnet')
|
SelectParams('testnet')
|
||||||
SelectParams('regtest')
|
# SelectParams('regtest')
|
||||||
# TODO: Accurately read user and pw info
|
# TODO: Accurately read user and pw info
|
||||||
# bitcoind = bitcoin.rpc.Proxy(service_url="http://user:password@127.0.0.1:18332")
|
bitcoind = bitcoin.rpc.Proxy(timeout=900)
|
||||||
bitcoind = bitcoin.rpc.Proxy(timeout=90)
|
|
||||||
FEE = 0.001*COIN
|
FEE = 0.001*COIN
|
||||||
|
|
||||||
def validateaddress(addr):
|
def validateaddress(addr):
|
||||||
|
|
|
@ -18,11 +18,9 @@ from zcash.wallet import CBitcoinAddress, CBitcoinSecret, P2SHBitcoinAddress, P2
|
||||||
|
|
||||||
from xcat.utils import *
|
from xcat.utils import *
|
||||||
|
|
||||||
# SelectParams('testnet')
|
SelectParams('testnet')
|
||||||
SelectParams('regtest')
|
# SelectParams('regtest')
|
||||||
# TODO: accurately read user and pw info
|
zcashd = zcash.rpc.Proxy(timeout=900)
|
||||||
# zcashd = zcash.rpc.Proxy(service_url="http://user:password@127.0.0.1:18232")
|
|
||||||
zcashd = zcash.rpc.Proxy(timeout=90)
|
|
||||||
FEE = 0.001*COIN
|
FEE = 0.001*COIN
|
||||||
|
|
||||||
def x2s(hexstring):
|
def x2s(hexstring):
|
||||||
|
|
Loading…
Reference in New Issue