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

multi: eob refactoring prep #35

Merged
merged 7 commits into from
Apr 30, 2019

Conversation

Roasbeef
Copy link
Member

In this commit, we perform a series of slight refactorings in order to prepare the codebase for the larger change that exposes EOB encoding/decoding to the caller.

path.go Outdated Show resolved Hide resolved
sphinx.go Outdated Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
path.go Outdated Show resolved Hide resolved
path.go Outdated Show resolved Hide resolved
bench_test.go Show resolved Hide resolved
sphinx.go Show resolved Hide resolved
crypto.go Outdated Show resolved Hide resolved
crypto.go Outdated Show resolved Hide resolved
crypto.go Outdated Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
sphinx.go Outdated Show resolved Hide resolved
In this commit, we update the NewOnionPacket function to use the new
PaymentPath type. We also update all the tests as they need to reference
this new type themselves.
…tion

In this commit, we refactor the processOnionPacket as prep for the
future EOB parsing. Once EOB's are implemented, the main
processOnionPacket may actually unwrap multiple inner packets that are
encrypted to the same node identity key.
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🖖

@Roasbeef Roasbeef merged commit 751fb4d into lightningnetwork:master Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants