lncfg: add new legacy protocol option to turn off gossip throttling

This commit is contained in:
Olaoluwa Osuntokun committed 2020-11-30 16:38:53 -08:00
1 parent 7e298f1434
commit b1fbbcf562
2 files changed
+16

No files matched your search

+5
View File
@@ -20,3 +20,8 @@ func (l *LegacyProtocol) LegacyOnion() bool {
func (l *LegacyProtocol) NoStaticRemoteKey() bool {
return false
}
// NoGossipThrottle returns true if gossip updates shouldn't be throttled.
func (l *LegacyProtocol) NoGossipThrottle() bool {
return false
}