Documentation
¶
Index ¶
- Constants
- func NewAggregator(ctx context.Context, cfg *config.Config, srcCfg *config.SourceChainConfig) (*aggregator, error)
- func StartAggregationService(ctx context.Context, cfg *config.Config, srcCfg *config.SourceChainConfig) error
- type AggregateTransfer
- type DataReadyEvent
- type LotusBeaconEntry
- type LotusDaemonAPIClientV0
- type LotusMinerAPIClientV0
- type LotusTS
- type LotusTSK
- type Offer
Constants ¶
View Source
const (
// libp2p identifier for latest deal protocol
DealProtocolv120 = "/fil/storage/mk/1.2.0"
)
Variables ¶
This section is empty.
Functions ¶
func NewAggregator ¶
func StartAggregationService ¶
func StartAggregationService(ctx context.Context, cfg *config.Config, srcCfg *config.SourceChainConfig) error
Function to start the aggregation service
Types ¶
type AggregateTransfer ¶
type AggregateTransfer struct {
// contains filtered or unexported fields
}
type DataReadyEvent ¶
Define a Go struct to match the DataReady event from the OnRamp contract
type LotusBeaconEntry ¶
type LotusBeaconEntry = lotustypes.BeaconEntry
type LotusDaemonAPIClientV0 ¶
func NewLotusDaemonAPIClientV0 ¶
func NewLotusDaemonAPIClientV0(ctx context.Context, url string, timeoutSecs int, bearerToken string) (LotusDaemonAPIClientV0, jsonrpc.ClientCloser, error)
type LotusMinerAPIClientV0 ¶
type LotusMinerAPIClientV0 = v0api.StorageMiner
type LotusTS ¶
type LotusTS = lotustypes.TipSet
type LotusTSK ¶
type LotusTSK = lotustypes.TipSetKey
Click to show internal directories.
Click to hide internal directories.