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

Refactor codecs and onion types #2057

Closed
wants to merge 3 commits into from
Closed

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Nov 8, 2021

  • Refactor MessageOnion.scala to match PaymentOnion.scala
  • Add documentation
  • Rename RecipientSecret to PathId
  • Fix publickey codec to be fixed length (33 bytes)
  • Add sealed trait for DropReason
  • Revert OnionRoutingPacket codec change

thomash-acinq and others added 3 commits November 5, 2021 15:37
- Relay onion messages
- Add functions to create onion messages
* Refactor MessageOnion.scala to match PaymentOnion.scala
* Add documentation
* Rename `RecipientSecret` to `PathId`
* Fix `publickey` codec to be fixed length (33 bytes)
* Add sealed trait for `DropReason`
* Revert `OnionRoutingPacket` codec change
@thomash-acinq
Copy link
Member

Why did you revert the OnionRoutingPacketCodec change? Now it doesn't compile anymore.

@thomash-acinq
Copy link
Member

Thanks, merged it in #1957.

@t-bast t-bast deleted the onion-messages-bast branch November 26, 2021 17:42
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.

2 participants