ntf-server CLI, re-use SMP server CLI as a library (#347)

* ntf-server CLI, re-use SMP server CLI as a library

* add executable name
This commit is contained in:
Evgeny Poberezkin authored and GitHub committed 2022-04-03 10:37:32 +01:00
1 parent 2eff717248
commit fb26916eea
10 files changed
+458 -323

No files matched your search

@@ -13,7 +13,6 @@ import Data.X509.Validation (Fingerprint (..))
import Network.Socket
import qualified Network.TLS as T
import Numeric.Natural
import Simplex.Messaging.Agent.RetryInterval
import Simplex.Messaging.Client.Agent
import qualified Simplex.Messaging.Crypto as C
import Simplex.Messaging.Notifications.Protocol
@@ -30,7 +29,6 @@ data NtfServerConfig = NtfServerConfig
subQSize :: Natural,
pushQSize :: Natural,
smpAgentCfg :: SMPClientAgentConfig,
reconnectInterval :: RetryInterval,
-- CA certificate private key is not needed for initialization
caCertificateFile :: FilePath,
privateKeyFile :: FilePath,