support trees of RBF replacements
This commit is contained in:
@@ -27,9 +27,15 @@ export interface CpfpInfo {
|
||||
}
|
||||
|
||||
export interface RbfInfo {
|
||||
tx: RbfTransaction,
|
||||
time: number,
|
||||
mined?: boolean,
|
||||
tx: RbfTransaction;
|
||||
time: number;
|
||||
interval?: number;
|
||||
}
|
||||
|
||||
export interface RbfTree extends RbfInfo {
|
||||
mined?: boolean;
|
||||
fullRbf: boolean;
|
||||
replaces: RbfTree[];
|
||||
}
|
||||
|
||||
export interface DifficultyAdjustment {
|
||||
@@ -154,6 +160,7 @@ export interface TransactionStripped {
|
||||
|
||||
interface RbfTransaction extends TransactionStripped {
|
||||
rbf?: boolean;
|
||||
mined?: boolean,
|
||||
}
|
||||
|
||||
export interface RewardStats {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ILoadingIndicators } from '../services/state.service';
|
||||
import { Transaction } from './electrs.interface';
|
||||
import { BlockExtended, DifficultyAdjustment, RbfInfo } from './node-api.interface';
|
||||
import { BlockExtended, DifficultyAdjustment, RbfTree } from './node-api.interface';
|
||||
|
||||
export interface WebsocketResponse {
|
||||
block?: BlockExtended;
|
||||
@@ -16,8 +16,8 @@ export interface WebsocketResponse {
|
||||
tx?: Transaction;
|
||||
rbfTransaction?: ReplacedTransaction;
|
||||
txReplaced?: ReplacedTransaction;
|
||||
rbfInfo?: RbfInfo[];
|
||||
rbfLatest?: RbfInfo[][];
|
||||
rbfInfo?: RbfTree;
|
||||
rbfLatest?: RbfTree[];
|
||||
utxoSpent?: object;
|
||||
transactions?: TransactionStripped[];
|
||||
loadingIndicators?: ILoadingIndicators;
|
||||
|
||||
Reference in New Issue
Block a user