implement p2p command
This commit is contained in:
parent
ac0cb5c2cc
commit
bfc8305814
10 changed files with 110 additions and 33 deletions
|
@ -23,7 +23,10 @@ import qualified Data.Text as T
|
|||
data P2PAddress = TorAnnex OnionAddress OnionPort
|
||||
deriving (Eq, Show)
|
||||
|
||||
-- | A P2P address, with an AuthToken
|
||||
-- | A P2P address, with an AuthToken.
|
||||
--
|
||||
-- This is enough information to connect to the peer, and authenticate with
|
||||
-- it.
|
||||
data P2PAddressAuth = P2PAddressAuth P2PAddress AuthToken
|
||||
deriving (Eq, Show)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue