# Functions
DenyPhase denies all messages at the given phase.
Immediately decide with a value that may or may not match the justification.
Immediately decide with a value that may or may not match the justification.
No description provided by the author
A participant that never sends anything.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRepeat creates a new instance of the Repeat adversary using the provided id, host, and repetitionSampler.
No description provided by the author
NewSpam instantiates a new Spam adversary that spams the network with spammable messages (i.e.
No description provided by the author
A participant that never sends anything.
No description provided by the author
No description provided by the author
# Constants
DenyFrom only denies messages sent from target actor IDs.
DenyTo only denies messages destined to target actor IDs.
DenyToOrFrom denies message to or from target actor IDs.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Deny adversary denies all messages to/from a given set of participants for a configured duration of time.
Drop adversary stochastically drops messages to/from a given set of participants for a configured duration of time, mimicking at-most-once message delivery semantics across a simulation network.
/ An "adversary" that immediately sends a DECIDE message, justified by its own COMMIT.
Repeat is a type of adversary in the gpbft consensus protocol that intercepts and rebroadcasts messages.
Spam is an adversary that propagates COMMIT messages for bottom for a configured number of future rounds.
This adversary send its COMMIT message to only a single victim, withholding it from others.
# Type aliases
DenyMessageMatcher checks whether a message should be denied by the Deny adversary or not.
No description provided by the author
No description provided by the author
No description provided by the author
RepetitionSampler returns the number of times each message is repeated by Repeat adversary.