eos icon indicating copy to clipboard operation
eos copied to clipboard

DAWN-140 ⁃ p2p network protocol documentation

Open pmesnier opened this issue 9 years ago • 8 comments

Need to add doxygen formatted comments to all of the net plugin headers

pmesnier avatar Aug 16 '17 08:08 pmesnier

Adding Doxygen style comments to the net_plugin headers.

pmesnier avatar Aug 29 '17 17:08 pmesnier

Work still in progress. I should be able to commit later tonight or tomorrow.

pmesnier avatar Aug 30 '17 20:08 pmesnier

still valid, but pushing to milestone 2

pmesnier avatar Sep 13 '17 10:09 pmesnier

➤ Phil Mesnier commented:

I've been addressing the two big "winnebago" classes in net_plugin.cpp, net_plugin_impl and connection, by breaking the classes into chains of specialization. This means that instead of a single class with 80 methods, I have 8 classes with an average of 10 methods each, where these are all logically related. In the end the final class contains all of methods, but in bite-sized chunks.

I am also documenting the theory of operation - including state transitions. This work isn't done yet, but I am setting it aside for now. I'll have to complete it later.

blockone-syncclient avatar Feb 27 '18 21:02 blockone-syncclient

@pmesnier are we still working at this?

andriantolie avatar Jun 28 '18 06:06 andriantolie

Certainly! It is low priority, but given the multitude of roles filled by the main classes I think it is important enough to pursue. Now that the mainnet is live I think a prudent course of action is to provide documentation for groups of functions without actually modifying running code. That will come later.

pmesnier avatar Jun 28 '18 15:06 pmesnier

Great. I won't close this issue then. Thanks for the reply!

andriantolie avatar Jun 29 '18 01:06 andriantolie

@wanderingbort or @heifner I think the answer to this now is that it won't be done, do you agree?

brianjohnson5972 avatar Oct 29 '18 19:10 brianjohnson5972