[−][src]Trait orml_oracle::CombineData
Combine data provided by operators
Required methods
fn combine_data(
key: &Key,
values: Vec<TimestampedValue>,
prev_value: Option<TimestampedValue>
) -> Option<TimestampedValue>
key: &Key,
values: Vec<TimestampedValue>,
prev_value: Option<TimestampedValue>
) -> Option<TimestampedValue>
Combine data provided by operators
Implementors
impl<T, MinimumCount, ExpiresIn> CombineData<<T as Trait>::OracleKey, TimestampedValue<<T as Trait>::OracleValue, <<T as Trait>::Time as Time>::Moment>> for DefaultCombineData<T, MinimumCount, ExpiresIn> where
T: Trait,
MinimumCount: Get<u32>,
ExpiresIn: Get<<<T as Trait>::Time as Time>::Moment>,
[src]
T: Trait,
MinimumCount: Get<u32>,
ExpiresIn: Get<<<T as Trait>::Time as Time>::Moment>,
fn combine_data(
_key: &T::OracleKey,
values: Vec<TimestampedValueOf<T>>,
prev_value: Option<TimestampedValueOf<T>>
) -> Option<TimestampedValueOf<T>>
[src]
_key: &T::OracleKey,
values: Vec<TimestampedValueOf<T>>,
prev_value: Option<TimestampedValueOf<T>>
) -> Option<TimestampedValueOf<T>>