package
1.0.0-rc.0
Repository: https://github.com/fantom-foundation/go-lachesis.git
Documentation: pkg.go.dev

# Packages

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

# Functions

ASCIIschemeToDAG parses events from ASCII-scheme for test purpose.
No description provided by the author
BytesToTimestamp converts bytes to timestamp.
DAGtoASCIIscheme builds ASCII-scheme of events for debug purpose.
FakeFuzzingEvents generates random independent events with the same epoch for testing purpose.
FmtFrame returns string representation.
ForEachRandEvent generates random events for test purpose.
ForEachRandFork generates random events with forks for test purpose.
No description provided by the author
GenNodes generates nodes.
GenRandEvents generates random events for test purpose.
MaxTimestamp return max value.
NewBlock makes block from topological ordered events.
NewEvent constructs empty event.

# Variables

EmptyTxHash is hash of empty transactions list.
No description provided by the author
No description provided by the author

# Structs

Block is a "chain" block.
ConsensusCallbacks contains callbacks called during block processing by consensus engine.
Event is the graph vertex in the Lachesis consensus algorithm.
EventHeader is the graph vertex in the Lachesis consensus algorithm Doesn't contain transactions, only their hash.
EventHeaderData is the graph vertex in the Lachesis consensus algorithm Doesn't contain transactions, only their hash Doesn't contain event signature.
No description provided by the author
GasPowerLeft is long-term gas power left and short-term gas power left.

# Type aliases

Cheaters is a slice type for storing cheaters list.
Events is a ordered slice of events.
No description provided by the author
No description provided by the author