Documentation ¶
Index ¶
- type APIAlg
- type APIEndpoint
- type AfterGenesisSet
- type BaseBlockstore
- type BootstrapPeers
- type Bootstrapper
- type ChainBitswap
- type ChainBlockService
- type ChainBlockstore
- type ClientBlockstore
- type ClientDataTransfer
- type ClientDatastore
- type ClientDealStore
- type ClientImportMgr
- type ClientMultiDstore
- type ClientRequestValidator
- type ClientRetrievalStoreManager
- type ColdBlockstore
- type ConsiderOfflineRetrievalDealsConfigFunc
- type ConsiderOfflineStorageDealsConfigFunc
- type ConsiderOnlineRetrievalDealsConfigFunc
- type ConsiderOnlineStorageDealsConfigFunc
- type DefaultMaxFeeFunc
- type DrandBootstrap
- type DrandConfig
- type DrandPoint
- type DrandSchedule
- type ExposedBlockstore
- type GetExpectedSealDurationFunc
- type GetSealingConfigFunc
- type Graphsync
- type HotBlockstore
- type MetadataDS
- type MinerAddress
- type MinerID
- type MpoolLocker
- type NetworkName
- type ProviderDataTransfer
- type ProviderDealStore
- type ProviderPieceStore
- type ProviderRequestValidator
- type RetrievalDealFilter
- type ScoreKeeper
- type SetConsiderOfflineRetrievalDealsConfigFunc
- type SetConsiderOfflineStorageDealsConfigFunc
- type SetConsiderOnlineRetrievalDealsConfigFunc
- type SetConsiderOnlineStorageDealsConfigFunc
- type SetExpectedSealDurationFunc
- type SetSealingConfigFunc
- type SetStorageDealPieceCidBlocklistConfigFunc
- type ShutdownChan
- type SplitBlockstore
- type StagingBlockstore
- type StagingDAG
- type StagingGraphsync
- type StagingMultiDstore
- type StateBlockstore
- type StorageDealFilter
- type StorageDealPieceCidBlocklistConfigFunc
- type UniversalBlockstore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIEndpoint ¶
type APIEndpoint multiaddr.Multiaddr
type AfterGenesisSet ¶
type AfterGenesisSet struct{}
type BootstrapPeers ¶
type Bootstrapper ¶
type Bootstrapper bool
type ChainBitswap ¶
type ChainBlockService ¶
type ChainBlockService bserv.BlockService
type ChainBlockstore ¶
type ChainBlockstore blockstore.Blockstore
ChainBlockstore is a blockstore to store chain data (tipsets, blocks, messages). It is physically backed by the BareMonolithBlockstore, but it has a cache on top that is specially tuned for chain data access patterns.
type ClientBlockstore ¶
type ClientBlockstore blockstore.BasicBlockstore
type ClientDataTransfer ¶
type ClientDataTransfer datatransfer.Manager
ClientDataTransfer is a data transfer manager for the client
type ClientDatastore ¶
type ClientDatastore datastore.Batching
type ClientDealStore ¶
type ClientDealStore *statestore.StateStore
type ClientImportMgr ¶
type ClientMultiDstore ¶
type ClientMultiDstore *multistore.MultiStore
type ClientRequestValidator ¶
type ClientRequestValidator *requestvalidation.UnifiedRequestValidator
type ClientRetrievalStoreManager ¶
type ClientRetrievalStoreManager retrievalstoremgr.RetrievalStoreManager
type ColdBlockstore ¶
type ColdBlockstore blockstore.Blockstore
ColdBlockstore is the Cold blockstore abstraction for the splitstore
type ConsiderOfflineRetrievalDealsConfigFunc ¶
ConsiderOfflineRetrievalDealsConfigFunc is a function which reads from miner config to determine if the user has disabled retrieval acceptance (or not).
type ConsiderOfflineStorageDealsConfigFunc ¶
ConsiderOfflineStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled storage deals (or not).
type ConsiderOnlineRetrievalDealsConfigFunc ¶
ConsiderOnlineRetrievalDealsConfigFunc is a function which reads from miner config to determine if the user has disabled retrieval acceptance (or not).
type ConsiderOnlineStorageDealsConfigFunc ¶
ConsiderOnlineStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled storage deals (or not).
type DefaultMaxFeeFunc ¶
type DefaultMaxFeeFunc func() (abi.TokenAmount, error)
type DrandBootstrap ¶
type DrandConfig ¶
type DrandPoint ¶
type DrandPoint struct { Start abi.ChainEpoch Config DrandConfig }
type DrandSchedule ¶
type DrandSchedule []DrandPoint
type ExposedBlockstore ¶
type ExposedBlockstore blockstore.Blockstore
ExposedBlockstore is a blockstore that interfaces directly with the network or with users, from which queries are served, and where incoming data is deposited. For security reasons, this store is disconnected from any internal caches. If blocks are added to this store in a way that could render caches dirty (e.g. a block is added when an existence cache holds a 'false' for that block), the process should signal so by calling blockstore.AllCaches.Dirty(cid).
type GetExpectedSealDurationFunc ¶
GetExpectedSealDurationFunc is a function which reads from miner too determine how long sealing is expected to take
type GetSealingConfigFunc ¶
GetSealingDelay returns how long a sector waits for more deals before sealing begins.
type HotBlockstore ¶
type HotBlockstore blockstore.Blockstore
HotBlockstore is the Hot blockstore abstraction for the splitstore
type MetadataDS ¶
type MetadataDS datastore.Batching
MetadataDS stores metadata. By default it's namespaced under /metadata in main repo datastore.
type MinerAddress ¶
type MinerAddress address.Address
type MpoolLocker ¶
type MpoolLocker struct {
// contains filtered or unexported fields
}
type NetworkName ¶
type NetworkName string
type ProviderDataTransfer ¶
type ProviderDataTransfer datatransfer.Manager
ProviderDataTransfer is a data transfer manager for the provider
type ProviderDealStore ¶
type ProviderDealStore *statestore.StateStore
type ProviderPieceStore ¶
type ProviderPieceStore piecestore.PieceStore
type ProviderRequestValidator ¶
type ProviderRequestValidator *requestvalidation.UnifiedRequestValidator
type RetrievalDealFilter ¶
type RetrievalDealFilter func(ctx context.Context, deal retrievalmarket.ProviderDealState) (bool, string, error)
type ScoreKeeper ¶
type ScoreKeeper struct {
// contains filtered or unexported fields
}
func (*ScoreKeeper) Get ¶
func (sk *ScoreKeeper) Get() map[peer.ID]*pubsub.PeerScoreSnapshot
func (*ScoreKeeper) Update ¶
func (sk *ScoreKeeper) Update(scores map[peer.ID]*pubsub.PeerScoreSnapshot)
type SetConsiderOfflineRetrievalDealsConfigFunc ¶
SetConsiderOfflineRetrievalDealsConfigFunc is a function which is used to disable or enable retrieval deal acceptance.
type SetConsiderOfflineStorageDealsConfigFunc ¶
SetConsiderOfflineStorageDealsConfigFunc is a function which is used to disable or enable storage deal acceptance.
type SetConsiderOnlineRetrievalDealsConfigFunc ¶
SetConsiderOnlineRetrievalDealsConfigFunc is a function which is used to disable or enable retrieval deal acceptance.
type SetConsiderOnlineStorageDealsConfigFunc ¶
SetConsiderOnlineStorageDealsConfigFunc is a function which is used to disable or enable storage deal acceptance.
type SetExpectedSealDurationFunc ¶
SetExpectedSealDurationFunc is a function which is used to set how long sealing is expected to take. Deals that would need to start earlier than this duration will be rejected.
type SetSealingConfigFunc ¶
SetSealingDelay sets how long a sector waits for more deals before sealing begins.
type SetStorageDealPieceCidBlocklistConfigFunc ¶
type SetStorageDealPieceCidBlocklistConfigFunc func([]cid.Cid) error
SetStorageDealPieceCidBlocklistConfigFunc is a function which is used to set a list of CIDs for which the miner will reject deal proposals.
type ShutdownChan ¶
type ShutdownChan chan struct{}
ShutdownChan is a channel to which you send a value if you intend to shut down the daemon (or miner), including the node and RPC server.
type SplitBlockstore ¶
type SplitBlockstore blockstore.Blockstore
SplitBlockstore is the hot/cold blockstore that sits on top of the ColdBlockstore.
type StagingBlockstore ¶
type StagingBlockstore blockstore.BasicBlockstore
type StagingDAG ¶
type StagingDAG format.DAGService
type StagingGraphsync ¶
type StagingGraphsync graphsync.GraphExchange
type StagingMultiDstore ¶
type StagingMultiDstore *multistore.MultiStore
type StateBlockstore ¶
type StateBlockstore blockstore.Blockstore
StateBlockstore is a blockstore to store state data (state tree). It is physically backed by the BareMonolithBlockstore, but it has a cache on top that is specially tuned for state data access patterns.
type StorageDealFilter ¶
type StorageDealPieceCidBlocklistConfigFunc ¶
type StorageDealPieceCidBlocklistConfigFunc func() ([]cid.Cid, error)
StorageDealPieceCidBlocklistConfigFunc is a function which reads from miner config to obtain a list of CIDs for which the miner will not accept storage proposals.
type UniversalBlockstore ¶
type UniversalBlockstore blockstore.Blockstore
UniversalBlockstore is the cold blockstore.