Skip to content

Latest commit

 

History

History
313 lines (209 loc) · 8.08 KB

node.rst

File metadata and controls

313 lines (209 loc) · 8.08 KB

Node

bootstrap

Initialize bootstrap to specific IP address and port :pynano.rpc.Client.bootstrap(address, port) <nano.rpc.Client.bootstrap>

bootstrap_any

Initialize multi-connection bootstrap to random peers :pynano.rpc.Client.bootstrap_any() <nano.rpc.Client.bootstrap_any>

keepalive

Tells the node to send a keepalive packet to address:port :pynano.rpc.Client.keepalive(address, port) <nano.rpc.Client.keepalive>

peers

Returns a list of pairs of peer IPv6:port and its node network version :pynano.rpc.Client.peers() <nano.rpc.Client.peers>

receive_minimum

Returns receive minimum for node :pynano.rpc.Client.receive_minimum() <nano.rpc.Client.receive_minimum>

receive_minimum_set

Set amount as new receive minimum for node until restart :pynano.rpc.Client.receive_minimum_set(amount) <nano.rpc.Client.receive_minimum_set>

search_pending_all

Tells the node to look for pending blocks for any account in all available wallets :pynano.rpc.Client.search_pending_all() <nano.rpc.Client.search_pending_all>

stop

Stop the node :pynano.rpc.Client.stop() <nano.rpc.Client.stop>

unchecked

Returns a list of pairs of unchecked synchronizing block hash and its json representation up to count :pynano.rpc.Client.unchecked(count=None) <nano.rpc.Client.unchecked>

unchecked_clear

Clear unchecked synchronizing blocks :pynano.rpc.Client.unchecked_clear() <nano.rpc.Client.unchecked_clear>

unchecked_get

Retrieves a json representation of unchecked synchronizing block by hash :pynano.rpc.Client.unchecked_get(hash) <nano.rpc.Client.unchecked_get>

unchecked_keys

Retrieves unchecked database keys, blocks hashes & a json representations of unchecked pending blocks starting from key up to count :pynano.rpc.Client.unchecked_keys(key=None, count=None) <nano.rpc.Client.unchecked_keys>

version

Returns the node's RPC version :pynano.rpc.Client.version() <nano.rpc.Client.version>