Skip to content

Conversation

Roasbeef
Copy link
Member

@Roasbeef Roasbeef commented Dec 13, 2024

In this commit, we implement the DecodeAssetInvoice command. This
command allows a caller to decode a normal LN invoice, adding the asset
specific information along the way. This includes the corresponding
asset unit amount, asset group information, and also the decimal display
information.

Fixes #1238

Fixes #1166

@Roasbeef Roasbeef added enhancement New feature or request gRPC tap-channels labels Dec 13, 2024
@Roasbeef Roasbeef requested review from a team, GeorgeTsagk and ffranr and removed request for a team December 13, 2024 12:22
@coveralls
Copy link

coveralls commented Dec 13, 2024

Pull Request Test Coverage Report for Build 12411710164

Details

  • 0 of 113 (0.0%) changed or added relevant lines in 2 files are covered.
  • 25 unchanged lines in 6 files lost coverage.
  • Overall coverage decreased (-0.07%) to 40.622%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tapcfg/server.go 0 1 0.0%
rpcserver.go 0 112 0.0%
Files with Coverage Reduction New Missed Lines %
tappsbt/create.go 2 53.22%
tapgarden/planter.go 2 74.12%
commitment/tap.go 3 83.64%
tapdb/universe.go 4 80.91%
tapgarden/caretaker.go 4 68.5%
universe/interface.go 10 52.81%
Totals Coverage Status
Change from base Build 12379489363: -0.07%
Covered Lines: 25851
Relevant Lines: 63638

💛 - Coveralls

Copy link
Contributor

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Nice feature!

Copy link
Contributor

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

Copy link
Member

@GeorgeTsagk GeorgeTsagk left a comment

Choose a reason for hiding this comment

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

Lgtm 🪙

In this commit, we implement the `DecodeAssetPayReq` command. This
command allows a caller to decode a normal LN invoice, adding the asset
specific information along the way. This includes the corresponding
asset unit amount, asset group information, and also the decimal display
information.

Fixes lightninglabs#1238
@Roasbeef Roasbeef force-pushed the decode-asset-invoice branch from 610300a to ecba8f8 Compare December 19, 2024 11:22
@Roasbeef Roasbeef merged commit 3600d5d into lightninglabs:main Dec 19, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

6 participants