Accountability with blinded routes#6
Closed
thomash-acinq wants to merge 6 commits intocarlaKC:outgoing-reputationfrom
Closed
Accountability with blinded routes#6thomash-acinq wants to merge 6 commits intocarlaKC:outgoing-reputationfrom
thomash-acinq wants to merge 6 commits intocarlaKC:outgoing-reputationfrom
Conversation
Once we have a signal from the recipient, we need a way to propagate this information throughout the route. Including a signal in the onion provides an uncorruptable way for the sender to propagate this signal. If the sender is dishonest, this will eventually be detected by the final recipient. In the commits that follow we'll add reputation and resource management that will allow nodes to use this signal to protect against jamming attacks.
h/t elnosh for pointing this out!
Follow naming convention by prefixing invoice fields with "invoice_".
fe79559 to
2afbb47
Compare
Owner
|
Upstreamed to the BOLT PR - thanks again!! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blinded routes do not allow the sender to send custom payloads to nodes inside a blinded route (https://github.com/lightning/bolts/blob/master/04-onion-routing.md?plain=1#L315), instead all the payload data is chosen by the recipient and is put inside
encrypted_recipient_data. For this reason, when using blinded routes, theupgrade_accountabilitymust be set by the recipient insideencrypted_recipient_dataand not in the payload by the sender.