watchtower/wtserver: add DisableReward config option

This commit is contained in:
Conner Fromknecht committed 2019-06-13 19:54:21 -07:00
1 parent a246d8216a
commit 6504058c74
2 files changed
+15

No files matched your search

+4
View File
@@ -63,6 +63,10 @@ type Config struct {
// NoAckUpdates causes the server to not acknowledge state updates, this
// should only be used for testing.
NoAckUpdates bool
// DisableReward causes the server to reject any session creation
// attempts that request rewards.
DisableReward bool
}
// Server houses the state required to handle watchtower peers. It's primary job