txid = 4508d55cf0d93ac43cbbb13a3b63d7a1e146911745f049893fc6b2d84e4e1256
raw block data = 010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff1c0390d50700040679a85a04b568f50c0c901b845a1f79000000000000ffffffff029b7c0d4b0000000017a9145d603130872a1b981e2160cd74c52fc1ba8b96ae870000000000000000266a24aa21a9ed000a4c0ed9889ec350f77856bba12735669d5c4564b64703ff7aaee03c873af20120000000000000000000000000000000000000000000000000000000000000000000000000
(this is the coinbase transaction for block 000000000000000000299bafb05053bb4f043b7425848abdd57a6eadbe404393 ) but double_sha256(raw_block_data) != txid I assume this is because in segwit not all the raw data is hashed. what bytes exactly should be removed ? Why don't the blockchain explorers present the data that gives the txid ? related: How to compute SegWit txid? How to calculate txid for segwit transactions?