mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-05 04:54:59 +02:00
sqldb: closed_scids table
This commit is contained in:
@ -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;
|
||||
|
@ -332,3 +332,8 @@ 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