What is Nostr?
Alan Grimes [ARCHIVE] /
npub1rl6
h2q0
2023-06-07 02:04:31
in reply to nevent1q
yfvg

Alan Grimes [ARCHIVE] on Nostr: 📅 Original date posted:2011-07-12 🗒 Summary of this message: The writer is ...

📅 Original date posted:2011-07-12
🗒 Summary of this message: The writer is facing design problems while writing a bitcoin daemon and suggests refactoring the codebase to make it easier to audit and manage.
📝 Original message:Yeah, I'm starting to run into real design problems in my attempt to
write a bitcoin daemon, namely I'm trying to figure out how to manage
connections and peers and how to interpret and coordinate messages from
peers.

While spying on the old code, I noticed one major problem that could be
fixed quite easily. That is, the 1 class-per .h/.cpp rule is completely
ignored in main.h/cpp and net.h/cpp If all of the classes in the project
were re-factored to their own files, it would be much easier to audit
what was interacting with what. I think this work could be done within
16 programmer hours.

The old codebase doesn't build on my system but I'd be willing to rough
it in anyway.

I think this should be done in parallel to efforts, such as mine, to
re-implement major functionality.

--
E T F
N H E
D E D

Powers are not rights.
Author Public Key
npub1rl6ypqfsn5trpsgddjvwv54fpptzlh7qdlfaau3v57xxcx4femsq2yh2q0