One chain of a family; children are subchains and must be BFT.
- Available extensions
Constructors
Properties
-
accounts
→ List<
GenesisAccountEntry> -
Accounts funded at genesis.
no setter
- assuranceLevel → int
-
The assurance level: 1 standard, 2 hardened, 3 fortress.
no setter
- blueprint → Blueprint?
-
The mixture; null means bft over the account model.
no setter
- chainId → int
-
The chain id.
no setter
-
chainIds
→ List<
int> -
Available on TreeNode, provided by the TreeNodeBuilding extension
Every chain id in this subtree, parents first.no setter -
children
→ List<
TreeNode> -
The subchains.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxAnchorsPerBlock → int
-
Anchors per block, 0 for unlimited.
no setter
- maxHeadersPerAnchor → int
-
Headers per anchor, 0 for unlimited.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validators
→ List<
TreeValidator> -
The validators, with the secrets this process holds.
no setter
Methods
-
copyWith(
{int? chainId, Blueprint? blueprint, int? assuranceLevel, List< GenesisAccountEntry> ? accounts, List<TreeValidator> ? validators, int? maxAnchorsPerBlock, int? maxHeadersPerAnchor, List<TreeNode> ? children}) → TreeNode - A copy with the given fields replaced.
-
find(
int id) → TreeNode? -
Available on TreeNode, provided by the TreeNodeBuilding extension
The node withidin this subtree, or null. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withChild(
TreeNode child) → TreeNode -
Available on TreeNode, provided by the TreeNodeBuilding extension
A copy withchildappended to children.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited