I do but it’s just going to link the entire code… let me see if there’s an easy way for me to send it

Reply to this note

Please Login to reply.

Discussion

Ok! 🫡

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

Thanks for this! 🫂

♥️