Skip to content

Conversation

@mesher-de
Copy link

Add a command to CLI to allow repeater owner to send a 0-hop advert manually as this can help reduce load on the mesh.

@nakoeppen
Copy link

nakoeppen commented Jan 27, 2026

I love this feature being added to the CLI, but to clean this up for the sake of the end user, it might be nice to append "flood" to the preexisting advert command and to spell out "zerohop" for the zero hop variant so as to match the MeshCore Client App UI. Most certainly not a requirement, but just a thought to avoid having to clean this up later.

@mesher-de
Copy link
Author

@nakoeppen Thanks for the feedback!
Happy to change the spelling to "zerohop", Thanks for the heads-up.

Please let me check regarding appending flood to the legacy command, as this should not interfere with legacy features

@mesher-de mesher-de marked this pull request as draft January 27, 2026 10:56
@mesher-de
Copy link
Author

mesher-de commented Jan 27, 2026

Changed the spelling to zerohop

If I modify the "old" flood-command, it would break the "Advert"-button in the UI

Any suggestions?

@nakoeppen
Copy link

Changed the spelling to zerohop

If I modify the "old" flood-command, it would break the "Advert"-button in the UI

Any suggestions?

@liamcottle any thoughts here? If we need to keep it as just "advert" that's fine as well. I just thought it might be a low-hanging fruit for improving CLI usability, particularly to avoid people from defaulting to the advert command and flooding the network unnecessarily as a result.

@mesher-de
Copy link
Author

Changed the spelling to zerohop
If I modify the "old" flood-command, it would break the "Advert"-button in the UI
Any suggestions?

@liamcottle any thoughts here? If we need to keep it as just "advert" that's fine as well. I just thought it might be a low-hanging fruit for improving CLI usability, particularly to avoid people from defaulting to the advert command and flooding the network unnecessarily as a result.

I like that thought!
We also could keep the default "advert" command, modifying it to only trigger a 0-hop-advert and add "advert flood" as a new command instead.

Just thinking...

@nakoeppen
Copy link

nakoeppen commented Jan 27, 2026

I like that thought!

We also could keep the default "advert" command, modifying it to only trigger a 0-hop-advert and add "advert flood" as a new command instead.

Just thinking...

I certainly think from a network integrity standpoint that this would be the best route, but input from project admins would also be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants