Here’s a patch for bitcoin-tui that people might find interesting to try:
main ← ajtowns:202604-bip54blocks
opened 06:03PM - 03 Apr 26 UTC
Probably not desirable to merge.
Adds a tab for [monitoring slow blocks on si… gnet](https://delvingbitcoin.org/t/consensus-cleanup-demo-of-slow-blocks-on-signet/2367) -- displays recent blocks, when we saw the header, when we saw the block, whether it was a compact block, how long it took to validate, and if they're on a different chain than the active chain. Also tails the last few lines of the debug.log.
<img width="1074" height="715" alt="tui-slow-blocks" src="https://github.com/user-attachments/assets/27319c1f-e53e-48a2-b0fc-112bd663aab6" />
This is what a 5-block reorg looks like in it (without any of the blocks being slow):
Enabling -debug=cmpctblock and -debug=bench logging are good and not very expensive and are required to fill out some of the columns; enabling -debug=net logging as well might also gather some interesting info.
3 Likes