Documentation
¶
Index ¶
- func LoadBundle(ctx context.Context, bs blockstore.Blockstore, r io.Reader) (cid.Cid, error)
- func LoadBundleFromFile(ctx context.Context, bs blockstore.Blockstore, path string) (cid.Cid, error)
- func LoadBundles(ctx context.Context, bs blockstore.Blockstore, versions ...actorstypes.Version) error
- func LoadGenesisBundle(ctx context.Context, bs blockstore.Blockstore, genesis *types.BlockHeader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadBundle ¶
func LoadBundle(ctx context.Context, bs blockstore.Blockstore, r io.Reader) (cid.Cid, error)
func LoadBundleFromFile ¶
func LoadBundleFromFile(ctx context.Context, bs blockstore.Blockstore, path string) (cid.Cid, error)
func LoadBundles ¶
func LoadBundles(ctx context.Context, bs blockstore.Blockstore, versions ...actorstypes.Version) error
LoadBundles loads the bundles for the specified actor versions into the passed blockstore, if and only if the bundle's manifest is not already present in the blockstore.
func LoadGenesisBundle ¶ added in v1.37.0
func LoadGenesisBundle(ctx context.Context, bs blockstore.Blockstore, genesis *types.BlockHeader) error
LoadGenesisBundle loads the bundle for the actors version the genesis state is based on, if that's a wasm bundle version (v8 or later). Legacy genesis states (v0 to v7, identity-hashed code CIDs) and code CIDs unknown to this build are left alone.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.