Global Feed Post Login
Replying to Avatar DagzTagz

This would be a good place to start the rabbit hole… if you ran this through an ML model it’ll break down the logic of the underlying bitcoin consensus protocol and how block discovery/peer management stays honest

Miners don’t deviate and are reliant because they will be orphaned if they misbehave and this is expensive for them

Node runners don’t deviate (can’t deviate) because they’ll be observing a non honest chain (they formed their observation but it doesn’t change actual tx chain)

Miners AND node runners are *bound by consensus rules* to follow the same standard method for block discovery

It doesn’t matter if you’re running core, knits, libbitcoin, or some other impl that your grandma homebrewed with Satoshi Nakamoto himself

https://github.com/bitcoin/bitcoin/blob/master/src/net_processing.cpp

Anything after the code that looks like this >*/………../* and is grey are developer notes, that’s where we keep notes for anyone reviewing the code to explain each individual functions role in the overall program

Avatar
Keith Meola 4mo ago

Thanks for this! 🫂

Reply to this note

Please Login to reply.

Discussion

Avatar
DagzTagz 4mo ago

♥️

Thread collapsed