These protocol implementations are parameterized.
Certain algorithm settings (e.g. hashtable size) and encoding details (e.g. endianness) are extracted from the core logic and put into Parameters structures.
Each protocol has at least a set of compat parameters that is consistent with the reference implementation, validated using interop-test.
In the future, there will be additional parameter sets optimized for the modern web (e.g. smaller code bundle size), but incompatible with the reference implementation.
@ndn/sync
This package is part of NDNts, Named Data Networking libraries for the modern web.
This package contains dataset synchronization protocols, including:
These protocol implementations are parameterized. Certain algorithm settings (e.g. hashtable size) and encoding details (e.g. endianness) are extracted from the core logic and put into
Parameters
structures. Each protocol has at least a set of compat parameters that is consistent with the reference implementation, validated using interop-test. In the future, there will be additional parameter sets optimized for the modern web (e.g. smaller code bundle size), but incompatible with the reference implementation.