-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: unconstrained variants for event emission (#7251)
This pr adds an `unconstrained` function for encoding and encrypting note/event logs. Can be used when you don't need a strong guarantee of delivery, but trust the sender. Could for example be if I am buying a table from you. If you receive the funds, and can see them, then I encrypted the correct thing, and you will hand over the table afterwards. But should not be used when using a contract for doing an atomic swap etc, where you could end up with bad data for the lulz.
- Loading branch information
Showing
3 changed files
with
141 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters