-
Notifications
You must be signed in to change notification settings - Fork 0
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
route-blinding: recover blinding point from forwarding packages #37
route-blinding: recover blinding point from forwarding packages #37
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f5f6b1d - Browse repository at this point
Copy the full SHA f5f6b1dView commit details -
htlcswitch: add AddForward hodl breakpoint to switch
This new hodl flag will prevent the switch from opening circuits for ADDs it's attempting to forward. This simulates arbitrary delays in the switch during forwarding and can be leveraged to test the switch going down while trying to forward a batch of HTLCs.
Configuration menu - View commit details
-
Copy full SHA for 3a335db - Browse repository at this point
Copy the full SHA 3a335dbView commit details -
lnwallet: demonstrate we can recover blinding point from persisted fw…
…dpkg We expand our tests to verify that a forwarding node which receives a blinded HTLC (bob) is able to restore the blinding point from disk. NOTE: He's only able to do so if he's revoked his local commitment.
Configuration menu - View commit details
-
Copy full SHA for 161f02e - Browse repository at this point
Copy the full SHA 161f02eView commit details -
htlcswitch/link: log local and remote keys to ease debugging
Miscellaneous changes as well
Configuration menu - View commit details
-
Copy full SHA for 9932996 - Browse repository at this point
Copy the full SHA 9932996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db6eaa - Browse repository at this point
Copy the full SHA 6db6eaaView commit details -
htlcswitch/mock: allow
mockHopIterator
to handle both normal and bl……ind hops We expand the capability of the mockHopIterator such that it is able to handle both normal and blind hops. The destinction is made via a check for sentinel value which delineates the byte boundary between serialized hops. The implemenation is functional yet somewhat propietary in the sense that it is specific to handling blind hops and not as general as it could be. This lack of generality leaves the door open to eventual inclusion of the full blown TLV serialization scheme into the mock iterator. Without this or something like TLV we do not have a way to know whether we should or even how to deserialize a variable length field like the route blinding payload. htlcswitch/mock: use TLV for route blinding payload Allow the mock hop iterator to use TLV for the route blinding deserialization. We assume the route blinding payload is already serialized via TLV and add a length prefix before so it can be properly parsed from the onion packet.
Configuration menu - View commit details
-
Copy full SHA for 7a61b0c - Browse repository at this point
Copy the full SHA 7a61b0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8758405 - Browse repository at this point
Copy the full SHA 8758405View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b397b2 - Browse repository at this point
Copy the full SHA 2b397b2View commit details