Skip to content
package

neo3.network

P2P network classes. Holds Block and Transaction payloads (among others), a network node and helper classes for syncing the chain.

package

neo3.network.convenience

Helper classes to sync the chain over the P2P network and manage nodes.

module

neo3.network.ipfilter

A module for filtering IPs via black and whitelists on P2P nodes (NeoNode).

A global instance ipfilter can be imported directly from the module and is taken into account by default in the NeoNode class when connections are established.

Classes
module

neo3.network.message

P2P network message classes.

Classes
  • Message P2P network message container.
module

neo3.network.node

P2P node. Connects over TCP. Handles network messages.

Classes
Functions
  • encode_base62(num) Encode number in base62, returns a string.
package

neo3.network.payloads

P2P network payloads and related classes.

module

neo3.network.relaycache

Local cache to hold objects for responding to GETDATA network payloads.

Classes
  • RelayCache A cache holding transactions broadcast to the network to be included in a block.