Actions
Feature #4441
closedReplace MinSuffixComponents and MaxSuffixComponents with CanBePrefix flag
Start date:
Due date:
% Done:
100%
Estimated time:
Description
In order to simplify selectors processing in forwarder and libraries, deprecate MinSuffixComponents and MaxSuffixComponents selectors, and introduce CanBePrefix selector.
CanBePrefix is a binary selector similar to MustBeFresh. Its absence has the same semantics as "MinSuffixComponents=1 MaxSuffixComponents=1" if the Interest name does not end with ImplicitSha256DigestComponent, or "MinSuffixComponents=0 MaxSuffixComponents=0" if the Interest name ends with ImplicitSha256DigestComponent. Its presence has the same semantics as "MinSuffixComponents=0 MaxSuffixComponents omitted".
This issue involves protocol updates only. Implementation in forwarder and libraries shall be separate issues.
Actions