Closed thibault-martinez closed 5 years ago
* Renames the `gossip` folder to `node` to better match its content and main component;
As I know, the gossip folder is a general module currently used by cIRI. We can call it
Node
in cIRI or IRI, but rename it to Node is confusing.* Renames the `components` folder to `pipeline` to better fit the future architecture of the node; I initially would have done it in the network refactoring PR but it would have made it really hard to review since all files would have been modified by the rename.
Where can I get more info about the future architecture of the node (or gossip)?
As I know, the gossip folder is a general module currently used by cIRI. We can call it Node in cIRI or IRI, but rename it to Node is confusing.
The fact is that this folder already does more than just the gossip, it has neighbours management, caching, network... Everything the node does. The main component of this folder is called node_t
and technically it could be run on its own. We can think of cIRI as just tying node_t
and consensus_t
together so it makes sense to me that that the other folder is called node
.
Where can I get more info about the future architecture of the node (or gossip)?
As I know, the gossip folder is a general module currently used by cIRI. We can call it Node in cIRI or IRI, but rename it to Node is confusing.
The fact is that this folder already does more than just the gossip, it has neighbours management, caching, network... Everything the node does. The main component of this folder is called
node_t
and technically it could be run on its own. We can think of cIRI as just tyingnode_t
andconsensus_t
together so it makes sense to me that that the other folder is callednode
.how about moving them into ciri? since they depend on ciri.
They don't depend on cIRI, cIRI depends on them! I have thought about that actually, but technically they could be run on their own, without needing each others. I'm fine both ways, @tsvisabo opinion on this ?
They don't depend on cIRI, cIRI depends on them! I have thought about that actually, but technically they could be run on their own, without needing each others. I'm fine both ways, @tsvisabo opinion on this ?
Sorry, I didn't make it clear, I meant the conf
of consensus and gossip.
@oopsmonk Done
In prevision of the network refactoring, this PR:
gossip
folder tonode
to better match its content and main component;components
folder topipeline
to better fit the future architecture of the node; I initially would have done it in the network refactoring PR but it would have made it really hard to review since all files would have been modified by the rename.