common

package
v0.0.0-...-663aea3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedRelayData

type AggregatedRelayData = map[string]*RelayData

AggregatedRelayData is a 1:1 mapping between a relay API URL and the data collected by the data aggregator service from this relay for a specific slot. It is also used by the service responsible for storing this data.

type DataPreprocessorOutput

type DataPreprocessorOutput = struct {
	Output []*PreprocessedRelayData
}

DataPreprocessorOutput is the default data structure produced as the output of the pre-process task.

type PreprocessedRelayData

type PreprocessedRelayData struct {
	Bid         *dto.Bid
	Submissions []*dto.Submission
}

type RelayData

type RelayData struct {
	BidsReceived  []*datav1.BidReceived
	BidsDelivered []*datav1.BidDelivered
}

RelayData is used by the data aggregator service to transmit collected data from the relays for a specific slot to the service responsible for storing it into the database.

Jump to

Keyboard shortcuts

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