Crate forest_filecoin
source ·Modules§
- auth 🔒
- beacon 🔒
- blocks 🔒
- chain 🔒
- cli 🔒
- daemon 🔒
- db 🔒
- This is an empty module for documentation purposes.
- fil_cns 🔒
- genesis 🔒
- ipld 🔒
- libp2p 🔒
- Another libp2p bitswap(SPEC) implementation in Rust.
- In the Filecoin ecosystem, there are TWO different ways to present a domain object:
- message 🔒
- metrics 🔒
- networks 🔒
- rpc 🔒
- rpc_api 🔒In general,
forest
wants to support the same RPC messages aslotus
(go implementation of Filecoin). - shim 🔒
- tool 🔒
- utils 🔒
- wallet 🔒
Macros§
- Define type aliases for system actor
State
types before and after the state migration, namelySystemStateOld
andSystemStateNew
- Implements
fn system_migrator
, requiring proper system actorState
types being defined bydefine_system_states
macro. - Implements
Verifier
, requiring properManifest
types and system actorState
types being defined bydefine_manifests
anddefine_system_states
macros respectively. - Creates a new butterfly policy with the given version. Works for
v10
onward.
Structs§
KeyStore
structure, this contains a set ofKeyInfos
indexed by address.
Enums§
Constants§
- Environmental variable which holds the
KeyStore
encryption phrase. - constant string that is used to identify the JWT secret key in
KeyStore
Statics§
- GLOBAL 🔒
Functions§
- Verify JWT Token and return the allowed permissions from token