Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orchestrator ¶
Orchestrator encapsulates a stateful implementation of wintermute attack orchestrator logic.
func NewOrchestrator ¶
func NewOrchestrator(allIds flow.IdentityList, corruptedIds flow.IdentityList, attackNetwork insecure.AttackNetwork, logger zerolog.Logger) *Orchestrator
func (*Orchestrator) HandleEventFromCorruptedNode ¶
func (o *Orchestrator) HandleEventFromCorruptedNode(corruptedId flow.Identifier, channel network.Channel, event interface{}, protocol insecure.Protocol, num uint32, targetIds ...flow.Identifier) error
HandleEventFromCorruptedNode implements logic of processing the events received from a corrupted node.
In Corruptible Conduit Framework for BFT testing, corrupted nodes relay their outgoing events to the attacker instead of dispatching them to the network.
Click to show internal directories.
Click to hide internal directories.