Fixed transaction history, calculated balance, few GUI things, and limit file names and paths to standard ascii.

This commit is contained in:
jwinterm
2014-12-23 14:18:15 -06:00
parent 99a3edec13
commit ed6447780f
6 changed files with 191 additions and 219 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ payload = json.dumps({
})
def CheckBalanceSimplewallet():
def checkBalanceSimplewallet():
"""function to make rpc call to simplewallet to get current balance"""
# print 'Attempting {0} RPC call'.format(CheckBalanceSimplewallet.__name__)
try:
@@ -33,4 +33,4 @@ def CheckBalanceSimplewallet():
if __name__ == "__main__":
print CheckBalanceSimplewallet()
print checkBalanceSimplewallet()
+2 -2
View File
@@ -16,7 +16,7 @@ payload = json.dumps({
})
def CheckLastBlock(serverURL=default_URL):
def checkLastBlock(serverURL=default_URL):
"""Try and get last block info and return formatted text"""
# print('Attempting {0} RPC call'.format(CheckLastBlock.__name__))
try:
@@ -40,4 +40,4 @@ def CheckLastBlock(serverURL=default_URL):
if __name__ == "__main__":
CheckLastBlock()
checkLastBlock()
+2 -2
View File
@@ -5,7 +5,7 @@ from ctypes import c_uint64
serverURL = 'http://localhost:19091/json_rpc'
def transferfundsrpccall(amount, address, mixin, paymentid):
def transferFundsRPCCall(amount, address, mixin, paymentid):
"""function to transfer funds to a single address"""
atomicamount = c_uint64(int((float(amount)*1e12)))
address = str(address)
@@ -61,4 +61,4 @@ def transferfundsrpccall(amount, address, mixin, paymentid):
if __name__ == "__main__":
transferfundsrpccall()
transferFundsRPCCall()