Re-exports§
pub use self::sector::*;
Modules§
Structs§
- Default
Network Params - Params for the network. This is now continued on into mainnet and is static across networks.
- FIL_
RESERVED - Amount of total Filecoin reserved in a static ID address.
- Padded
Piece Size - Size of a piece in bytes with padding.
- Piece
Info - Piece information for part or a whole file.
- Randomness
- String of random bytes usually generated from a randomness beacon or from tickets on chain.
- State
Info0 - Empty state tree information. This is serialized as an array for future proofing.
- State
Root - State root information. Contains information about the version of the state tree, the root of the tree, and a link to the information about the tree.
- TOTAL_
FILECOIN - Total Filecoin available to the network.
- Unpadded
Piece Size - Size of a piece in bytes.
- ZERO_
ADDRESS - Zero address used to avoid allowing it to be used for verification. This is intentionally disallowed because it is an edge case with Filecoin’s BLS signature verification.
Enums§
- Network
Version - Specifies the network version
- State
Tree Version - Specifies the version of the state tree
Constants§
- ALLOWABLE_
CLOCK_ DRIFT - Allowable clock drift in validations.
- BLOCKS_
PER_ EPOCH - The expected number of block producers in each epoch.
- BLOCK_
GAS_ LIMIT - Total gas limit allowed per block. This is shared across networks.
- FILECOIN_
PRECISION - Ratio of integer values to token value.
- HAMT_
BIT_ WIDTH - Default bit width for the hamt in the filecoin protocol.
- RANDOMNESS_
LENGTH - TICKET_
RANDOMNESS_ LOOKBACK - Lookback height for retrieving ticket randomness.
- TOTAL_
FILECOIN_ BASE - Total Filecoin supply.
- WINNING_
POST_ SECTOR_ SET_ LOOKBACK - Epochs to look back for verifying PoSt proofs.
Traits§
- Network
Params - Config trait which handles different network configurations.
Type Aliases§
- ActorID
- Identifier for Actors, includes builtin and initialized actors