Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 04d85b0

Browse files
committed
make it build with network-3.1.0.1
Some dodgy changes to swagger stuff: had to place .~ with ?~ but I have no clue what I'm doing here. Judging from resources found on the internet it seems to be the way forward but I am not at all sure please review. ALSO important news: the kademlia dependency is now gone. We never used it anyway and it was just annoying to maintain (it depends upon old network). Unforunately this change may break existing configurations. We shall see.
1 parent f778004 commit 04d85b0

File tree

34 files changed

+159
-1195
lines changed

34 files changed

+159
-1195
lines changed

infra/cardano-sl-infra.cabal

-19
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ library
2121
Pos.Infra.Diffusion.Types
2222
Pos.Infra.Diffusion.Subscription.Common
2323
Pos.Infra.Diffusion.Subscription.Dns
24-
Pos.Infra.Diffusion.Subscription.Dht
2524
Pos.Infra.Diffusion.Subscription.Status
2625
Pos.Infra.Diffusion.Subscription.Subscriber
2726

@@ -49,18 +48,6 @@ library
4948
Pos.Infra.Slotting.Error
5049
Pos.Infra.Slotting.Util
5150

52-
-- Pos.Infra.DHT
53-
Pos.Infra.DHT
54-
Pos.Infra.DHT.Constants
55-
Pos.Infra.DHT.Model
56-
Pos.Infra.DHT.Model.Types
57-
Pos.Infra.DHT.Real
58-
Pos.Infra.DHT.Real.Real
59-
Pos.Infra.DHT.Real.Types
60-
Pos.Infra.DHT.Real.Param
61-
Pos.Infra.DHT.Real.CLI
62-
Pos.Infra.DHT.Workers
63-
6451
-- Pos.Infra.Communication
6552
Pos.Infra.Communication.Constants
6653
Pos.Infra.Communication.Types.Protocol
@@ -104,10 +91,6 @@ library
10491
Pos.Infra.Statistics.Ekg
10592
Pos.Infra.Statistics.Statsd
10693

107-
-- Pos.Infra.Binary
108-
Pos.Infra.Binary
109-
Pos.Infra.Binary.DHTModel
110-
11194
-- Pos.Util
11295
Pos.Infra.Util.JsonLog.Events
11396
Pos.Infra.Util.LogSafe
@@ -146,7 +129,6 @@ library
146129
, http-client
147130
, http-client-tls
148131
, iproute
149-
, kademlia
150132
, lens
151133
, megaparsec
152134
, mtl
@@ -246,7 +228,6 @@ test-suite infra-test
246228
, hedgehog
247229
, hspec
248230
, iproute
249-
, kademlia
250231
, universum
251232
, yaml
252233

infra/src/Pos/Infra/Binary.hs

-3
This file was deleted.

infra/src/Pos/Infra/Binary/DHTModel.hs

-49
This file was deleted.

infra/src/Pos/Infra/Communication/Types/Protocol.hs

-3
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,6 @@ instance Monoid MkListeners where
351351
-- needs to periodically send keep-alive like data to node B in order to ensure
352352
-- that the connection is valid.
353353
--
354-
-- Kademlia nodes might also use this if they want a guarantee that they receive
355-
-- messages from their peers (without subscription we rely on luck for some
356-
-- nodes to decide to add us to their list of known peers).
357354
data MsgSubscribe = MsgSubscribe | MsgSubscribeKeepAlive
358355
deriving (Generic, Show, Eq)
359356

infra/src/Pos/Infra/DHT.hs

-6
This file was deleted.

infra/src/Pos/Infra/DHT/Constants.hs

-24
This file was deleted.

infra/src/Pos/Infra/DHT/Model.hs

-7
This file was deleted.

infra/src/Pos/Infra/DHT/Model/Types.hs

-120
This file was deleted.

infra/src/Pos/Infra/DHT/Real.hs

-17
This file was deleted.

infra/src/Pos/Infra/DHT/Real/CLI.hs

-69
This file was deleted.

0 commit comments

Comments
 (0)