Stream projected block deltas instead of full data
This commit is contained in:
1 parent
c2802253b7
commit
3ffc4956f4
8 files changed
+156
-89
No files matched your search
@@ -50,6 +50,11 @@ export interface MempoolBlockWithTransactions extends MempoolBlock {
|
||||
transactions: TransactionStripped[];
|
||||
}
|
||||
|
||||
export interface MempoolBlockDelta {
|
||||
added: TransactionStripped[],
|
||||
removed: string[],
|
||||
}
|
||||
|
||||
export interface MempoolInfo {
|
||||
loaded: boolean; // (boolean) True if the mempool is fully loaded
|
||||
size: number; // (numeric) Current tx count
|
||||
|
||||
Reference in new issue
Block a user