named-data / python-ndn

An NDN client library with AsyncIO support in Python 3
https://python-ndn.readthedocs.io/en/latest
Apache License 2.0
24 stars 17 forks source link

Shorten Nack encoding #9

Closed yoursunny closed 4 years ago

yoursunny commented 4 years ago

When encoding Nack, only include Name, CanBePrefix, MustBeFresh, ForwardingHint, and Nonce elements of the Interest. Omit other fields. Change Interest-to-Nack matching functions accordingly.

This change is required by NDNLPv2 protocol change. See NFD Feature 4535.

Pesa commented 4 years ago

FYI we decided to revert this design decision, see https://redmine.named-data.net/issues/4535