Replies: 13 comments
-
Is there a reason to make them different? |
Beta Was this translation helpful? Give feedback.
-
Good question. I'd recommend editing the opening comment with a brief rationale instead of replying. |
Beta Was this translation helpful? Give feedback.
-
The reason is simple. In case you run them both on one machine they would not conflict. |
Beta Was this translation helpful? Give feedback.
-
Shouldn't the case of running a light node and a full node on the same machine be accompanied by a script (or e.g. simply docker compose), or simply passing a flag/config for that use-case? |
Beta Was this translation helpful? Give feedback.
-
We agreed with @renaynay that making each node type a different binary starts to make sense already. If we agree on the former, using different default ports for different apps starts to make even more sense. |
Beta Was this translation helpful? Give feedback.
-
Interesting, so that whole idea of being able to turn a running light node into full node and vice versa is off the table (it was a rather vague long-term goal anyways)? |
Beta Was this translation helpful? Give feedback.
-
What? I didn't agree to this @Wondertan . I am in favour of everything being the same binary. It doesn't make sense at all yet to make them different. People shouldn't be running full and light nodes on the same machine - this is not the point of "different node types". And if they do choose to run both nodes on their machine, then they should change the p2p port by passing a flag |
Beta Was this translation helpful? Give feedback.
-
We synced up on the concern above with @renaynay and figured out that this fleeting discussion was somewhere during offsite without a clear decision and we decided to start a conversation about multiple binaries again. |
Beta Was this translation helpful? Give feedback.
-
I am promoting this to a discussion about multiple binaries, as this is still a concern and we don't have an agreement on this side. Dumping informative pieces from the private conversation with some irrelevant msgs omitted:
|
Beta Was this translation helpful? Give feedback.
-
Status quoEven though we have a single binary, we:
Unless we start using one shared My main point here is to keep things logically separated until we don't have some kind of runtime switchability of services. I hope at least it makes sense to separate the Bridge node from others, but it would look deeper it starts to make sense to segregate Full from Light as well. The question to everyone, if keep one binary for everything. How do imagine commands being part of it?
|
Beta Was this translation helpful? Give feedback.
-
I don't want to spend too much time thinking about this issue during this iteration as it's not really relevant to what we're working on right now, but I want to make one thing clear: The CLI should only be used to configure and start a node, not necessarily to access any kind of runtime data -- this is specifically left up RPC. It is incorrect to start building CLI architecture for the idea that someone is going to be running multiple node types on their machines -- if they choose to do so, that is their problem and they will have to configure their nodes (and repositories) such that they don't conflict. That is a devops issue that we do not have to design for, other than making the nodes highly configurable. |
Beta Was this translation helpful? Give feedback.
-
@renaynay, Totally true and this is why we should split different types into multiple binaries, so you download/build only one that is relevant to you. In case you have one binary allowing you to start multiple things it is implied that you can start multiple things and we should avoid that! |
Beta Was this translation helpful? Give feedback.
-
Grooming 01/11/2022: We need to revisit this discussion post-mainnet |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions