Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
56172918
Topic
5311912
Board
Development & Technical Discussion
Topic OP
Why check for pchMessageStart in blocks?
by
dnprock
on
24/01/2021, 01:36:06 UTC
I notice there's a check for message_start in the function ReadRawBlockFromDisk.
https://github.com/bitcoin/bitcoin/blob/master/src/validation.cpp#L1207
If I understand correctly, message_start is used to identify Bitcoin Core clients.
https://bitcointalk.org/index.php?topic=2997687.0
Why does the function ReadRawBlockFromDisk check for message_start? Does that mean message_start is also written into blocks?
Thanks.