mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Fix minor bugs in JSONRPC daemon backend and offline wallet, add tests
This commit is contained in:
parent
3478e24d33
commit
64149f6323
8 changed files with 173 additions and 7 deletions
38
tests/data/test_jsonrpcdaemon/test_basic_info-get_info.json
Normal file
38
tests/data/test_jsonrpcdaemon/test_basic_info-get_info.json
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"alt_blocks_count": 188,
|
||||
"block_size_limit": 600000,
|
||||
"block_size_median": 300000,
|
||||
"block_weight_limit": 600000,
|
||||
"block_weight_median": 300000,
|
||||
"bootstrap_daemon_address": "",
|
||||
"cumulative_difficulty": 11208345440,
|
||||
"database_size": 4434726912,
|
||||
"difficulty": 8068,
|
||||
"free_space": 18446744073709551615,
|
||||
"grey_peerlist_size": 580,
|
||||
"height": 294993,
|
||||
"height_without_bootstrap": 294993,
|
||||
"incoming_connections_count": 22,
|
||||
"mainnet": false,
|
||||
"nettype": "stagenet",
|
||||
"offline": false,
|
||||
"outgoing_connections_count": 5,
|
||||
"rpc_connections_count": 1,
|
||||
"stagenet": true,
|
||||
"start_time": 1552341929,
|
||||
"status": "OK",
|
||||
"target": 120,
|
||||
"target_height": 294919,
|
||||
"testnet": false,
|
||||
"top_block_hash": "e93984090c86b3b97b8a73c3fa0688acb3ea46603274e69cdbeef94b4b62fd78",
|
||||
"tx_count": 102229,
|
||||
"tx_pool_size": 2,
|
||||
"untrusted": false,
|
||||
"update_available": false,
|
||||
"was_bootstrap_ever_used": false,
|
||||
"white_peerlist_size": 110
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue