|
Monero
|
Variables | |
| url_parser = urllib.parse.urlparse | |
| str | USAGE = 'usage: python -i console.py [[[scheme]<host>:]<port> [[[scheme]<host>:]<port>...]]' |
| list | daemons = [] |
| list | wallets = [] |
| list | rpcs = [] |
| str | scheme = 'http' |
| str | host = '127.0.0.1' |
| port = None | |
| t = url_parser(sys.argv[n], allow_fragments = False) | |
| s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| rpc = framework.rpc.JSONRPC('{protocol}://{host}:{port}'.format(protocol=scheme, host=host, port=port)) | |
| dict | get_version |
| res = rpc.send_json_rpc_request(get_version) | |
| list | daemon = daemons[0] |
| list | wallet = wallets[0] |
| int | didx = 0 |
| int | widx = 0 |
| str | var = 1 else "daemons[" + str(didx) + "]" |
| list console.daemon = daemons[0] |
| list console.daemons = [] |
| int console.didx = 0 |
| dict console.get_version |
| str console.host = '127.0.0.1' |
| console.port = None |
| console.res = rpc.send_json_rpc_request(get_version) |
| console.rpc = framework.rpc.JSONRPC('{protocol}://{host}:{port}'.format(protocol=scheme, host=host, port=port)) |
| list console.rpcs = [] |
| console.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
| str console.scheme = 'http' |
| console.t = url_parser(sys.argv[n], allow_fragments = False) |
| console.url_parser = urllib.parse.urlparse |
| str console.USAGE = 'usage: python -i console.py [[[scheme]<host>:]<port> [[[scheme]<host>:]<port>...]]' |
| list console.wallet = wallets[0] |
| list console.wallets = [] |
| int console.widx = 0 |