summaryrefslogtreecommitdiff
path: root/src/Erebos/Network
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-11-10 19:17:56 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2024-11-17 22:15:45 +0100
commit20d017985ff1d69e7ea0c8ea5bd4808e3deab194 (patch)
tree745b8c64448388682b57e2d36b01cff0dcb38081 /src/Erebos/Network
parent00dcbf3c14dceaa3b1a54a3d479518302f9c2ce4 (diff)
Create Erebos.Storage.Head module
Diffstat (limited to 'src/Erebos/Network')
-rw-r--r--src/Erebos/Network/Channel.hs2
-rw-r--r--src/Erebos/Network/Protocol.hs4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Erebos/Network/Channel.hs b/src/Erebos/Network/Channel.hs
index a6bab79..17e1a37 100644
--- a/src/Erebos/Network/Channel.hs
+++ b/src/Erebos/Network/Channel.hs
@@ -26,8 +26,8 @@ import Data.ByteString.Lazy qualified as BL
import Data.List
import Erebos.Identity
-import Erebos.Object.Internal
import Erebos.PubKey
+import Erebos.Storable
data Channel = Channel
{ chPeers :: [Stored (Signed IdentityData)]
diff --git a/src/Erebos/Network/Protocol.hs b/src/Erebos/Network/Protocol.hs
index 832be0b..c657759 100644
--- a/src/Erebos/Network/Protocol.hs
+++ b/src/Erebos/Network/Protocol.hs
@@ -67,8 +67,10 @@ import System.Clock
import Erebos.Flow
import Erebos.Identity
import Erebos.Network.Channel
-import Erebos.Object.Internal
+import Erebos.Object
import Erebos.Service
+import Erebos.Storable
+import Erebos.Storage
protocolVersion :: Text