AccountsTreeChunk
Static Method Summary
Static Public Methods | ||
public static |
|
Constructor Summary
Public Constructor | ||
public |
constructor(nodes: Array<AccountsTreeNode>, proof: AccountsProof) |
Member Summary
Public Members | ||
public get |
|
|
public get |
length: number |
|
public get |
|
|
public get |
serializedSize: number |
|
public get |
|
|
public get |
terminalNodes: Array<AccountsTreeNode> |
Method Summary
Public Methods | ||
public |
|
|
public |
serialize(buf: SerialBuffer): SerialBuffer |
|
public |
toString(): string |
|
public |
verify(): boolean |
Static Public Methods
public static unserialize(buf: SerialBuffer): AccountsTreeChunk source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
Public Constructors
public constructor(nodes: Array<AccountsTreeNode>, proof: AccountsProof) source
Params:
Name | Type | Attribute | Description |
nodes | Array<AccountsTreeNode> | ||
proof | AccountsProof |
Public Members
public get head: AccountsTreeNode source
public get length: number source
public get proof: AccountsProof source
public get serializedSize: number source
public get tail: AccountsTreeNode source
public get terminalNodes: Array<AccountsTreeNode> source
Public Methods
public serialize(buf: SerialBuffer): SerialBuffer source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
|