@@ -30,8 +30,8 @@ type ChannelGraphTimeSeries interface {
30
30
// update timestamp between the start time and end time. We'll use this
31
31
// to catch up a remote node to the set of channel updates that they
32
32
// may have missed out on within the target chain.
33
- UpdatesInHorizon (chain chainhash. Hash ,
34
- startTime time. Time , endTime time. Time ) ([]lnwire.Message , error )
33
+ UpdatesInHorizon (startTime time. Time , endTime time. Time , startBlock ,
34
+ endBlock uint32 ) ([]lnwire.Message , error )
35
35
36
36
// FilterKnownChanIDs takes a target chain, and a set of channel ID's,
37
37
// and returns a filtered set of chan ID's. This filtered set of chan
@@ -105,15 +105,15 @@ func (c *ChanSeries) HighestChanID(chain chainhash.Hash) (*lnwire.ShortChannelID
105
105
// within the target chain.
106
106
//
107
107
// NOTE: This is part of the ChannelGraphTimeSeries interface.
108
- func (c * ChanSeries ) UpdatesInHorizon (chain chainhash. Hash ,
109
- startTime time. Time , endTime time. Time ) ([]lnwire.Message , error ) {
108
+ func (c * ChanSeries ) UpdatesInHorizon (startTime , endTime time. Time , startBlock ,
109
+ endBlock uint32 ) ([]lnwire.Message , error ) {
110
110
111
111
var updates []lnwire.Message
112
112
113
113
// First, we'll query for all the set of channels that have an update
114
114
// that falls within the specified horizon.
115
115
chansInHorizon , err := c .graph .ChanUpdatesInHorizon (
116
- startTime , endTime , 0 , 0 ,
116
+ startTime , endTime , startBlock , endBlock ,
117
117
)
118
118
if err != nil {
119
119
return nil , err
0 commit comments