matrix-pinecone/docs/virtual_snake/5_maintenance.md
Neil Alexander 1ce778fcde
Soft-SNEK (#43)
* Initial soft-state testing

* Fix `pineconeip`

* Try raising the intervals a bit

* Tighter expiry

* Tweaks

* Try to speed up convergence but reduce idle noise

* More tweaks

* Handle disconnections on destination ports, tweak next-hops

* All traffic is either bootstrap or not, more tweaking

* Protocol calming, loop detection, bootstrap signatures

* Tidy up sim

* Fix unit test

* Don't drop pong responses as looping traffic

* Remove unused snake path id

* Remove unused variable from nextHopsSNEK

* Unassign setup acks capability from soft state capabilites

* Cleanup comments to reflect new softstate logic

* Remove unused candidate variable from state

* Update sim and events to reflect softstate changes

* Update wireshark dissector to match softstate frames

* Add unit test for snake bootstrap

* Fix incorrect comment about bootstrap forwarding conditions

* Add `queue` interface

* Initial docs update for softstate algorithm

* Softstate doc updates

* Fix logic for selecting lowest latency links

* Update docs with watermark information (#52)

* Update docs with watermark information

* Further clarifications to watermark docs

* Fix `pinecone.lua`

Co-authored-by: Devon Hudson <devonhudson@librem.one>
2022-07-08 14:52:11 +01:00

510 B

title parent nav_order permalink
Routine Maintenance Virtual Snake 5 /virtual_snake/maintenance

Routine Maintenance

At a specified interval, typically every 1 second, the node should run the following checks:

  1. If the descending node entry has expired, that is, the time since the Last seen entry has passed 10 seconds, remove the entry;
  2. If the descending node entry has different root information, remove the entry;
  3. Remove any routing table entries that are older than 10 seconds.