-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
Index the CPFP clusters in rocksdb and offer an API endpoint to query them.
Set a long cache for blocks older than 10.
From Element
{some code: 1 byte}
{cluster id: 32 bytes}
{effective feerate: f64: 8 bytes}
{list of txids excluding root: 32 bytes x 1.3 non-root tx on average}
82.6 bytes per cluster x 180 cluster per block x 800k blocks = 11.8944 GB (probably less since it was only avg for last 15k blocks)
{code: 1}
{txid: 32}
{cluster id: 32}
65 bytes x 2.3 tx per cluster x 180 clusters per block x 800k blocks = 21.528 GB (probably less)
{code: 1}
{blockhash: 32}
{list of indexes of cluster roots: u16 (2 bytes) x 180}
393 bytes per block x 800k blocks = 314.4 MB
Metadata
Metadata
Assignees
Labels
No labels