Documentation ¶
Index ¶
- Constants
- Variables
- func APISecret(keystore types.KeyStore, lr repo.LockedRepo) (*dtypes.APIAlg, error)
- func ActorEventHandler(cfg config.EventsConfig) ...
- func AddressSelector(addrConf *config.MinerAddressConfig) func() (*ctladdr.AddressSelector, error)
- func BadgerHotBlockstore(lc fx.Lifecycle, r repo.LockedRepo) (dtypes.HotBlockstore, error)
- func BuiltinBootstrap() (dtypes.BootstrapPeers, error)
- func BuiltinDrandConfig() dtypes.DrandSchedule
- func ChainBitswap(lc fx.Lifecycle, mctx helpers.MetricsCtx, host host.Host, rt routing.Routing, ...) dtypes.ChainBitswap
- func ChainBlockService(bs dtypes.ExposedBlockstore, rem dtypes.ChainBitswap) dtypes.ChainBlockService
- func ChainFlatBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.UniversalBlockstore) (dtypes.ChainBlockstore, error)
- func ChainSplitBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.SplitBlockstore) (dtypes.ChainBlockstore, error)
- func ChainStore(lc fx.Lifecycle, mctx helpers.MetricsCtx, cbs dtypes.ChainBlockstore, ...) (*store.ChainStore, error)
- func CheckFdLimit(min uint64) func(al *alerting.Alerting)
- func CheckFvmConcurrency() func(al *alerting.Alerting)
- func CheckUDPBufferSize(wanted int) func(al *alerting.Alerting)
- func ConfigBootstrap(peers []string) func() (dtypes.BootstrapPeers, error)
- func ConnectSealingService(apiInfo string) ...
- func ConnectStorageService(apiInfo string) ...
- func Datastore(disableLog bool) ...
- func DiscardColdBlockstore(lc fx.Lifecycle, bs dtypes.UniversalBlockstore) (dtypes.ColdBlockstore, error)
- func DoSetGenesis(_ dtypes.AfterGenesisSet)
- func DrandBootstrap(ds dtypes.DrandSchedule) (dtypes.DrandBootstrap, error)
- func DummyMsgIndex() index.MsgIndex
- func EnableStoringEvents(cs *store.ChainStore)
- func EthEventHandler(cfg config.EventsConfig, enableEthRPC bool) ...
- func EthModuleAPI(cfg config.FevmConfig) ...
- func EventFilterManager(cfg config.EventsConfig) ...
- func ExposedSplitBlockstore(_ fx.Lifecycle, s dtypes.SplitBlockstore) dtypes.ExposedBlockstore
- func ExtractEnabledMinerSubsystems(cfg config.MinerSubsystemConfig) (res api.MinerSubsystems)
- func F3Participation(mctx helpers.MetricsCtx, lc fx.Lifecycle, api v1api.FullNode, ...) error
- func FallbackChainBlockstore(cbs dtypes.BasicChainBlockstore) dtypes.ChainBlockstore
- func FallbackStateBlockstore(sbs dtypes.BasicStateBlockstore) dtypes.StateBlockstore
- func GetParams(prover bool) func(spt abi.RegisteredSealProof) error
- func HandleIncomingBlocks(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, s *chain.Syncer, ...)
- func HandleIncomingMessages(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, ...)
- func HandlePaychManager(lc fx.Lifecycle, pm *paychmgr.Manager)
- func InitFallbackBlockstores(cbs dtypes.ChainBlockstore, sbs dtypes.StateBlockstore, ...) error
- func KeyStore(lr repo.LockedRepo) (types.KeyStore, error)
- func LoadGenesis(genBytes []byte) func(fx.Lifecycle, helpers.MetricsCtx, dtypes.ChainBlockstore) Genesis
- func LocalStorage(mctx helpers.MetricsCtx, lc fx.Lifecycle, ls paths.LocalStorage, ...) (*paths.Local, error)
- func LockedRepo(lr repo.LockedRepo) func(lc fx.Lifecycle) repo.LockedRepo
- func MakeUuidWrapper(a v1api.RawFullNodeAPI) v1api.FullNode
- func MemoryBlockstore() dtypes.UniversalBlockstore
- func MemoryConstraints() system.MemoryConstraints
- func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.MemoryConstraints)
- func MessagePool(lc fx.Lifecycle, mctx helpers.MetricsCtx, us stmgr.UpgradeSchedule, ...) (*messagepool.MessagePool, error)
- func MinerAddress(ds dtypes.MetadataDS) (dtypes.MinerAddress, error)
- func MinerID(ma dtypes.MinerAddress) (dtypes.MinerID, error)
- func MsgIndex(lc fx.Lifecycle, mctx helpers.MetricsCtx, cs *store.ChainStore, ...) (index.MsgIndex, error)
- func NetworkName(mctx helpers.MetricsCtx, lc fx.Lifecycle, cs *store.ChainStore, ...) (dtypes.NetworkName, error)
- func NewDefaultMaxFeeFunc(r repo.LockedRepo) dtypes.DefaultMaxFeeFunc
- func NewGetSealConfigFunc(r repo.LockedRepo) (dtypes.GetSealingConfigFunc, error)
- func NewManager(mctx helpers.MetricsCtx, lc fx.Lifecycle, sm stmgr.StateManagerAPI, ...) *paychmgr.Manager
- func NewPaychStore(ds dtypes.MetadataDS) *paychmgr.Store
- func NewSetSealConfigFunc(r repo.LockedRepo) (dtypes.SetSealingConfigFunc, error)
- func NewSlashFilter(ds dtypes.MetadataDS) *slashfilter.SlashFilter
- func NewSyncer(params SyncerParams) (*chain.Syncer, error)
- func NoopGCReferenceProtector(_ fx.Lifecycle) dtypes.GCReferenceProtector
- func OpenFilesystemJournal(lr repo.LockedRepo, lc fx.Lifecycle, disabled journal.DisabledEvents) (journal.Journal, error)
- func PreflightChecks(mctx helpers.MetricsCtx, lc fx.Lifecycle, api v1api.FullNode, ...) error
- func RandomSchedule(lc fx.Lifecycle, mctx helpers.MetricsCtx, p RandomBeaconParams, ...) (beacon.Schedule, error)
- func RecordValidator(ps peerstore.Peerstore) record.Validator
- func RelayIndexerMessages(lc fx.Lifecycle, ps *pubsub.PubSub, nn dtypes.NetworkName, h host.Host, ...) error
- func RemoteStorage(lstor *paths.Local, si paths.SectorIndex, sa sealer.StorageAuth, ...) *paths.Remote
- func RunChainExchange(h host.Host, svc exchange.Server)
- func RunConsensusFaultReporter(config config.FaultReporterConfig) ...
- func RunHello(mctx helpers.MetricsCtx, lc fx.Lifecycle, h host.Host, svc *hello.Service) error
- func RunPeerMgr(mctx helpers.MetricsCtx, lc fx.Lifecycle, pmgr *peermgr.PeerMgr)
- func SealProofType(maddr dtypes.MinerAddress, fnapi v1api.FullNode) (abi.RegisteredSealProof, error)
- func SealingPipeline(fc config.MinerFeeConfig) func(params SealingPipelineParams) (*sealing.Sealing, error)
- func SectorStorage(mctx helpers.MetricsCtx, lc fx.Lifecycle, lstor *paths.Local, stor paths.Store, ...) (*sealer.Manager, error)
- func SetGenesis(lc fx.Lifecycle, mctx helpers.MetricsCtx, cs *store.ChainStore, g Genesis) (dtypes.AfterGenesisSet, error)
- func SetupBlockProducer(lc fx.Lifecycle, ds dtypes.MetadataDS, api v1api.FullNode, ...) (*lotusminer.Miner, error)
- func SplitBlockstore(cfg *config.Chainstore) ...
- func SplitBlockstoreGCReferenceProtector(_ fx.Lifecycle, s dtypes.SplitBlockstore) dtypes.GCReferenceProtector
- func StateFlatBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.UniversalBlockstore) (dtypes.BasicStateBlockstore, error)
- func StateManager(lc fx.Lifecycle, cs *store.ChainStore, exec stmgr.Executor, ...) (*stmgr.StateManager, error)
- func StateSplitBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.SplitBlockstore) (dtypes.BasicStateBlockstore, error)
- func StorageAuth(ctx helpers.MetricsCtx, ca v0api.Common) (sealer.StorageAuth, error)
- func StorageAuthWithURL(apiInfo string) interface{}
- func StorageNetworkName(ctx helpers.MetricsCtx, a v1api.FullNode) (dtypes.NetworkName, error)
- func ToSealingConfig(dealmakingCfg config.DealmakingConfig, sealingCfg config.SealingConfig) sealiface.Config
- func UniversalBlockstore(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo) (dtypes.UniversalBlockstore, error)
- func UpgradeSchedule() stmgr.UpgradeSchedule
- func WindowPostScheduler(fc config.MinerFeeConfig, pc config.ProvingConfig) func(params SealingPipelineParams) (*wdpost.WindowPoStScheduler, error)
- type EventHelperAPI
- type Genesis
- type JwtPayload
- type MinerSealingService
- type MinerStorageService
- type MpoolNonceAPI
- type PaychAPI
- type RandomBeaconParams
- type SealingPipelineParams
- type SyncerParams
- type UuidWrapper
Constants ¶
View Source
const ( JWTSecretName = "auth-jwt-private" //nolint:gosec KTJwtHmacSecret = "jwt-hmac-secret" //nolint:gosec )
View Source
const ( // EnvWatchdogDisabled is an escape hatch to disable the watchdog explicitly // in case an OS/kernel appears to report incorrect information. The // watchdog will be disabled if the value of this env variable is 1. EnvWatchdogDisabled = "LOTUS_DISABLE_WATCHDOG" )
Variables ¶
View Source
var ManagerWorkPrefix = datastore.NewKey("/stmgr/calls")
View Source
var WorkerCallsPrefix = datastore.NewKey("/worker/calls")
Functions ¶
func ActorEventHandler ¶ added in v1.26.0
func ActorEventHandler(cfg config.EventsConfig) func(helpers.MetricsCtx, repo.LockedRepo, fx.Lifecycle, *filter.EventFilterManager, *store.ChainStore, *stmgr.StateManager, EventHelperAPI, *messagepool.MessagePool, full.StateAPI, full.ChainAPI) (*full.ActorEventHandler, error)
func AddressSelector ¶ added in v1.2.3
func AddressSelector(addrConf *config.MinerAddressConfig) func() (*ctladdr.AddressSelector, error)
func BadgerHotBlockstore ¶ added in v1.5.1
func BadgerHotBlockstore(lc fx.Lifecycle, r repo.LockedRepo) (dtypes.HotBlockstore, error)
func BuiltinBootstrap ¶
func BuiltinBootstrap() (dtypes.BootstrapPeers, error)
func BuiltinDrandConfig ¶ added in v0.4.1
func BuiltinDrandConfig() dtypes.DrandSchedule
func ChainBitswap ¶ added in v0.6.2
func ChainBitswap(lc fx.Lifecycle, mctx helpers.MetricsCtx, host host.Host, rt routing.Routing, bs dtypes.ExposedBlockstore) dtypes.ChainBitswap
ChainBitswap uses a blockstore that bypasses all caches.
func ChainBlockService ¶ added in v0.6.2
func ChainBlockService(bs dtypes.ExposedBlockstore, rem dtypes.ChainBitswap) dtypes.ChainBlockService
func ChainFlatBlockstore ¶ added in v1.5.1
func ChainFlatBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.UniversalBlockstore) (dtypes.ChainBlockstore, error)
func ChainSplitBlockstore ¶ added in v1.5.1
func ChainSplitBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.SplitBlockstore) (dtypes.ChainBlockstore, error)
func ChainStore ¶
func ChainStore(lc fx.Lifecycle, mctx helpers.MetricsCtx, cbs dtypes.ChainBlockstore, sbs dtypes.StateBlockstore, ds dtypes.MetadataDS, basebs dtypes.BaseBlockstore, weight store.WeightFunc, us stmgr.UpgradeSchedule, j journal.Journal) (*store.ChainStore, error)
func CheckFdLimit ¶ added in v1.11.3
func CheckFvmConcurrency ¶ added in v1.23.3
func CheckUDPBufferSize ¶ added in v1.25.2
func ConfigBootstrap ¶
func ConfigBootstrap(peers []string) func() (dtypes.BootstrapPeers, error)
func ConnectSealingService ¶ added in v1.11.1
func ConnectSealingService(apiInfo string) func(mctx helpers.MetricsCtx, lc fx.Lifecycle, fapi v1api.FullNode) (MinerSealingService, error)
func ConnectStorageService ¶ added in v1.11.1
func ConnectStorageService(apiInfo string) func(mctx helpers.MetricsCtx, lc fx.Lifecycle, fapi v1api.FullNode) (MinerStorageService, error)
func Datastore ¶
func Datastore(disableLog bool) func(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo) (dtypes.MetadataDS, error)
func DiscardColdBlockstore ¶ added in v1.11.1
func DiscardColdBlockstore(lc fx.Lifecycle, bs dtypes.UniversalBlockstore) (dtypes.ColdBlockstore, error)
func DoSetGenesis ¶ added in v0.3.0
func DoSetGenesis(_ dtypes.AfterGenesisSet)
func DrandBootstrap ¶ added in v0.4.0
func DrandBootstrap(ds dtypes.DrandSchedule) (dtypes.DrandBootstrap, error)
func DummyMsgIndex ¶ added in v1.23.1
func EnableStoringEvents ¶ added in v1.20.0
func EnableStoringEvents(cs *store.ChainStore)
func EthEventHandler ¶ added in v1.26.0
func EthEventHandler(cfg config.EventsConfig, enableEthRPC bool) func(helpers.MetricsCtx, repo.LockedRepo, fx.Lifecycle, *filter.EventFilterManager, *store.ChainStore, *stmgr.StateManager, EventHelperAPI, *messagepool.MessagePool, full.StateAPI, full.ChainAPI) (*full.EthEventHandler, error)
func EthModuleAPI ¶ added in v1.20.0
func EthModuleAPI(cfg config.FevmConfig) func(helpers.MetricsCtx, repo.LockedRepo, fx.Lifecycle, *store.ChainStore, *stmgr.StateManager, EventHelperAPI, *messagepool.MessagePool, full.StateAPI, full.ChainAPI, full.MpoolAPI, full.SyncAPI, *full.EthEventHandler) (*full.EthModule, error)
func EventFilterManager ¶ added in v1.26.0
func EventFilterManager(cfg config.EventsConfig) func(helpers.MetricsCtx, repo.LockedRepo, fx.Lifecycle, *store.ChainStore, *stmgr.StateManager, EventHelperAPI, full.ChainAPI) (*filter.EventFilterManager, error)
func ExposedSplitBlockstore ¶ added in v1.11.1
func ExposedSplitBlockstore(_ fx.Lifecycle, s dtypes.SplitBlockstore) dtypes.ExposedBlockstore
func ExtractEnabledMinerSubsystems ¶ added in v1.11.1
func ExtractEnabledMinerSubsystems(cfg config.MinerSubsystemConfig) (res api.MinerSubsystems)
func F3Participation ¶ added in v1.28.0
func F3Participation(mctx helpers.MetricsCtx, lc fx.Lifecycle, api v1api.FullNode, minerAddress dtypes.MinerAddress) error
func FallbackChainBlockstore ¶ added in v1.1.3
func FallbackChainBlockstore(cbs dtypes.BasicChainBlockstore) dtypes.ChainBlockstore
func FallbackStateBlockstore ¶ added in v1.5.1
func FallbackStateBlockstore(sbs dtypes.BasicStateBlockstore) dtypes.StateBlockstore
func HandleIncomingBlocks ¶
func HandleIncomingBlocks(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, s *chain.Syncer, bserv dtypes.ChainBlockService, chain *store.ChainStore, cns consensus.Consensus, h host.Host, nn dtypes.NetworkName)
func HandleIncomingMessages ¶
func HandleIncomingMessages(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, stmgr *stmgr.StateManager, mpool *messagepool.MessagePool, h host.Host, nn dtypes.NetworkName, bootstrapper dtypes.Bootstrapper)
func HandlePaychManager ¶ added in v1.9.0
HandlePaychManager is called by dependency injection to set up hooks
func InitFallbackBlockstores ¶ added in v1.5.1
func InitFallbackBlockstores(cbs dtypes.ChainBlockstore, sbs dtypes.StateBlockstore, rem dtypes.ChainBitswap) error
func LoadGenesis ¶
func LoadGenesis(genBytes []byte) func(fx.Lifecycle, helpers.MetricsCtx, dtypes.ChainBlockstore) Genesis
func LocalStorage ¶ added in v1.11.0
func LocalStorage(mctx helpers.MetricsCtx, lc fx.Lifecycle, ls paths.LocalStorage, si paths.SectorIndex, urls paths.URLs) (*paths.Local, error)
func LockedRepo ¶
func LockedRepo(lr repo.LockedRepo) func(lc fx.Lifecycle) repo.LockedRepo
func MakeUuidWrapper ¶ added in v1.17.2
func MakeUuidWrapper(a v1api.RawFullNodeAPI) v1api.FullNode
func MemoryBlockstore ¶ added in v1.16.0
func MemoryBlockstore() dtypes.UniversalBlockstore
func MemoryConstraints ¶ added in v1.2.3
func MemoryConstraints() system.MemoryConstraints
MemoryConstraints returns the memory constraints configured for this system.
func MemoryWatchdog ¶ added in v1.2.3
func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.MemoryConstraints)
MemoryWatchdog starts the memory watchdog, applying the computed resource constraints.
func MessagePool ¶
func MessagePool(lc fx.Lifecycle, mctx helpers.MetricsCtx, us stmgr.UpgradeSchedule, mpp messagepool.Provider, ds dtypes.MetadataDS, nn dtypes.NetworkName, j journal.Journal, protector dtypes.GCReferenceProtector) (*messagepool.MessagePool, error)
func MinerAddress ¶ added in v0.3.0
func MinerAddress(ds dtypes.MetadataDS) (dtypes.MinerAddress, error)
func MsgIndex ¶ added in v1.23.1
func MsgIndex(lc fx.Lifecycle, mctx helpers.MetricsCtx, cs *store.ChainStore, r repo.LockedRepo) (index.MsgIndex, error)
func NetworkName ¶ added in v0.3.0
func NetworkName(mctx helpers.MetricsCtx, lc fx.Lifecycle, cs *store.ChainStore, tsexec stmgr.Executor, syscalls vm.SyscallBuilder, us stmgr.UpgradeSchedule, _ dtypes.AfterGenesisSet) (dtypes.NetworkName, error)
func NewDefaultMaxFeeFunc ¶ added in v1.1.3
func NewDefaultMaxFeeFunc(r repo.LockedRepo) dtypes.DefaultMaxFeeFunc
func NewGetSealConfigFunc ¶ added in v0.5.0
func NewGetSealConfigFunc(r repo.LockedRepo) (dtypes.GetSealingConfigFunc, error)
func NewManager ¶ added in v1.9.0
func NewPaychStore ¶ added in v1.9.0
func NewPaychStore(ds dtypes.MetadataDS) *paychmgr.Store
func NewSetSealConfigFunc ¶ added in v0.5.0
func NewSetSealConfigFunc(r repo.LockedRepo) (dtypes.SetSealingConfigFunc, error)
func NewSlashFilter ¶ added in v0.5.0
func NewSlashFilter(ds dtypes.MetadataDS) *slashfilter.SlashFilter
func NoopGCReferenceProtector ¶ added in v1.11.1
func NoopGCReferenceProtector(_ fx.Lifecycle) dtypes.GCReferenceProtector
func OpenFilesystemJournal ¶ added in v0.7.1
func OpenFilesystemJournal(lr repo.LockedRepo, lc fx.Lifecycle, disabled journal.DisabledEvents) (journal.Journal, error)
func PreflightChecks ¶ added in v1.17.2
func PreflightChecks(mctx helpers.MetricsCtx, lc fx.Lifecycle, api v1api.FullNode, maddr dtypes.MinerAddress) error
func RandomSchedule ¶ added in v0.7.0
func RandomSchedule(lc fx.Lifecycle, mctx helpers.MetricsCtx, p RandomBeaconParams, _ dtypes.AfterGenesisSet) (beacon.Schedule, error)
func RecordValidator ¶
RecordValidator provides namesys compatible routing record validator
func RelayIndexerMessages ¶ added in v1.15.1
func RelayIndexerMessages(lc fx.Lifecycle, ps *pubsub.PubSub, nn dtypes.NetworkName, h host.Host, chainModule full.ChainModuleAPI, stateModule full.StateModuleAPI) error
func RemoteStorage ¶ added in v1.11.0
func RemoteStorage(lstor *paths.Local, si paths.SectorIndex, sa sealer.StorageAuth, sc config.SealerConfig) *paths.Remote
func RunConsensusFaultReporter ¶ added in v1.23.3
func RunConsensusFaultReporter(config config.FaultReporterConfig) func(mctx helpers.MetricsCtx, lc fx.Lifecycle, mod consensusReporterModules) error
func RunPeerMgr ¶
func SealProofType ¶ added in v1.2.0
func SealProofType(maddr dtypes.MinerAddress, fnapi v1api.FullNode) (abi.RegisteredSealProof, error)
func SealingPipeline ¶ added in v1.17.2
func SealingPipeline(fc config.MinerFeeConfig) func(params SealingPipelineParams) (*sealing.Sealing, error)
func SectorStorage ¶ added in v0.3.0
func SectorStorage(mctx helpers.MetricsCtx, lc fx.Lifecycle, lstor *paths.Local, stor paths.Store, ls paths.LocalStorage, si paths.SectorIndex, sc config.SealerConfig, pc config.ProvingConfig, ds dtypes.MetadataDS) (*sealer.Manager, error)
func SetGenesis ¶
func SetGenesis(lc fx.Lifecycle, mctx helpers.MetricsCtx, cs *store.ChainStore, g Genesis) (dtypes.AfterGenesisSet, error)
func SetupBlockProducer ¶
func SetupBlockProducer(lc fx.Lifecycle, ds dtypes.MetadataDS, api v1api.FullNode, epp gen.WinningPoStProver, sf *slashfilter.SlashFilter, j journal.Journal) (*lotusminer.Miner, error)
func SplitBlockstore ¶ added in v1.5.1
func SplitBlockstore(cfg *config.Chainstore) func(lc fx.Lifecycle, r repo.LockedRepo, ds dtypes.MetadataDS, cold dtypes.ColdBlockstore, hot dtypes.HotBlockstore) (dtypes.SplitBlockstore, error)
func SplitBlockstoreGCReferenceProtector ¶ added in v1.11.1
func SplitBlockstoreGCReferenceProtector(_ fx.Lifecycle, s dtypes.SplitBlockstore) dtypes.GCReferenceProtector
func StateFlatBlockstore ¶ added in v1.5.1
func StateFlatBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.UniversalBlockstore) (dtypes.BasicStateBlockstore, error)
func StateManager ¶ added in v1.4.2
func StateManager(lc fx.Lifecycle, cs *store.ChainStore, exec stmgr.Executor, sys vm.SyscallBuilder, us stmgr.UpgradeSchedule, b beacon.Schedule, metadataDs dtypes.MetadataDS, msgIndex index.MsgIndex) (*stmgr.StateManager, error)
func StateSplitBlockstore ¶ added in v1.5.1
func StateSplitBlockstore(_ fx.Lifecycle, _ helpers.MetricsCtx, bs dtypes.SplitBlockstore) (dtypes.BasicStateBlockstore, error)
func StorageAuth ¶ added in v0.3.0
func StorageAuth(ctx helpers.MetricsCtx, ca v0api.Common) (sealer.StorageAuth, error)
func StorageAuthWithURL ¶ added in v1.11.1
func StorageAuthWithURL(apiInfo string) interface{}
func StorageNetworkName ¶ added in v0.3.0
func StorageNetworkName(ctx helpers.MetricsCtx, a v1api.FullNode) (dtypes.NetworkName, error)
func ToSealingConfig ¶ added in v1.10.1
func ToSealingConfig(dealmakingCfg config.DealmakingConfig, sealingCfg config.SealingConfig) sealiface.Config
func UniversalBlockstore ¶ added in v1.5.1
func UniversalBlockstore(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo) (dtypes.UniversalBlockstore, error)
UniversalBlockstore returns a single universal blockstore that stores both chain data and state data. It can be backed by a blockstore directly (e.g. Badger), or by a Splitstore.
func UpgradeSchedule ¶ added in v1.16.0
func UpgradeSchedule() stmgr.UpgradeSchedule
func WindowPostScheduler ¶ added in v1.15.2
func WindowPostScheduler(fc config.MinerFeeConfig, pc config.ProvingConfig) func(params SealingPipelineParams) (*wdpost.WindowPoStScheduler, error)
Types ¶
type EventHelperAPI ¶ added in v1.26.0
type Genesis ¶
type Genesis func() (*types.BlockHeader, error)
func ErrorGenesis ¶
func ErrorGenesis() Genesis
type JwtPayload ¶ added in v0.5.0
type JwtPayload struct {
Allow []auth.Permission
}
type MinerSealingService ¶ added in v1.11.1
type MinerSealingService api.StorageMiner
type MinerStorageService ¶ added in v1.11.1
type MinerStorageService api.StorageMiner
type MpoolNonceAPI ¶ added in v0.9.1
type MpoolNonceAPI struct { fx.In ChainModule full.ChainModuleAPI StateModule full.StateModuleAPI }
MpoolNonceAPI substitutes the mpool nonce with an implementation that doesn't rely on the mpool - it just gets the nonce from actor state
type RandomBeaconParams ¶ added in v0.3.1
type RandomBeaconParams struct { fx.In PubSub *pubsub.PubSub `optional:"true"` Cs *store.ChainStore DrandConfig dtypes.DrandSchedule }
type SealingPipelineParams ¶ added in v1.17.2
type SealingPipelineParams struct { fx.In Lifecycle fx.Lifecycle MetricsCtx helpers.MetricsCtx API v1api.FullNode MetadataDS dtypes.MetadataDS Sealer sealer.SectorManager Verifier storiface.Verifier Prover storiface.Prover GetSealingConfigFn dtypes.GetSealingConfigFunc Journal journal.Journal AddrSel *ctladdr.AddressSelector Maddr dtypes.MinerAddress }
type SyncerParams ¶ added in v0.7.1
type UuidWrapper ¶ added in v1.17.2
func (*UuidWrapper) MpoolPushMessage ¶ added in v1.17.2
func (a *UuidWrapper) MpoolPushMessage(ctx context.Context, msg *types.Message, spec *api.MessageSendSpec) (*types.SignedMessage, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.