[][src]Crate fil_types

Re-exports

pub use self::sector::*;

Modules

build_version
deadlines
genesis
sector

Structs

DevnetParams
FIL_RESERVED
PaddedPieceSize

Size of a piece in bytes with padding

PieceInfo
Randomness

String of random bytes

StateInfo0
StateRoot
TOTAL_FILECOIN

Total Filecoin available to the network.

UnpaddedPieceSize

Size of a piece in bytes

Enums

NetworkVersion

Specifies the network version

StateTreeVersion

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_DELAY_SECS

Block delay, or epoch duration, to be used in blockchain system.

BLOCK_GAS_LIMIT
FILECOIN_PRECISION

Ratio of integer values to token value.

HAMT_BIT_WIDTH

Default bit width for the hamt in the filecoin protocol.

NEWEST_NETWORK_VERSION
TICKET_RANDOMNESS_LOOKBACK
TOTAL_FILECOIN_BASE
UPGRADE_ACTORS_V2_HEIGHT

V4 network upgrade

UPGRADE_BREEZE_HEIGHT

V1 network upgrade

UPGRADE_IGNITION_HEIGHT

V3 network upgrade

UPGRADE_KUMQUAT_HEIGHT

v6 network upgrade

UPGRADE_LIFTOFF_HEIGHT
UPGRADE_SMOKE_HEIGHT

V2 network upgrade

UPGRADE_TAPE_HEIGHT

V5 network upgrade

WINNING_POST_SECTOR_SET_LOOKBACK

Traits

NetworkParams

Config trait which handles different network configurations.

Functions

get_network_version_default

Gets network version from epoch using default Mainnet schedule

use_newest_network

this function helps us check if we shoudl be getting the newest network

Type Definitions

ActorID

Identifier for Actors, includes builtin and initialized actors