Move to checkTxRoots and warn checkMerkleRoot deprecation
This commit is contained in:
parent
581ab5f136
commit
e52abecee2
4 changed files with 27 additions and 11 deletions
types
4
types/block.d.ts
vendored
4
types/block.d.ts
vendored
|
@ -21,7 +21,9 @@ export declare class Block {
|
|||
getUTCDate(): Date;
|
||||
toBuffer(headersOnly: boolean): Buffer;
|
||||
toHex(headersOnly: boolean): string;
|
||||
checkTxRoots(): boolean;
|
||||
checkMerkleRoot(): boolean;
|
||||
checkWitnessCommit(): boolean;
|
||||
__checkMerkleRoot(): boolean;
|
||||
__checkWitnessCommit(): boolean;
|
||||
checkProofOfWork(): boolean;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue