Data pipeline for projected mempool block overview

This commit is contained in:
Mononaut
2022-05-30 17:29:30 +00:00
parent ee5cd1cd96
commit 79dae84363
10 changed files with 107 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ export interface WebsocketResponse {
'track-tx'?: string;
'track-address'?: string;
'track-asset'?: string;
'track-mempool-block'?: number;
'watch-mempool'?: boolean;
'track-bisq-market'?: string;
}
@@ -44,6 +45,11 @@ export interface MempoolBlock {
index: number;
}
export interface MempoolBlockWithTransactions extends MempoolBlock {
transactionIds: string[];
transactions: TransactionStripped[];
}
export interface MempoolInfo {
loaded: boolean; // (boolean) True if the mempool is fully loaded
size: number; // (numeric) Current tx count