Major update to cryptonoteRPCwalletGUI

This commit is contained in:
jwinterm
2014-06-16 19:08:40 -05:00
parent 7f4a09dbc0
commit 6e80f4a560
21 changed files with 954 additions and 336 deletions
+25
View File
@@ -0,0 +1,25 @@
import requests
import json
import time
serverURL = 'http://localhost:19091/json_rpc'
headers = {'content-type': 'application/json'}
payload = json.dumps({
"jsonrpc": "2.0",
"method": "store",
"params": {}
})
def storewallet():
resp = requests.get(serverURL, headers=headers, data=payload)
try:
output = json.loads(resp.text)
print output
except:
print "Waiting for bitmonerod client to sync with network..."
output = "Waiting for bitmonerod client to sync with network..."
print output