-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor improvement of multi-node info #444
base: master
Are you sure you want to change the base?
Conversation
Looks good to me.
Could be done. Needs change of keywords (ADDNODE dropped NODE_A, NODE_B..NODE_H added). How about
or nodeid first? Other way would be to collect nodeid's from incoming messages (but maybe error prone)
Easy change. What would you suggest? |
I have to still play around with ADDNODE as this might actually work: nodes are added in the order they appear in the file. For distributing freq we could set a flag on freq change in |
Sounds reasonable. We should take care to coordinate between our two threads here (send_freq() runs on main thread, gettxinfo() on background one). |
Specifying nodes with implicit naming (= first ADDNODE will be A, then comes B, and so on) does work, but I find a more explicit syntax (NODE_B or even ADDNODE_B) clearer and easier to follow. From the code point of view we have just disable talking to ourselves. The original concept avoided it by instructing the user not to add their own node, so this exclusion was not built-in. |
Besides you do not have to follow a special order (Node A, B, C and so on as with ADDNODE alone).
At least we should add a deprecation warning to the old keyword for now.
Yes, allowing it would give a more complete conversation log ( ALT+I ). Seems useful. |
Implementing NODE_x requires just adding one keyword that has a variable part captured by regex. (s. ALT_x) Keeping ADDNODE as deprecated can cause functional issues. To avoid it we shall then selectively disable sending to ourselves.
|
Well, that would work like a charm.
Maybe we should not mark it as 'deprecated' but 'no longer supported'. There may be the case now, that someone adds its own address with NODE_x. As most messages sent by us do not make sense for ourself (except for talk messages) we have to filter them out during send. The echo of our own talk messages do not need to go via the net at all. |
As the discussion has somewhat drifted to the use of NODE_x config I'd open an separate issue on this. |
mark own node on frequency display (Alt-J)
on :INFo panel add own node name if LAN is active. Added "Total" to the received stats to visually separate it from the per-node stats.
I see no way to correlate the host names to node ids due to way it's set up.
It would be maybe better to have a configuration like this
Sending frequency info only each 2 minutes is also somewhat not optimal IMO.