[wallet] Add rpc tests to verify fee calculations

Conflicts:
	qa/rpc-tests/wallet.py

Rebased-From: fa506c0c9b
This commit is contained in:
MarcoFalke
2015-09-21 12:49:13 +02:00
committed by Wladimir J. van der Laan
parent 7d0a05f4c1
commit 5f09cda0bf
2 changed files with 33 additions and 15 deletions

View File

@@ -32,6 +32,9 @@ def check_json_precision():
if satoshis != 2000000000000003:
raise RuntimeError("JSON encode/decode loses precision")
def count_bytes(hex_string):
return len(bytearray.fromhex(hex_string))
def sync_blocks(rpc_connections, wait=1):
"""
Wait until everybody has the same block count