-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2560 from get10101/feat/setup-lnd-and-get-inbound…
…-liquidity feat: Onboarding through a hodl invoice
- Loading branch information
Showing
63 changed files
with
2,147 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
coordinator/migrations/2024-05-23-000406_hodl_invoice_table/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
drop table if exists hodl_invoices; |
10 changes: 10 additions & 0 deletions
10
coordinator/migrations/2024-05-23-000406_hodl_invoice_table/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
create table if not exists hodl_invoices | ||
( | ||
id SERIAL PRIMARY KEY NOT NULL, | ||
trader_pubkey TEXT NOT NULL REFERENCES users (pubkey), | ||
r_hash TEXT NOT NULL, | ||
amount_sats BIGINT NOT NULL, | ||
pre_image TEXT, | ||
created_at timestamp WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
updated_at timestamp WITH TIME ZONE | ||
) |
2 changes: 2 additions & 0 deletions
2
...grations/2024-05-23-045318_add-coordinator-funded-flag-to-channel-opening-params/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE "channel_opening_params" | ||
DROP COLUMN "external_funding"; |
2 changes: 2 additions & 0 deletions
2
...migrations/2024-05-23-045318_add-coordinator-funded-flag-to-channel-opening-params/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE "channel_opening_params" | ||
ADD COLUMN "external_funding" BIGINT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.