server: add TODO for querying supported filter types

This commit is contained in:
Alex 2017-10-31 11:36:39 -06:00 committed by Olaoluwa Osuntokun
parent c7e7acc7fd
commit e0a357abb5

View file

@ -881,6 +881,8 @@ func (sp *serverPeer) OnGetCFTypes(_ *peer.Peer, msg *wire.MsgGetCFTypes) {
return
}
// TODO: update to query blockchain indexes and/or config for supported
// filter types.
cfTypesMsg := wire.NewMsgCFTypes([]wire.FilterType{
wire.GCSFilterRegular, wire.GCSFilterExtended})
sp.QueueMessage(cfTypesMsg, nil)