diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-11-21 01:09:32 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-11-21 01:09:32 +0400 |
commit | fc4d96d32ad986ec36e511588cb6078d4ad2323a (patch) | |
tree | 774d19821b9689a3bd74f17bd84afd15b6a19061 /src/Network/BitTorrent/Core/PeerId.hs | |
parent | 1d251b08f470363a0e3de3894b21c5ada797113d (diff) |
Add documentation to PeerAddr module
Diffstat (limited to 'src/Network/BitTorrent/Core/PeerId.hs')
-rw-r--r-- | src/Network/BitTorrent/Core/PeerId.hs | 1 |
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 | ||
62 | import Data.Torrent.Client | 62 | import 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. |
66 | newtype PeerId = PeerId { getPeerId :: ByteString } | 67 | newtype PeerId = PeerId { getPeerId :: ByteString } |