@ndn/svs
TypeScript icon, indicating that this package has built-in type declarations

0.0.20240630 • Public • Published

@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:

  • [X] Encode StateVector in ApplicationParameters instead of Name. Enable with svs2interest: true option.
  • [X] Use exponential decay function for suppression timeout. Enable with svs2suppression: true option.
  • [X] 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.

Package Sidebar

Install

npm i @ndn/svs

Weekly Downloads

1

Version

0.0.20240630

License

ISC

Unpacked Size

83.3 kB

Total Files

24

Last publish

Collaborators

  • yoursunny