SWARM - Automatically add events with Watchdog

  • SWARM has since version 2.4.32 the possibility to automatically add official IOTA/Shimmer events. In this guide you will learn how to activate it.

    IOTA

    1. Run SWARM with the swarm command
    2. Select 1) SWARM Menu
    3. Select 5) Watchdog Configuration
    4. Select 1) Hornet [Watchdog]
    5. Select 1) Hornet (IOTA)
    6. Select 4) Enable auto-add participation events

    After performing the last step, the menu refreshes to show 4) Disable auto-add participation events. This means the feature is now active.

    Shimmer

    1. Run SWARM with the swarm command
    2. Select 1) SWARM Menu
    3. Select 5) Watchdog Configuration
    4. Select 2) INX [Watchdog]
    5. Select 4) INX-Participation
    6. Select 4) Enable auto-add participation events

    After performing the last step, the menu refreshes to show 4) Disable auto-add participation events. This means the feature is now active.


    Where are the events sourced?

    Events are pulled from GitHub from the Tangle Bay participation repository. There is a separate folder for the IOTA mainnet and the Shimmer mainnet.

    How does it work?

    In the respective network folder there is an iota-events.json and a shimmer-events.json. The IDs of the currently running events are stored there. In the templates folder are then the respective event files. These are named after $eventId.json.


    Watchdog itself gets the file from our CDN server and compares the respective iota|shimmer-events.json with the locally available events and adds missing ones automatically via the IP.


    Important: Only events are added where the corresponding requirements are met. So if your PruningIndex > CommencingIndex of the event, the event will not be added. So make sure that your history (PruningIndex) meets the requirements of the respective events.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!