Documentation ¶
Index ¶
- type APIAlg
- type APIEndpoint
- type AfterGenesisSet
- type BootstrapPeers
- type Bootstrapper
- type ChainBitswap
- type ChainBlockService
- type ChainBlockstore
- type ChainGCBlockstore
- type ChainGCLocker
- type ClientBlockstore
- type ClientDataTransfer
- type ClientDatastore
- type ClientDealStore
- type ClientImportMgr
- type ClientMultiDstore
- type ClientRequestValidator
- type ClientRetrievalStoreManager
- type ConsiderOfflineRetrievalDealsConfigFunc
- type ConsiderOfflineStorageDealsConfigFunc
- type ConsiderOnlineRetrievalDealsConfigFunc
- type ConsiderOnlineStorageDealsConfigFunc
- type DealFilter
- type DrandBootstrap
- type DrandConfig
- type DrandPoint
- type DrandSchedule
- type GetExpectedSealDurationFunc
- type GetSealingConfigFunc
- type Graphsync
- type MetadataDS
- type MinerAddress
- type MinerID
- type MpoolLocker
- type NetworkName
- type ProviderDataTransfer
- type ProviderDealStore
- type ProviderPieceStore
- type ProviderRequestValidator
- type ScoreKeeper
- type SetConsiderOfflineRetrievalDealsConfigFunc
- type SetConsiderOfflineStorageDealsConfigFunc
- type SetConsiderOnlineRetrievalDealsConfigFunc
- type SetConsiderOnlineStorageDealsConfigFunc
- type SetExpectedSealDurationFunc
- type SetSealingConfigFunc
- type SetStorageDealPieceCidBlocklistConfigFunc
- type ShutdownChan
- type StagingBlockstore
- type StagingDAG
- type StagingGraphsync
- type StagingMultiDstore
- type StorageDealPieceCidBlocklistConfigFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIEndpoint ¶ added in v0.3.0
type APIEndpoint multiaddr.Multiaddr
type AfterGenesisSet ¶ added in v0.3.0
type AfterGenesisSet struct{}
type BootstrapPeers ¶
type Bootstrapper ¶ added in v0.3.0
type Bootstrapper bool
type ChainBitswap ¶ added in v0.6.2
type ChainBlockService ¶
type ChainBlockService bserv.BlockService
type ChainBlockstore ¶
type ChainBlockstore blockstore.Blockstore
type ChainGCBlockstore ¶
type ChainGCBlockstore blockstore.GCBlockstore
type ChainGCLocker ¶
type ChainGCLocker blockstore.GCLocker
type ClientBlockstore ¶
type ClientBlockstore blockstore.Blockstore
type ClientDataTransfer ¶
type ClientDataTransfer datatransfer.Manager
ClientDataTransfer is a data transfer manager for the client
type ClientDatastore ¶ added in v0.3.0
type ClientDatastore datastore.Batching
type ClientDealStore ¶
type ClientDealStore *statestore.StateStore
type ClientImportMgr ¶ added in v0.5.0
type ClientMultiDstore ¶ added in v0.5.0
type ClientMultiDstore *multistore.MultiStore
type ClientRequestValidator ¶ added in v0.3.1
type ClientRequestValidator *requestvalidation.UnifiedRequestValidator
type ClientRetrievalStoreManager ¶ added in v0.5.0
type ClientRetrievalStoreManager retrievalstoremgr.RetrievalStoreManager
type ConsiderOfflineRetrievalDealsConfigFunc ¶ added in v0.4.1
ConsiderOfflineRetrievalDealsConfigFunc is a function which reads from miner config to determine if the user has disabled retrieval acceptance (or not).
type ConsiderOfflineStorageDealsConfigFunc ¶ added in v0.4.1
ConsiderOfflineStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled storage deals (or not).
type ConsiderOnlineRetrievalDealsConfigFunc ¶ added in v0.4.1
ConsiderOnlineRetrievalDealsConfigFunc is a function which reads from miner config to determine if the user has disabled retrieval acceptance (or not).
type ConsiderOnlineStorageDealsConfigFunc ¶ added in v0.4.1
ConsiderOnlineStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled storage deals (or not).
type DealFilter ¶ added in v0.5.0
type DrandBootstrap ¶ added in v0.4.0
type DrandConfig ¶ added in v0.4.1
type DrandPoint ¶ added in v0.7.0
type DrandPoint struct { Start abi.ChainEpoch Config DrandConfig }
type DrandSchedule ¶ added in v0.7.0
type DrandSchedule []DrandPoint
type GetExpectedSealDurationFunc ¶ added in v0.5.0
GetExpectedSealDurationFunc is a function which reads from miner too determine how long sealing is expected to take
type GetSealingConfigFunc ¶ added in v0.5.0
GetSealingDelay returns how long a sector waits for more deals before sealing begins.
type MetadataDS ¶
type MetadataDS datastore.Batching
MetadataDS stores metadata dy default it's namespaced under /metadata in main repo datastore
type MinerAddress ¶ added in v0.3.0
type MinerAddress address.Address
type MpoolLocker ¶ added in v0.5.0
type MpoolLocker struct {
// contains filtered or unexported fields
}
type NetworkName ¶ added in v0.3.0
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 ¶ added in v0.3.0
type ProviderPieceStore piecestore.PieceStore
type ProviderRequestValidator ¶ added in v0.3.1
type ProviderRequestValidator *requestvalidation.UnifiedRequestValidator
type ScoreKeeper ¶ added in v0.3.1
type ScoreKeeper struct {
// contains filtered or unexported fields
}
func (*ScoreKeeper) Get ¶ added in v0.3.1
func (sk *ScoreKeeper) Get() map[peer.ID]*pubsub.PeerScoreSnapshot
func (*ScoreKeeper) Update ¶ added in v0.3.1
func (sk *ScoreKeeper) Update(scores map[peer.ID]*pubsub.PeerScoreSnapshot)
type SetConsiderOfflineRetrievalDealsConfigFunc ¶ added in v0.4.1
SetConsiderOfflineRetrievalDealsConfigFunc is a function which is used to disable or enable retrieval deal acceptance.
type SetConsiderOfflineStorageDealsConfigFunc ¶ added in v0.4.1
SetConsiderOfflineStorageDealsConfigFunc is a function which is used to disable or enable storage deal acceptance.
type SetConsiderOnlineRetrievalDealsConfigFunc ¶ added in v0.4.1
SetConsiderOnlineRetrievalDealsConfigFunc is a function which is used to disable or enable retrieval deal acceptance.
type SetConsiderOnlineStorageDealsConfigFunc ¶ added in v0.4.1
SetConsiderOnlineStorageDealsConfigFunc is a function which is used to disable or enable storage deal acceptance.
type SetExpectedSealDurationFunc ¶ added in v0.5.0
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 ¶ added in v0.5.0
SetSealingDelay sets how long a sector waits for more deals before sealing begins.
type SetStorageDealPieceCidBlocklistConfigFunc ¶ added in v0.4.1
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 ¶ added in v0.3.2
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 StagingBlockstore ¶ added in v0.2.1
type StagingBlockstore blockstore.Blockstore
type StagingDAG ¶
type StagingDAG format.DAGService
type StagingGraphsync ¶ added in v0.2.1
type StagingGraphsync graphsync.GraphExchange
type StagingMultiDstore ¶ added in v0.5.0
type StagingMultiDstore *multistore.MultiStore
type StorageDealPieceCidBlocklistConfigFunc ¶ added in v0.4.1
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.