Skip to content

Expose on-chain transaction classification over gRPC - #271

Open
elnafateh wants to merge 1 commit into
lightningdevkit:mainfrom
elnafateh:expose-transaction-type
Open

Expose on-chain transaction classification over gRPC#271
elnafateh wants to merge 1 commit into
lightningdevkit:mainfrom
elnafateh:expose-transaction-type

Conversation

@elnafateh

@elnafateh elnafateh commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Closes #251 (last item).

Adds TransactionType (7-variant oneof: Funding, CooperativeClose, UnilateralClose, AnchorBump, Claim, Sweep, InteractiveFunding) mirroring ldk-node's own type, plus a shared TransactionChannel ref message. Wired into Onchain.tx_type.

Unit-tested in proto_adapter.rs, not e2e, because list-payments only surfaces payments tied to an Event, and there's no event for wallet-classified on-chain payments, so this data doesn't reach list-payments today regardless of this PR. Happy to open a follow-up for that if useful (pick this up in ldk-node)

@ldk-reviews-bot

ldk-reviews-bot commented Sep 3, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @benthecarman as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@benthecarman

Copy link
Copy Markdown
Collaborator

Ci failing

@elnafateh

Copy link
Copy Markdown
Contributor Author

Ci failing

thanks, am on it

@elnafateh
elnafateh force-pushed the expose-transaction-type branch from 8280d66 to 6590329 Compare September 3, 2026 13:31
Comment thread ldk-server-grpc/src/proto/types.proto Outdated
Comment thread ldk-server-grpc/src/proto/types.proto Outdated
@elnafateh
elnafateh force-pushed the expose-transaction-type branch from 6590329 to 647a1a9 Compare September 4, 2026 21:48
@elnafateh
elnafateh force-pushed the expose-transaction-type branch from 647a1a9 to 953a212 Compare September 4, 2026 22:39
@elnafateh

elnafateh commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

All e2e tests pass locally plus this PR doesn't modified any e2e test

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.

Expose LDK Node data currently dropped at the gRPC boundary

3 participants