Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for deterministic entropy #99

Closed
Tracked by #100
zoedberg opened this issue Jul 27, 2023 · 2 comments
Closed
Tracked by #100

add support for deterministic entropy #99

zoedberg opened this issue Jul 27, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@zoedberg
Copy link
Contributor

In order to use RGB in LN we need to remove any type of entropy in transfers, so that channel counterparties can reconstruct RGB anchors in a deterministic way.

Right now in our rgb-lightning-sample we just duplicated methods with entropy, renamed them in <original_method_name>_static and changed the entropy fields to a fixed number. But ideally, for better privacy, this fixed number should be configurable via the method, so that the channel counterparties can derive this number via some secret channel data.

Here you can see the methods we had to duplicate (dbc_conclude -> dbc_conclude_static and add_raw_state -> add_raw_state_static).

@dr-orlovsky
Copy link
Member

Related: #111 (comment)

@zoedberg
Copy link
Contributor Author

This has been completed, so closing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants