Separate summary and audit-summary API endpoints

This commit is contained in:
Mononaut committed 2023-06-20 15:13:52 -04:00
1 parent e5efc2957a
commit 4fbab08586
7 files changed
+129 -161

No files matched your search

@@ -153,6 +153,8 @@ export interface BlockExtended extends Block {
export interface BlockAudit extends BlockExtended {
missingTxs: string[],
addedTxs: string[],
freshTxs: string[],
sigopTxs: string[],
matchRate: number,
expectedFees: number,
expectedWeight: number,
@@ -169,6 +171,7 @@ export interface TransactionStripped {
vsize: number;
value: number;
status?: 'found' | 'missing' | 'sigop' | 'fresh' | 'added' | 'censored' | 'selected';
context?: 'projected' | 'actual';
}
interface RbfTransaction extends TransactionStripped {