Skip to content
package

neo3.network.payloads

P2P network payloads and related classes.

module

neo3.network.payloads.address

Node address information.

Classes
module

neo3.network.payloads.block

Block payload and related classes.

Classes
  • Block The famous Block. I transfer chain state.
  • GetBlockByIndexPayload Used to request full Block or Header objects via a message with the message.MessageType.GETBLOCKBYINDEX or message.MessageType.GETHEADERS type respectively.
  • GetBlocksPayload Used to request an array of block hashes that can be retrieved via a message with themessage.MessageType.GETDATA type.
  • Header A Block header only object.
  • HeadersPayload Payload for sending or receiving Block headers.
  • MerkleBlockPayload Payload for transfering merkletree hashes of a block.
  • TrimmedBlock A size reduced Block instance.
module

neo3.network.payloads.extensible

Customizable payload.

Classes
module

neo3.network.payloads.filter

Bloomfilter payloads.

Classes
  • FilterAddPayload An interface like class supporting NEO's network serialization protocol.
  • FilterLoadPayload An interface like class supporting NEO's network serialization protocol.
module

neo3.network.payloads.ping

Heartbeat payload with chain height information.

Classes
  • PingPayload An interface like class supporting NEO's network serialization protocol.
module

neo3.network.payloads.transaction

Transaction payload and related classes.

Classes
module

neo3.network.payloads.verification

Classes for managing transaction signers and signature scopes.

Classes
  • ConditionAnd Match all conditions.
  • ConditionBool Fixed value. Can be used to emulate GLOBAL scope.
  • ConditionCalledByContract Match hash against caller script hash.
  • ConditionCalledByEntry Match hash against entry script hash.
  • ConditionCalledByGroup Match key against the caller group.
  • ConditionGroup Match group against current script hash.
  • ConditionNot Invert condition.
  • ConditionOr Match any from a list of conditions.
  • ConditionScriptHash Match hash against another script hash.
  • IVerifiable(*args, **kwargs) Verifiable interface.
  • Signer A class that specifies the rules of who can pass CheckWitness() verifications in a smart contract.
  • Witness An executable verification script that validates a verifiable object like a transaction.
  • WitnessCondition() Base class for conditions.
  • WitnessRule A firewall like rule with an action to deny or allow if the condition matches. Gives fine-grained control overwhere the signature of the witness is valid inside the system.
module

neo3.network.payloads.version

Payload containing node information.

Classes