Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crosslightning-base

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosslightning-base - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

16

dist/btcrelay/BtcRelay.d.ts

@@ -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>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc