The gossip
application is an example showing how the Plumtree gossip implementation functions.
gossip
is distributed as part of the binary distribution of Tuweni, which you can download from this page
You can set up a gossip
app to listen with this command:
In a separate shell, you can send messages to the listener with:
This will send 10 messages, of 32 random bytes each. Open the file /tmp/log
to see them.
You can create more complex scenarios with multiple gossip listeners, showing the path by which gossip circulates across peers.