crosslightning-base
Advanced tools
Comparing version 6.0.2 to 6.0.3
@@ -34,2 +34,8 @@ /// <reference types="node" /> | ||
}; | ||
export type BtcSyncInfo = { | ||
ibd: boolean; | ||
headers: number; | ||
blocks: number; | ||
verificationProgress: number; | ||
}; | ||
export interface BitcoinRpc<T extends BtcBlock> { | ||
@@ -48,2 +54,3 @@ isInMainChain(blockhash: string): Promise<boolean>; | ||
getTipHeight(): Promise<number>; | ||
getSyncInfo(): Promise<BtcSyncInfo>; | ||
} |
{ | ||
"name": "crosslightning-base", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"description": "Base classes and interfaces of SolLightning", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -40,2 +40,9 @@ import {BtcBlock} from "../types/BtcBlock"; | ||
export type BtcSyncInfo = { | ||
ibd: boolean, | ||
headers: number, | ||
blocks: number, | ||
verificationProgress: number | ||
} | ||
export interface BitcoinRpc<T extends BtcBlock> { | ||
@@ -57,2 +64,4 @@ | ||
getSyncInfo(): Promise<BtcSyncInfo>; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65636
1261