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