Knots demonstrates the difficulty of alternative node implementations. It's barely different from bitcoin core and requires a ton of upkeep from one of the earliest and most accomplished bitcoin core devs. It's not independent of Core, IMO.

Hypothetical: I want to build a bitcoin node for mining that doesn't use the mempool or p2p layer. It needs to run the exact same blockchain consensus code but I want to rip out the rest and write something new from scratch. How would I do it?

It's not feasible. I would have to create and maintain a fork that includes all of the stuff I wanted to delete. I can't just run the same consensus code that bitcoin core runs.

Reply to this note

Please Login to reply.

Discussion

Thank you for taking the time for this reply. As a less technical user, takes from people like yourself help me to align myself with what is hopefully in the best interest of bjtcoin 🙏

Sjors, who knows better than me, doesn't seem to think it's that difficult.

nostr:nevent1qqs8336w8tft8004d6f46lyc45f0vwlhj0t7mrtkyu2zmus3lrkp6kg8xs8ge