Node¶
bootstrap¶
Initialize bootstrap to specific IP address and port
raiblocks.rpc.RPCClient.bootstrap(address, port)
bootstrap_any¶
Initialize multi-connection bootstrap to random peers
raiblocks.rpc.RPCClient.bootstrap_any()
keepalive¶
Tells the node to send a keepalive packet to address:port
raiblocks.rpc.RPCClient.keepalive(address, port)
peers¶
Returns a list of pairs of peer IPv6:port and its node network version
raiblocks.rpc.RPCClient.peers()
receive_minimum¶
Returns receive minimum for node
raiblocks.rpc.RPCClient.receive_minimum()
receive_minimum_set¶
Set amount as new receive minimum for node until restart
raiblocks.rpc.RPCClient.receive_minimum_set(amount)
search_pending_all¶
Tells the node to look for pending blocks for any account in all available wallets
raiblocks.rpc.RPCClient.search_pending_all()
stop¶
Stop the node
raiblocks.rpc.RPCClient.stop()
unchecked¶
Returns a list of pairs of unchecked synchronizing block hash and its json representation up to count
raiblocks.rpc.RPCClient.unchecked(count=None)
unchecked_clear¶
Clear unchecked synchronizing blocks
raiblocks.rpc.RPCClient.unchecked_clear()
unchecked_get¶
Retrieves a json representation of unchecked synchronizing block by hash
raiblocks.rpc.RPCClient.unchecked_get(hash)
unchecked_keys¶
Retrieves unchecked database keys, blocks hashes & a json representations of unchecked pending blocks starting from key up to count
raiblocks.rpc.RPCClient.unchecked_keys(key=None, count=None)
version¶
Returns the node’s RPC version
raiblocks.rpc.RPCClient.version()