watchtower/wtserver: add NoAckCreateSession for testing

This commit is contained in:
Conner Fromknecht committed 2019-04-23 20:07:12 -07:00
1 parent 1000223c71
commit 1622a212d7
2 files changed
+11

No files matched your search

+4
View File
@@ -56,6 +56,10 @@ type Config struct {
// ChainHash identifies the network that the server is watching.
ChainHash chainhash.Hash
// NoAckCreateSession causes the server to not reply to create session
// requests, this should only be used for testing.
NoAckCreateSession bool
// NoAckUpdates causes the server to not acknowledge state updates, this
// should only be used for testing.
NoAckUpdates bool