summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Core/PeerId.hs
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-11-21 01:09:32 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-11-21 01:09:32 +0400
commitfc4d96d32ad986ec36e511588cb6078d4ad2323a (patch)
tree774d19821b9689a3bd74f17bd84afd15b6a19061 /src/Network/BitTorrent/Core/PeerId.hs
parent1d251b08f470363a0e3de3894b21c5ada797113d (diff)
Add documentation to PeerAddr module
Diffstat (limited to 'src/Network/BitTorrent/Core/PeerId.hs')
-rw-r--r--src/Network/BitTorrent/Core/PeerId.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/Core/PeerId.hs b/src/Network/BitTorrent/Core/PeerId.hs
index a32aa990..1ae55913 100644
--- a/src/Network/BitTorrent/Core/PeerId.hs
+++ b/src/Network/BitTorrent/Core/PeerId.hs
@@ -61,6 +61,7 @@ import Paths_bittorrent (version)
61 61
62import Data.Torrent.Client 62import Data.Torrent.Client
63 63
64-- TODO use unpacked form (length is known statically)
64 65
65-- | Peer identifier is exactly 20 bytes long bytestring. 66-- | Peer identifier is exactly 20 bytes long bytestring.
66newtype PeerId = PeerId { getPeerId :: ByteString } 67newtype PeerId = PeerId { getPeerId :: ByteString }