Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dist/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class Client {
public mempool: Client.Mempool;
public _consensusState: Client.ConsensusState;
constructor(config: Client.Configuration | object, consensus?: Promise<BaseConsensus>);
public resetConsensus(): Promise<void>;
public getHeadHash(): Promise<Hash>;
public getHeadHeight(): Promise<number>;
public getHeadBlock(includeBody?: boolean): Promise<Block>;
Expand Down Expand Up @@ -1021,7 +1022,7 @@ export class Hash extends Serializable {
SHA256: 3;
SHA512: 4;
toString(hashAlgorithm: Hash.Algorithm): string;
fromString(str: string): Hash.Algorithm;
fromAny(algorithm: Hash.Algorithm | string): Hash.Algorithm;
};
public static light(arr: Uint8Array): Hash;
public static blake2b(arr: Uint8Array): Hash;
Expand Down Expand Up @@ -1287,6 +1288,7 @@ export abstract class Account {
toString(type: Account.Type): string;
fromAny(type: Account.Type | string): Account.Type;
};
public static TYPE_MAP: Map<Account.Type, typeof Account>;
public static BalanceError: Error;
public static DoubleTransactionError: Error;
public static ProofError: Error;
Expand Down