Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

non-permanent write permissions #242

Open
arnauorriols opened this issue May 26, 2022 · 0 comments
Open

non-permanent write permissions #242

arnauorriols opened this issue May 26, 2022 · 0 comments
Assignees

Comments

@arnauorriols
Copy link
Contributor

arnauorriols commented May 26, 2022

  • Only counts for signed and tagged packets
  • Count per Topic, not overall
  • Needs pre_handle() to be called on handle_signed_packet and handle_tagged_packet, and a check on the send version throwing an error

Unix:
1: Related to milestone timestamp for now
2: Trust Author and take Millis since epoch
3: ?

NumBranchMsgs: Counter per branch required, and stored in state in case we switch to lean/lite.

  • Can be done by counting total of Cursor in KeyStore

NumPublishedMsgs: Permissions are per branch, so needs a counter per publisher per branch

  • Can be done by taking the Cursor value of Identifier in KeyStore

Q:
Do we want NumMilestones?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants