Class: AirdropProof
Constructor
new AirdropProof()
- Source:
Members
proof :Array.<Hash>
Type:
- Source:
subproof :Array.<Hash>
Type:
- Source:
Methods
decode(data) → {this}
Parameters:
Name |
Type |
Description |
data |
Buffer
|
|
- Source:
Returns:
-
Type
-
this
fromJSON(json) → {this}
Parameters:
Name |
Type |
Description |
json |
AirdropProofJSON
|
|
- Source:
Returns:
-
Type
-
this
- Source:
Returns:
-
Type
-
AirdropKey
|
null
hash() → {Buffer}
- Source:
Returns:
-
Type
-
Buffer
position() → {Number}
- Source:
Returns:
-
Type
-
Number
read(br) → {this}
Parameters:
Name |
Type |
Description |
br |
bio.BufferReader
|
|
- Source:
Returns:
-
Type
-
this
signatureData() → {Buffer}
- Source:
Returns:
-
Type
-
Buffer
signatureHash() → {Buffer}
- Source:
Returns:
-
Type
-
Buffer
verify(expectopt) → {Boolean}
Parameters:
Name |
Type |
Attributes |
Description |
expect |
Hash
|
<optional>
|
|
- Source:
Returns:
-
Type
-
Boolean
verifyMerkle(expectopt) → {Boolean}
Parameters:
Name |
Type |
Attributes |
Description |
expect |
Hash
|
<optional>
|
|
- Source:
Returns:
-
Type
-
Boolean
verifySignature() → {Boolean}
- Source:
Returns:
-
Type
-
Boolean
write(bw, sighashopt) → {BufioWriter}
Parameters:
Name |
Type |
Attributes |
Default |
Description |
bw |
BufioWriter
|
|
|
|
sighash |
Boolean
|
<optional>
|
false
|
|
- Source:
Returns:
-
Type
-
BufioWriter