diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-11-30 14:35:24 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-11-30 14:35:24 -0400 |
commit | 66b3af4aa5c3bbb53fc27b25303c4e69364930f5 (patch) | |
tree | acb9491353a5c5f8a143b29e8aff92533b8c359d /P2P/Address.hs | |
parent | ef6cd4fe3a5bf0163ae3e50ac6248dc11d8a7bcf (diff) |
implement p2p command
Diffstat (limited to 'P2P/Address.hs')
-rw-r--r-- | P2P/Address.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/P2P/Address.hs b/P2P/Address.hs index 862f06a9c..19ff82a89 100644 --- a/P2P/Address.hs +++ b/P2P/Address.hs @@ -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) |