crosslightning-base
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -29,4 +29,4 @@ /// <reference types="node" /> | ||
}>; | ||
saveInitialHeader(header: B, epochStart: number, pastBlocksTimestamps: number[]): Promise<T>; | ||
saveMainHeaders(mainHeaders: B[], storedHeader: V): Promise<{ | ||
saveInitialHeader(header: B, epochStart: number, pastBlocksTimestamps: number[], feeRate?: string): Promise<T>; | ||
saveMainHeaders(mainHeaders: B[], storedHeader: V, feeRate?: string): Promise<{ | ||
forkId: number; | ||
@@ -37,3 +37,3 @@ lastStoredHeader: V; | ||
}>; | ||
saveNewForkHeaders(forkHeaders: B[], storedHeader: V, tipWork: Buffer): Promise<{ | ||
saveNewForkHeaders(forkHeaders: B[], storedHeader: V, tipWork: Buffer, feeRate?: string): Promise<{ | ||
forkId: number; | ||
@@ -44,3 +44,3 @@ lastStoredHeader: V; | ||
}>; | ||
saveForkHeaders(forkHeaders: B[], storedHeader: V, forkId: number, tipWork: Buffer): Promise<{ | ||
saveForkHeaders(forkHeaders: B[], storedHeader: V, forkId: number, tipWork: Buffer, feeRate?: string): Promise<{ | ||
forkId: number; | ||
@@ -51,3 +51,3 @@ lastStoredHeader: V; | ||
}>; | ||
saveShortForkHeaders?(forkHeaders: B[], storedHeader: V, tipWork: Buffer): Promise<{ | ||
saveShortForkHeaders?(forkHeaders: B[], storedHeader: V, tipWork: Buffer, feeRate?: string): Promise<{ | ||
forkId: number; | ||
@@ -58,7 +58,7 @@ lastStoredHeader: V; | ||
}>; | ||
getMainFeeRate?(): Promise<any>; | ||
getForkFeeRate?(forkId: number): Promise<any>; | ||
estimateSynchronizeFee(requiredBlockheight: number, feeRate?: any): Promise<BN>; | ||
getMainFeeRate?(): Promise<string>; | ||
getForkFeeRate?(forkId: number): Promise<string>; | ||
estimateSynchronizeFee(requiredBlockheight: number, feeRate?: string): Promise<BN>; | ||
getFeePerBlock(feeRate?: any): Promise<BN>; | ||
sweepForkData?(lastSweepTimestamp?: number): Promise<number | null>; | ||
} |
{ | ||
"name": "crosslightning-base", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Base classes and interfaces of SolLightning", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -29,4 +29,4 @@ import {BtcStoredHeader} from "./types/BtcStoredHeader"; | ||
saveInitialHeader(header: B, epochStart: number, pastBlocksTimestamps: number[]): Promise<T>; | ||
saveMainHeaders(mainHeaders: B[], storedHeader: V): Promise<{ | ||
saveInitialHeader(header: B, epochStart: number, pastBlocksTimestamps: number[], feeRate?: string): Promise<T>; | ||
saveMainHeaders(mainHeaders: B[], storedHeader: V, feeRate?: string): Promise<{ | ||
forkId: number, | ||
@@ -37,3 +37,3 @@ lastStoredHeader: V, | ||
}>; | ||
saveNewForkHeaders(forkHeaders: B[], storedHeader: V, tipWork: Buffer): Promise<{ | ||
saveNewForkHeaders(forkHeaders: B[], storedHeader: V, tipWork: Buffer, feeRate?: string): Promise<{ | ||
forkId: number, | ||
@@ -44,3 +44,3 @@ lastStoredHeader: V, | ||
}>; | ||
saveForkHeaders(forkHeaders: B[], storedHeader: V, forkId: number, tipWork: Buffer): Promise<{ | ||
saveForkHeaders(forkHeaders: B[], storedHeader: V, forkId: number, tipWork: Buffer, feeRate?: string): Promise<{ | ||
forkId: number, | ||
@@ -51,3 +51,3 @@ lastStoredHeader: V, | ||
}>; | ||
saveShortForkHeaders?(forkHeaders: B[], storedHeader: V, tipWork: Buffer): Promise<{ | ||
saveShortForkHeaders?(forkHeaders: B[], storedHeader: V, tipWork: Buffer, feeRate?: string): Promise<{ | ||
forkId: number, | ||
@@ -59,6 +59,6 @@ lastStoredHeader: V, | ||
getMainFeeRate?(): Promise<any>; | ||
getForkFeeRate?(forkId: number): Promise<any>; | ||
getMainFeeRate?(): Promise<string>; | ||
getForkFeeRate?(forkId: number): Promise<string>; | ||
estimateSynchronizeFee(requiredBlockheight: number, feeRate?: any): Promise<BN>; | ||
estimateSynchronizeFee(requiredBlockheight: number, feeRate?: string): Promise<BN>; | ||
@@ -65,0 +65,0 @@ getFeePerBlock(feeRate?: any): Promise<BN>; |
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
65290