Crate fil_types[][src]

Re-exports

pub use self::sector::*;

Modules

Structs

Params for the network. This is now continued on into mainnet and is static across networks.

Amount of total Filecoin reserved in a static ID address.

Size of a piece in bytes with padding.

Piece information for part or a whole file.

String of random bytes usually generated from a randomness beacon or from tickets on chain.

Empty state tree information. This is serialized as an array for future proofing.

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 available to the network.

Size of a piece in bytes.

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

Specifies the network version

Specifies the version of the state tree

Constants

Allowable clock drift in validations.

The expected number of block producers in each epoch.

Total gas limit allowed per block. This is shared across networks.

Ratio of integer values to token value.

Default bit width for the hamt in the filecoin protocol.

Lookback height for retrieving ticket randomness.

Total Filecoin supply.

Epochs to look back for verifying PoSt proofs.

Traits

Config trait which handles different network configurations.

Type Definitions

Identifier for Actors, includes builtin and initialized actors