Monero
Loading...
Searching...
No Matches
Variables
console Namespace Reference

Variables

 try :
 
urllib url_parser = urllib.parse.urlparse
 
 except :
 
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'
 
None port = None
 
urllib t = url_parser(sys.argv[n], allow_fragments = False)
 
socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 
framework rpc = framework.rpc.JSONRPC('{protocol}://{host}:{port}'.format(protocol=scheme, host=host, port=port))
 
dict get_version
 
framework res = rpc.send_json_rpc_request(get_version)
 
 else :
 
list daemon = daemons[0]
 
list wallet = wallets[0]
 
int didx = 0
 
int widx = 0
 
str var = 1 else "daemons[" + str(didx) + "]"
 

Variable Documentation

◆ daemon

list console.daemon = daemons[0]

◆ daemons

list console.daemons = []

◆ didx

int console.didx = 0

◆ else

console.else :

◆ except

console.except :

◆ get_version

dict console.get_version
Initial value:
1= {
2 'method': 'get_version',
3 'jsonrpc': '2.0',
4 'id': '0'
5 }

◆ host

urllib console.host = '127.0.0.1'

◆ port

urllib console.port = None

◆ res

framework console.res = rpc.send_json_rpc_request(get_version)

◆ rpc

framework console.rpc = framework.rpc.JSONRPC('{protocol}://{host}:{port}'.format(protocol=scheme, host=host, port=port))

◆ rpcs

list console.rpcs = []

◆ s

socket console.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

◆ scheme

urllib console.scheme = 'http'

◆ t

urllib console.t = url_parser(sys.argv[n], allow_fragments = False)

◆ try

console.try :

◆ url_parser

urlparse console.url_parser = urllib.parse.urlparse

◆ USAGE

str console.USAGE = 'usage: python -i console.py [[[scheme]<host>:]<port> [[[scheme]<host>:]<port>...]]'

◆ var

str console.var = 1 else "daemons[" + str(didx) + "]"

◆ wallet

list console.wallet = wallets[0]

◆ wallets

list console.wallets = []

◆ widx

int console.widx = 0