Confirmation settings now correctly processed on mailserver
This commit is contained in:
parent
f115b8d289
commit
09942bf200
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
// ----------
|
||||
|
|
Loading…
Reference in New Issue