Version 1.1.0.0 update

This commit is contained in:
transcoder
2014-02-12 04:09:36 -07:00
parent 58decdbca7
commit f03acc635f
481 changed files with 156398 additions and 57772 deletions

View File

@@ -10,9 +10,9 @@ rpcpass = ""
if rpcpass == "":
access = ServiceProxy("http://127.0.0.1:8332")
access = ServiceProxy("http://127.0.0.1:47970")
else:
access = ServiceProxy("http://"+rpcuser+":"+rpcpass+"@127.0.0.1:8332")
access = ServiceProxy("http://"+rpcuser+":"+rpcpass+"@127.0.0.1:47970")
cmd = sys.argv[1].lower()
if cmd == "backupwallet":
@@ -24,7 +24,7 @@ if cmd == "backupwallet":
elif cmd == "getaccount":
try:
addr = raw_input("Enter a Bitcoin address: ")
addr = raw_input("Enter a CasinoCoin address: ")
print access.getaccount(addr)
except:
print "\n---An error occurred---\n"
@@ -126,7 +126,7 @@ elif cmd == "getreceivedbyaccount":
elif cmd == "getreceivedbyaddress":
try:
addr = raw_input("Enter a Bitcoin address (optional): ")
addr = raw_input("Enter a CasinoCoin address (optional): ")
mc = raw_input("Minimum confirmations (optional): ")
try:
print access.getreceivedbyaddress(addr, mc)
@@ -321,4 +321,4 @@ elif cmd == "walletpassphrasechange":
print
else:
print "Command not found or not supported"
print "Command not found or not supported"