Bitcoin full node and query server

Aug 22, 2018

View in context in the libbitcoin Slack #general mirror.

M
Mlmikael04:18
Oh, i just understood the Bitcoin network level implications of the merkle tree CVE now (https://github.com/bitcoin/bitcoin/blob/master/src/consensus/merkle.cpp#L32): The issue is that if miner M mines a block and sends it to fully synced Bitcoin node N, and on its way a third party would modify the block's data, in such a way that N when it receives the block, he gets a repeat of some transactions, he would consider the block invalid obviously - because there's an attempt to double-spend the inputs in the repeated transactions, right - then, if he identifies a block by its block hash only, and puts the hash on some kind of "known to be invalid" blocks list, then indeed he would fork off ! how has this been mitigated?
GitHub
bitcoin - Bitcoin Core integration/staging tree
1 reply · James C. · last Aug 22, 2018
James C.17:06
Interesting, this part of Bitcoin history was new to me. I found this referring to Gavin's patch: https://bitcointalk.org/?topic=102395 https://github.com/bitcoin/bitcoin/commit/be8651dde7b59e50e8c443da71c706667803d06d
(edited)