chore(waku): Enable message missing verification flag (#21005)
As recommended in https://github.com/status-im/status-go/pull/5570#discussion_r1692345230 [1] and https://github.com/status-im/status-go/pull/5570#discussion_r1690794119 [2], we set the Waku config flag WakuV2EnableMissingMessageVerification to true. The flag can't be toggled in the UI because there's no supporting endpoint for that in status-go at the moment. [1] I doubt the hash based store-query going to be as expensive as legacy-store. Because we only query hashes and if we miss any messages we fetch them which would improve message reliability. https://github.com/status-im/status-go/pull/5511 is expensive as it doesn't query hashes rather full messages. I think we can keep this new flag enabled by default and provide a switch in the app in case it becomes expensive to disable it. [2] we can keep this enabled for mobile by default. The reason WakuV2EnableStoreConfirmationForMessagesSent was disabled is as it was giving bad UX to users where messages were sent but still showing as not sent due to storeNode performance issues. But this flag doesn't give any bad UX, so we can keep it enabled by default. Fixes https://github.com/status-im/status-mobile/issues/20879
This commit is contained in:
parent
9068801e4f
commit
6464ef96b6
|
@ -34,22 +34,25 @@
|
|||
(defn create
|
||||
[]
|
||||
(let [log-enabled? (boolean (not-empty config/log-level))]
|
||||
(assoc (login)
|
||||
:deviceName (native-module/get-installation-name)
|
||||
:rootDataDir (native-module/backup-disabled-data-dir)
|
||||
:rootKeystoreDir (native-module/keystore-dir)
|
||||
:logLevel (when log-enabled? config/log-level)
|
||||
:logEnabled log-enabled?
|
||||
:logFilePath (native-module/log-file-directory)
|
||||
:verifyTransactionURL config/verify-transaction-url
|
||||
:verifyENSURL config/verify-ens-url
|
||||
:verifyENSContractAddress config/verify-ens-contract-address
|
||||
:verifyTransactionChainID config/verify-transaction-chain-id
|
||||
:wakuV2LightClient true
|
||||
:wakuV2Fleet config/fleet
|
||||
:wakuV2EnableStoreConfirmationForMessagesSent false
|
||||
:previewPrivacy config/blank-preview?
|
||||
:testNetworksEnabled config/test-networks-enabled?)))
|
||||
(assoc
|
||||
(login)
|
||||
:deviceName (native-module/get-installation-name)
|
||||
:rootDataDir (native-module/backup-disabled-data-dir)
|
||||
:rootKeystoreDir (native-module/keystore-dir)
|
||||
:logLevel (when log-enabled? config/log-level)
|
||||
:logEnabled log-enabled?
|
||||
:logFilePath (native-module/log-file-directory)
|
||||
:verifyTransactionURL config/verify-transaction-url
|
||||
:verifyENSURL config/verify-ens-url
|
||||
:verifyENSContractAddress config/verify-ens-contract-address
|
||||
:verifyTransactionChainID config/verify-transaction-chain-id
|
||||
:wakuV2LightClient true
|
||||
:wakuV2Fleet config/fleet
|
||||
;; NOTE: https://github.com/status-im/status-go/pull/5570#discussion_r1690794119
|
||||
:wakuV2EnableMissingMessageVerification true
|
||||
:wakuV2EnableStoreConfirmationForMessagesSent false
|
||||
:previewPrivacy config/blank-preview?
|
||||
:testNetworksEnabled config/test-networks-enabled?)))
|
||||
|
||||
(defn strip-file-prefix
|
||||
[path]
|
||||
|
|
Loading…
Reference in New Issue