Skip to content

Commit 7d7ff84

Browse files
committed
Re-validate tx1 after block acceptance
Extract the second transaction from each block and verify its inputs with the kernel transaction API after process_block succeeds. This is intentionally post-acceptance re-validation because the public kernel API does not expose a pre-acceptance chainstate coin lookup equivalent to CCoinsView::GetCoin, so prevouts currently come from block undo data.
1 parent cd19902 commit 7d7ff84

2 files changed

Lines changed: 298 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)