Skip to content

Commit 7c177f3

Browse files
committed
add tombstone support to channel definitions proto
1 parent dc402c6 commit 7c177f3

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

llo/observation_codec.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func channelDefinitionsToProtoObservation(in llotypes.ChannelDefinitions) (out m
102102
ReportFormat: uint32(d.ReportFormat),
103103
Streams: streams,
104104
Opts: d.Opts,
105+
Tombstone: d.Tombstone,
105106
}
106107
}
107108
}
@@ -188,6 +189,7 @@ func channelDefinitionsFromProtoObservation(channelDefinitions map[uint32]*LLOCh
188189
ReportFormat: llotypes.ReportFormat(d.ReportFormat),
189190
Streams: streams,
190191
Opts: d.Opts,
192+
Tombstone: d.Tombstone,
191193
}
192194
}
193195
return dfns

llo/plugin_codecs.pb.go

Lines changed: 13 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

llo/plugin_codecs.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ message LLOChannelDefinitionProto {
5656
uint32 reportFormat = 1;
5757
repeated LLOStreamDefinition streams = 2;
5858
bytes opts = 3;
59+
bool tombstone = 4;
5960
}
6061

6162
message LLOStreamDefinition {

0 commit comments

Comments
 (0)