sqldb: add blinded path tables#9003
sqldb: add blinded path tables#9003ellemouton wants to merge 2 commits intolightningnetwork:masterfrom
Conversation
|
Important Review skippedAuto reviews are limited to specific labels. Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
81ee0dd to
51b74ae
Compare
51b74ae to
0661960
Compare
This commit adds two new tables: blinded_paths and blinded_path_hops. A single invoice can have multiple blinded_path entries and a single blinded_path can have multiple blinded_paths. The commit also adds various queries for the two new tables.
0661960 to
0ec3cf6
Compare
| -- blinded_paths contains information about blinded paths included in the | ||
| -- associated invoice. | ||
| CREATE TABLE IF NOT EXISTS blinded_paths( | ||
| -- The id of the blinded path |
| -- channel_id is the ID of the channel that connects this hop to the previous one. | ||
| channel_id BIGINT NOT NULL, | ||
|
|
||
| -- node_pub_key is the public key of the node of this hop |
|
@ellemouton, remember to re-request review from reviewers when ready |
This commit adds two new tables:
blinded_pathsandblinded_path_hops.A single invoice can have multiple blinded_path entries and a single
blinded_path can have multiple blinded_paths.
The commit also adds various queries for the two new tables.