package
3.0.0-rc0
Repository: https://github.com/celestiaorg/celestia-app.git
Documentation: pkg.go.dev
# Functions
Build takes an arbitrary long list of (prioritized) transactions and builds a square that is never greater than maxSquareSize.
Construct takes the exact list of ordered transactions and constructs a square.
No description provided by the author
No description provided by the author
NewAppServer creates a new AppServer using the malicious application.
NewConstructor creates a tree constructor function as required by rsmt2d to calculate the data root.
No description provided by the author
NewTestApp creates a new malicious application with the provided consensus params.
OutOfOrderExport constructs the square in a malicious and deterministic way by swapping the first two blobs with different namespaces.
OutOfOrderNamesapceConfig returns a testnode config that will start producing blocks with out of order namespaces at the provided height.
TestNodeConfig returns a testnode config with the malicious application and provided behavior set in the app options.
# Constants
BehaviorConfigKey is the key used to set the malicious config.
No description provided by the author
No description provided by the author
OutOfOrderHandlerKey is the key used to set the out of order prepare proposal handler.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
BehaviorConfig defines the malicious behavior for the application.
BlindTree is a wrapper around the erasured NMT that skips verification of namespace ordering when hashing and adding leaves to the tree.
NmtHasher is the default hasher.
# Interfaces
Hasher describes the interface nmts use to hash leafs and nodes.
# Type aliases
No description provided by the author
No description provided by the author