BlockInterlink
Static Method Summary
Static Public Methods | ||
public static |
unserialize(buf: SerialBuffer, prevHash: Hash): BlockInterlink |
Static Protected Methods | ||
protected static |
|
Constructor Summary
Public Constructor | ||
public |
constructor(hashes: Array<Hash>, prevHash: Hash, repeatBits: Uint8Array, compressed: Array<Hash>) |
Member Summary
Public Members | ||
public get |
|
|
public get |
length: number |
|
public get |
serializedSize: number |
Method Summary
Public Methods | ||
public |
equals(o: BlockInterlink | *): boolean |
|
public |
|
|
public |
serialize(buf: SerialBuffer): SerialBuffer |
Static Public Methods
public static unserialize(buf: SerialBuffer, prevHash: Hash): BlockInterlink source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer | ||
prevHash | Hash |
Static Protected Methods
Public Constructors
Public Methods
public equals(o: BlockInterlink | *): boolean source
Params:
Name | Type | Attribute | Description |
o | BlockInterlink | * |
Return:
boolean |
public serialize(buf: SerialBuffer): SerialBuffer source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
|