Blocklore
Esc

Type to search every published claim: statements, sources and topics.

Enter opens the claim; with no match, suggests the questionUp and down to move
976,842

Sources and checks

These implement the weight = (stripped_size * 4) + witness_size formula,
Comment above GetTransactionWeight, read 2026-11-20
inline constexpr int WITNESS_SCALE_FACTOR = 4;
WITNESS_SCALE_FACTOR, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/consensus/consensus.h, and still does on the default branch.
Run it yourselfgit clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/consensus/consensus.h | grep -nF 'inline constexpr int WITNESS_SCALE_FACTOR = 4;'
bitcoin/bitcoin at f498a5a671 contains this text in src/consensus/validation.h.
Run it yourselfgit clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/consensus/validation.h | grep -nF 'weight = (stripped_size * 4) + witness_size formula'
Checked at block 976,753, 20 Nov 2026, 16:42 UTC: quotes 2/2, code 2/2

History

Nothing is edited silently; every revision keeps what it replaced.

  1. 20 Nov 2026, 16:42 UTCblock 976,753

    Published Revision 1, run 2026-11-20-seed-segwit