monero-project/kovri

Caps rewrite

anonimal opened this issue · 1 comments


By submitting this issue, I confirm the following:

  • I have read and understood the contributor guide in kovri-docs.
  • I have checked that the issue I am reporting can be replicated or that the feature I am suggesting is not present.
  • I have checked opened or recently closed pull requests for existing solutions/implementations to my issue/suggestion.

The caps impl has always been a PITA. Caps are nothing more than chars in a string. Doing bitwise operation hurdles to set/get flags is unnecessary and makes trivial things like #783 time consuming.

I've worked around this issue while working on #627 but I can't stand it anymore. This issue also extends to RI transports but that should go in a separate issue because it doesn't block #783.

Note: this will have a minor effect on the RI API. Referencing #831.

NOTICE: THIS ISSUE HAS BEEN MOVED TO GitLab. Please continue the discussion there. See #1013 for details.