0.0.20240630 • Published 1 year ago

@ndn/svs v0.0.20240630

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

@ndn/svs

This package is part of NDNts, Named Data Networking libraries for the modern web.

This package contains StateVectorSync and related protocols, including:

  • StateVectorSync, revision 2021-12-15
    • complete unit test
    • core synchronization logic only, does not deal with Data fetching
  • SVS-PS, revision 2023-05-19
    • simple unit test

Compatibility with the reference implementation is validated in sync-interop.

SVS v2 is being implemented:

  • Encode StateVector in ApplicationParameters instead of Name. Enable with svs2interest: true option.
  • Use exponential decay function for suppression timeout. Enable with svs2suppression: true option.
  • Don't enter suppression state if every node was updated in last suppression period. Enable with svs2suppression: true option.
  • Piggyback SVS-PS MappingData.
  • Accept piggybacked SVS-PS MappingData.