Crate forest_filecoin
source ยทModulesยง
- auth ๐
- beacon ๐
- blocks ๐
- chain ๐
- chain_
sync ๐ - cid_
collections ๐ - cli ๐
- cli_
shared ๐ - daemon ๐
- db ๐
- documentation ๐This is an empty module for documentation purposes.
- eth ๐
- f3 ๐
- fil_cns ๐
- genesis ๐
- health ๐
- interpreter ๐
- ipld ๐
- key_
management ๐ - libp2p ๐
- libp2p_
bitswap ๐Another libp2p bitswap(SPEC) implementation in Rust. - lotus_
json ๐In the Filecoin ecosystem, there are TWO different ways to present a domain object: - message ๐
- message_
pool ๐ - metrics ๐
- networks ๐
- rpc ๐
- shim ๐
- state_
manager ๐ - state_
migration ๐ - statediff ๐
- test_
utils ๐ - 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. - Creates a new calibnet policy with the given version.
- Creates a new devnet policy with the given version. Works with
v10
onward. - Creates a new mainnet policy with the given version.
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