Visualize the CPFP transactions.

fixes #401
This commit is contained in:
softsimon
2021-03-22 18:04:50 +07:00
parent c93adba276
commit ed55e86a9d
6 changed files with 292 additions and 139 deletions

View File

@@ -11,7 +11,24 @@ export interface Transaction {
// Custom properties
firstSeen?: number;
feePerVsize?: number;
effectiveFeePerVsize?: number;
ancestors?: Ancestor[];
bestDescendant?: BestDescendant | null;
cpfpChecked?: boolean;
deleteAfter?: number;
}
interface Ancestor {
txid: string;
weight: number;
fee: number;
}
interface BestDescendant {
txid: string;
weight: number;
fee: number;
}
export interface Recent {