Module pchain_types::blockchain
source · Expand description
Types which appear in blocks like transactions and receipts, and also blocks themselves.
Structs
- A data structure that describes and authorizes the execution of a batch of transactions (state transitions) on the blockchain.
- Block header defines meta information of a block, including evidence for verifying validity of the block.
- A CommandReceipt summarizes the result of execution of a Command.
- Log are messages produced by smart contract executions that are persisted on the blockchain in a cryptographically-provable way. Log produced by transactions that call smart contracts are stored in the
logsfield of a Block in the order in which they are emitted. - Digitally signed instructions that tell the ParallelChain state machine to execute a sequence of commands.
Enums
- ExitStatus defines the success and error types of receipt.
Type Definitions
- Receipt defines the result of transaction execution.