sqldb: closed_scids table
This commit is contained in:
3 files changed
+10
No files matched your search
@@ -29,3 +29,4 @@ DROP TABLE IF EXISTS nodes;
|
||||
DROP TABLE IF EXISTS channel_policy_extra_types;
|
||||
DROP TABLE IF EXISTS zombie_channels;
|
||||
DROP TABLE IF EXISTS prune_log;
|
||||
DROP TABLE IF EXISTS closed_scids;
|
||||
@@ -331,4 +331,9 @@ CREATE TABLE IF NOT EXISTS prune_log (
|
||||
|
||||
-- The block hash that the prune was performed at.
|
||||
block_hash BLOB NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS closed_scids (
|
||||
-- The short channel id of the channel.
|
||||
scid BLOB PRIMARY KEY
|
||||
);
|
||||
@@ -78,6 +78,10 @@ type ChannelPolicyExtraType struct {
|
||||
Value []byte
|
||||
}
|
||||
|
||||
type ClosedScid struct {
|
||||
Scid []byte
|
||||
}
|
||||
|
||||
type Invoice struct {
|
||||
ID int64
|
||||
Hash []byte
|
||||
|
||||
Reference in new issue
Block a user