Confirmation settings now correctly processed on mailserver

This commit is contained in:
Volodymyr Kozieiev 2021-01-26 13:32:52 +02:00 committed by Andrea Maria Piana
parent f115b8d289
commit 09942bf200
3 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
0.72.0
0.72.1

View File

@ -452,6 +452,7 @@ func createWakuService(ctx *node.ServiceContext, wakuCfg *params.WakuConfig, clu
FullNode: wakuCfg.FullNode,
SoftBlacklistedPeerIDs: wakuCfg.SoftBlacklistedPeerIDs,
MinimumAcceptedPoW: params.WakuMinimumPoW,
EnableConfirmations: wakuCfg.EnableConfirmations,
}
if wakuCfg.MaxMessageSize > 0 {

View File

@ -211,6 +211,9 @@ type WakuConfig struct {
// SoftBlacklistedPeerIDs is a list of peer ids that should be soft-blacklisted (messages should be dropped but connection kept)
SoftBlacklistedPeerIDs []string
// EnableConfirmations when true, instructs that confirmation should be sent for received messages
EnableConfirmations bool
}
// ----------