Crate simln_lib

Crate simln_lib 

Source

Modules§

cln
lnd
sim_node

Structs§

ActivityDefinition
Data structure used internally by the simulator. Both source and destination are represented as PublicKey here. This is constructed during activity validation and passed along to the Simulation.
ActivityParser
Data structure used to parse information from the simulation file. It allows source and destination to be NodeId, which enables the use of public keys and aliases in the simulation description.
DestinationGenerationError
NodeInfo
PaymentGenerationError
PaymentResult
ShortChannelID
Represents a short channel ID, expressed as a struct so that we can implement display for the trait.
SimParams
Simulation
SimulationCfg
Contains the configuration options for our simulation.
WriteResults

Enums§

LightningError
NodeConnection
NodeId
PaymentOutcome
SimulationError
ValueOrRange
Either a value or a range parsed from the simulation file.

Traits§

DestinationGenerator
LightningNode
LightningNode represents the functionality that is required to execute events on a lightning node.
PaymentGenerator