Skip to content

Instantly share code, notes, and snippets.

@checksum0
Created January 2, 2024 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save checksum0/dde3a6734ed7d9301671dd70516ed7f1 to your computer and use it in GitHub Desktop.
Save checksum0/dde3a6734ed7d9301671dd70516ed7f1 to your computer and use it in GitHub Desktop.
A block requiring 5 TX to be requested to peers to be validated, validation time: 20 milliseconds.
2024-01-02T05:52:09Z [net] received: cmpctblock (17681 bytes) peer=27
2024-01-02T05:52:09Z Saw new header hash=000000000000000000029999515a1c927b9f398d43b537f5588af53fcae93427 height=823973
2024-01-02T05:52:09Z [net] Saw new cmpctblock header hash=000000000000000000029999515a1c927b9f398d43b537f5588af53fcae93427 peer=27
2024-01-02T05:52:09Z [cmpctblock] Initialized PartiallyDownloadedBlock for block 000000000000000000029999515a1c927b9f398d43b537f5588af53fcae93427 using a cmpctblock of size 17681
2024-01-02T05:52:09Z [net] sending getblocktxn (44 bytes) peer=27
2024-01-02T05:52:09Z [net] received: headers (82 bytes) peer=23
2024-01-02T05:52:09Z [net] received: inv (73 bytes) peer=12
2024-01-02T05:52:09Z [net] got inv: wtx 1c902690403ad6cb3e44b5f40f6588b19dee34b66e04db506de5bfa25edbddd1 new peer=12
2024-01-02T05:52:09Z [net] got inv: wtx fe97d155678297f8b62ec4226d871fc602c9530b6e7555ba0a6419aec726b7e9 new peer=12
2024-01-02T05:52:09Z [net] Requesting wtx 1c902690403ad6cb3e44b5f40f6588b19dee34b66e04db506de5bfa25edbddd1 peer=12
2024-01-02T05:52:09Z [net] Requesting wtx fe97d155678297f8b62ec4226d871fc602c9530b6e7555ba0a6419aec726b7e9 peer=12
2024-01-02T05:52:09Z [net] sending getdata (73 bytes) peer=12
2024-01-02T05:52:09Z [net] sending inv (253 bytes) peer=106
2024-01-02T05:52:09Z [net] sending inv (253 bytes) peer=43
2024-01-02T05:52:09Z [net] sending inv (253 bytes) peer=115
2024-01-02T05:52:09Z [net] sending inv (253 bytes) peer=114
2024-01-02T05:52:09Z [net] sending inv (253 bytes) peer=17
2024-01-02T05:52:09Z [net] sending inv (253 bytes) peer=46
2024-01-02T05:52:09Z [net] sending inv (253 bytes) peer=37
2024-01-02T05:52:09Z [net] received: blocktxn (2232 bytes) peer=27
2024-01-02T05:52:09Z [cmpctblock] Successfully reconstructed block 000000000000000000029999515a1c927b9f398d43b537f5588af53fcae93427 with 1 txn prefilled, 2861 txn from mempool (incl at least 0 from extra pool) and 5 txn requested
2024-01-02T05:52:09Z [bench] - Using cached block
2024-01-02T05:52:09Z [bench] - Load block from disk: 0.06ms
2024-01-02T05:52:09Z [bench] - Sanity checks: 0.02ms [0.00s (0.01ms/blk)]
2024-01-02T05:52:09Z [bench] - Fork checks: 0.05ms [0.00s (0.03ms/blk)]
2024-01-02T05:52:09Z [bench] - Connect 2867 transactions: 15.59ms (0.005ms/tx, 0.002ms/txin) [0.82s (204.14ms/blk)]
2024-01-02T05:52:09Z [bench] - Verify 7128 txins: 15.69ms (0.002ms/txin) [0.82s (204.30ms/blk)]
2024-01-02T05:52:09Z [bench] - Write undo data: 3.10ms [0.01s (3.67ms/blk)]
2024-01-02T05:52:09Z [bench] - Index writing: 0.03ms [0.00s (0.01ms/blk)]
2024-01-02T05:52:09Z [bench] - Connect total: 19.26ms [0.83s (208.65ms/blk)]
2024-01-02T05:52:09Z [bench] - Flush: 9.43ms [0.04s (10.40ms/blk)]
2024-01-02T05:52:09Z [bench] - Writing chainstate: 0.07ms [0.00s (0.02ms/blk)]
2024-01-02T05:52:09Z [estimatefee] Blockpolicy estimates updated by 1922 of 2861 block txs, since last block 3027 of 5325 tracked, mempool map size 31907, max target 137 from historical
2024-01-02T05:52:09Z UpdateTip: new best=000000000000000000029999515a1c927b9f398d43b537f5588af53fcae93427 height=823973 version=0x2f1c8000 log2_work=94.640133 tx=946650449 date='2024-01-02T05:51:56Z' progress=1.000000 cache=90.5MiB(779848txo)
2024-01-02T05:52:09Z [bench] - Connect postprocess: 28.70ms [3.54s (885.55ms/blk)]
2024-01-02T05:52:09Z [bench] - Connect block: 57.52ms [4.42s (1104.64ms/blk)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment