InvVector
Static Method Summary
Static Public Methods | ||
public static |
|
|
public static |
fromHeader(header: BlockHeader): InvVector |
|
public static |
|
|
public static |
unserialize(buf: SerialBuffer): InvVector |
Constructor Summary
Public Constructor | ||
public |
constructor(type: InvVector.Type, hash: Hash) |
Member Summary
Public Members | ||
public get |
|
|
public get |
serializedSize: number |
|
public get |
type: InvVector.Type |
Method Summary
Public Methods | ||
public |
|
|
public |
hashCode(): string |
|
public |
serialize(buf: SerialBuffer): SerialBuffer |
|
public |
toString(): string |
Static Public Methods
public static fromBlock(block: Block): InvVector source
Params:
Name | Type | Attribute | Description |
block | Block |
public static fromHeader(header: BlockHeader): InvVector source
Params:
Name | Type | Attribute | Description |
header | BlockHeader |
public static fromTransaction(tx: Transaction): InvVector source
Params:
Name | Type | Attribute | Description |
tx | Transaction |
public static unserialize(buf: SerialBuffer): InvVector source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
Public Constructors
Public Methods
public equals(o: InvVector): boolean source
Params:
Name | Type | Attribute | Description |
o | InvVector |
Return:
boolean |
public serialize(buf: SerialBuffer): SerialBuffer source
Params:
Name | Type | Attribute | Description |
buf | SerialBuffer |
|