package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev

# Functions

New instantiates a new spam engine.
NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
NewSimpleSpamPolicy instantiates the simple spam policy.
NewVoteSpamPolicy instantiates vote spam policy.

# Variables

ErrInsufficientTokensForVoting is returned when the party has insufficient tokens for voting.
ErrTooManyVotes is returned when the party has voted already the maximum allowed votes per proposal per epoch.

# Structs

Config represent the configuration of the collateral engine.
No description provided by the author
Simple spam policy supports encforcing of max allowed commands and min required tokens + banning of parties when their reject rate in the block exceeds x%.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author