# Functions
No description provided by the author
No description provided by the author
No description provided by the author
CalculateDigest is used to calculate the digest.
CalculateFault calculates the upper fault amount in byzantine system with n nodes.
No description provided by the author
No description provided by the author
CalculateOneCorrect calculates the lowest amount for set with at least one trusted node in byzantine system.
No description provided by the author
CalculateQuorum calculates the quorum legal committee for byzantine system.
CheckDigest is used to check the correctness of digest.
GenerateCommand generates command with given transaction list.
No description provided by the author
No description provided by the author
No description provided by the author
GetHash returns the TransactionHash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewInnerBlock generates the phalanx inner block to commit.
No description provided by the author
No description provided by the author
NewRawLogger provides a Logger instance to print logs in console.
NewRawLoggerFile provides a Logger instance to print logs in files.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
DefaultCommandSize is the default batch size for command transactions.
.
.
DefaultLogRotation is the default log rotation for proposal generation.
.
DefaultMulti is the default multi proposers for tx manager.
DefaultTimeDuration is the default time duration for proposal generation.
SingleCommandSize is used for phalanx test network for size 1.
# Structs
CommandIndex is used to record the essential messages for commands we have received.
No description provided by the author
FrontStream is the minimal unit for front-order-fairness.
InnerBlock is an executed block for phalanx.
MetricsInfo tracks the metrics info of phalanx.
No description provided by the author
QueryIndex indicates the query identifier for the scanner of partial orders.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
Hash is the hash algorithms output types.
Identifier is the id for payloads.
No description provided by the author
QueryStream is a series of query index for partial orders.
No description provided by the author
SortableInnerBlocks is a slice of inner block to sort.