package
0.0.2
Repository: https://github.com/goplugin/plugin-ccip.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
FPlus1 is a common threshold mapping function that returns f + 1.
GetConsensusMap takes a mapping from chains to a list of items, return a mapping from chains to a single consensus item.
No description provided by the author
MakeConstantThreshold constructs a threshold that maps each key to a constant threshold value.
MakeMultiThreshold constructs a threshold that maps each key to a threshold value.
Median returns the middle element after sorting the provided slice.
NewMinObservation constructs a concrete MinObservation object.
No description provided by the author
TimestampedBigAggregator aggregates the fee quoter updates by taking the median of the prices and timestamps.
No description provided by the author
No description provided by the author
TwoFPlus1 is a common threshold mapping function that returns 2*f + 1.

# Interfaces

MinObservation provides a way to ensure a minimum number of observations for some piece of data have occurred.
MultiThreshold is an interface that maps a key to a threshold.

# Type aliases

Aggregator is a function type that aggregates a slice of values into a single value.
Threshold is the minimum number of observations required for a given key.