Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFilter ¶
ApplyFilter processes filter of the type specified in the first byte of consensus filter. It returns an outlier list, which is a boolean list where true at index i means that the reveal at index i is an outlier, consensus boolean, consensus data proxy public keys, and error. It assumes that the reveals and their proxy public keys are sorted.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(wsk types.WasmStorageKeeper, bk types.BatchingKeeper, wk wasmtypes.ContractOpsKeeper, wvk wasmtypes.ViewKeeper) Keeper
func (Keeper) FilterAndTally ¶
FilterAndTally applies filter and executes tally. It returns the tally VM result, consensus boolean, consensus data proxy public keys, and error if applicable.
func (Keeper) ProcessTallies ¶
ProcessTallies fetches from the core contract the list of requests to be tallied and then goes through it to filter and tally.
type TallyResult ¶
type TallyResult struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.