dtypes

package
v1.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIAlg

type APIAlg jwt.HMACSHA

type APIEndpoint

type APIEndpoint multiaddr.Multiaddr

type AfterGenesisSet

type AfterGenesisSet struct{}

type BaseBlockstore

type BaseBlockstore blockstore.Blockstore

BaseBlockstore is something, coz DI

type BasicChainBlockstore

type BasicChainBlockstore blockstore.Blockstore

BasicChainBlockstore is like ChainBlockstore, but without the optional network fallback support

type BasicStateBlockstore

type BasicStateBlockstore blockstore.Blockstore

BasicStateBlockstore is like StateBlockstore, but without the optional network fallback support

type BootstrapPeers

type BootstrapPeers []peer.AddrInfo

type Bootstrapper

type Bootstrapper bool

type ChainBitswap

type ChainBitswap exchange.Interface

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 ClientImportMgr *imports.Manager

type ColdBlockstore

type ColdBlockstore blockstore.Blockstore

ColdBlockstore is the Cold blockstore abstraction for the splitstore

type ConsiderOfflineRetrievalDealsConfigFunc

type ConsiderOfflineRetrievalDealsConfigFunc func() (bool, error)

ConsiderOfflineRetrievalDealsConfigFunc is a function which reads from miner config to determine if the user has disabled retrieval acceptance (or not).

type ConsiderOfflineStorageDealsConfigFunc

type ConsiderOfflineStorageDealsConfigFunc func() (bool, error)

ConsiderOfflineStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled storage deals (or not).

type ConsiderOnlineRetrievalDealsConfigFunc

type ConsiderOnlineRetrievalDealsConfigFunc func() (bool, error)

ConsiderOnlineRetrievalDealsConfigFunc is a function which reads from miner config to determine if the user has disabled retrieval acceptance (or not).

type ConsiderOnlineStorageDealsConfigFunc

type ConsiderOnlineStorageDealsConfigFunc func() (bool, error)

ConsiderOnlineStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled storage deals (or not).

type ConsiderUnverifiedStorageDealsConfigFunc

type ConsiderUnverifiedStorageDealsConfigFunc func() (bool, error)

ConsiderUnverifiedStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled unverified storage deals (or not).

type ConsiderVerifiedStorageDealsConfigFunc

type ConsiderVerifiedStorageDealsConfigFunc func() (bool, error)

ConsiderVerifiedStorageDealsConfigFunc is a function which reads from miner config to determine if the user has disabled verified storage deals (or not).

type DrandBootstrap

type DrandBootstrap []peer.AddrInfo

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 GCReferenceProtector

type GCReferenceProtector interface {
	AddProtector(func(func(cid.Cid) error) error)
}

type GetExpectedSealDurationFunc

type GetExpectedSealDurationFunc func() (time.Duration, error)

GetExpectedSealDurationFunc is a function which reads from miner too determine how long sealing is expected to take

type GetMaxDealStartDelayFunc

type GetMaxDealStartDelayFunc func() (time.Duration, error)

type GetSealingConfigFunc

type GetSealingConfigFunc func() (sealiface.Config, error)

GetSealingConfigFunc is a function which is used to get the sealing config.

type Graphsync

type Graphsync graphsync.GraphExchange

type HotBlockstore

type HotBlockstore blockstore.Blockstore

HotBlockstore is the Hot blockstore abstraction for the splitstore

type IndexBackedBlockstore added in v1.5.0

type IndexBackedBlockstore ipfsblockstore.Blockstore

IndexBackedBlockstore is an abstraction on top of the DAGStore that provides access to any CID in a free or unsealed sector

type MinerID

type MinerID abi.ActorID

type NetworkName

type NetworkName string

type NoopGCReferenceProtector

type NoopGCReferenceProtector struct{}

func (NoopGCReferenceProtector) AddProtector

func (p NoopGCReferenceProtector) AddProtector(func(func(cid.Cid) error) error)

type ProviderDataTransfer added in v1.7.0

type ProviderDataTransfer datatransfer.Manager

type ProviderDealStore

type ProviderDealStore *statestore.StateStore

type ProviderPieceStore

type ProviderPieceStore piecestore.PieceStore

type ProviderTransferNetwork added in v1.7.0

type ProviderTransferNetwork dtnet.DataTransferNetwork

type ProviderTransport added in v1.7.0

type ProviderTransport datatransfer.Transport

type RetrievalDealFilter

type RetrievalDealFilter dealfilter.RetrievalDealFilter

type RetrievalPricingFunc

type RetrievalPricingFunc func(ctx context.Context, dealPricingParams retrievalmarket.PricingInput) (retrievalmarket.Ask, error)

type SetConsiderOfflineRetrievalDealsConfigFunc

type SetConsiderOfflineRetrievalDealsConfigFunc func(bool) error

SetConsiderOfflineRetrievalDealsConfigFunc is a function which is used to disable or enable retrieval deal acceptance.

type SetConsiderOfflineStorageDealsConfigFunc

type SetConsiderOfflineStorageDealsConfigFunc func(bool) error

SetConsiderOfflineStorageDealsConfigFunc is a function which is used to disable or enable storage deal acceptance.

type SetConsiderOnlineRetrievalDealsConfigFunc

type SetConsiderOnlineRetrievalDealsConfigFunc func(bool) error

SetConsiderOnlineRetrievalDealsConfigFunc is a function which is used to disable or enable retrieval deal acceptance.

type SetConsiderOnlineStorageDealsConfigFunc

type SetConsiderOnlineStorageDealsConfigFunc func(bool) error

SetConsiderOnlineStorageDealsConfigFunc is a function which is used to disable or enable storage deal acceptance.

type SetConsiderUnverifiedStorageDealsConfigFunc

type SetConsiderUnverifiedStorageDealsConfigFunc func(bool) error

SetConsiderUnverifiedStorageDealsConfigFunc is a function which is used to disable or enable unverified storage deal acceptance.

type SetConsiderVerifiedStorageDealsConfigFunc

type SetConsiderVerifiedStorageDealsConfigFunc func(bool) error

SetConsiderVerifiedStorageDealsConfigFunc is a function which is used to disable or enable verified storage deal acceptance.

type SetExpectedSealDurationFunc

type SetExpectedSealDurationFunc func(time.Duration) error

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 SetMaxDealStartDelayFunc

type SetMaxDealStartDelayFunc func(time.Duration) error

type SetSealingConfigFunc

type SetSealingConfigFunc func(sealiface.Config) error

SetSealingConfigFunc is a function which is used to sets the sealing config.

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 StagingGraphsync

type StagingGraphsync graphsync.GraphExchange

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 StorageDealFilter dealfilter.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 universal blockstore backend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL