Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkg/types/llo/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,14 @@ type ChannelDefinition struct {
//
// May be nil
Opts ChannelOpts `json:"opts"`
// Source is the source of the channel definition.
// It is set by the LLO channel definitions cache.
// The source is the id of the role that added the channel definition (i.e. the channel adder)
// 1 is always the ChannelConfigStore owner, greater values are adders.
Source uint32 `json:"-"`
// Tombstone is a boolean flag that indicates if the channel definition is owner a tombstone.
// If true, the adder channel definition will be removed.
Tombstone bool `json:"tombstone"`
}

func (a ChannelDefinition) Equals(b ChannelDefinition) bool {
Expand Down
Loading