Skip to content

Conversation

@ziggie1984
Copy link
Collaborator

@ziggie1984 ziggie1984 commented Oct 21, 2025

Builds on top of the latest payment SQL changes and threads the context through payment functions.

This is part 1, as we can thread the context even further up the stack which will be done in Part 2

ziggie1984 and others added 6 commits October 12, 2025 12:53
We prepare the code for the sql payment backend. However no
payment db interface method for the sql backend is implemented
yet. This will be done in the following commits. They currently
use the embedded KVStore to satify the build environment.
This does not include duplicate payments yet. They will be added
when the migration code is introduced for payments.
We allow the migration of the payment schema to be applied when
the test_native_sql is active to make sure the tables are properly
contructed.
…l-schema-payments

[Part 1|3] Introduce SQL Payment schema into LND
@ziggie1984 ziggie1984 changed the base branch from master to elle-payment-sql-series-new October 21, 2025 08:37
@ziggie1984 ziggie1984 force-pushed the introduce-sql-schema-payments-part-5 branch from 283469a to bc81c3a Compare October 21, 2025 08:43
@ziggie1984 ziggie1984 added payments Related to invoices/payments refactoring labels Oct 21, 2025
@ziggie1984 ziggie1984 added this to the v0.21.0 milestone Oct 21, 2025
@ziggie1984 ziggie1984 added this to v0.21 Oct 21, 2025
@ziggie1984 ziggie1984 self-assigned this Oct 21, 2025
@saubyk saubyk moved this to In progress in v0.21 Oct 23, 2025
We make the QueryPayments test db agnostic and also keep a small
test for querying the duplicate payments case in the kv world.
Now that every method of the interface was implemented we can
remove the embedded reference to the KVStore.
We now test every test in the payment_test.go file against all
databases.
@ziggie1984 ziggie1984 force-pushed the introduce-sql-schema-payments-part-5 branch from bc81c3a to 7e6cabd Compare November 11, 2025 17:51
@ziggie1984 ziggie1984 marked this pull request as ready for review November 11, 2025 17:59
@ziggie1984 ziggie1984 force-pushed the elle-payment-sql-series-new branch 4 times, most recently from e991cd0 to 6860702 Compare November 13, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

payments Related to invoices/payments refactoring

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants