mirror of https://github.com/voidlizard/hbs2
block-download-fixed
This commit is contained in:
parent
4740c0ca05
commit
51c1c77151
|
@ -52,7 +52,10 @@ instance HasProtocol UDP (BlockInfo UDP) where
|
|||
type instance Encoded UDP = ByteString
|
||||
decode = either (const Nothing) Just . deserialiseOrFail
|
||||
encode = serialise
|
||||
requestMinPeriod = Just 5
|
||||
|
||||
-- FIXME: requestMinPeriod-breaks-fast-block-download
|
||||
--
|
||||
requestMinPeriod = Nothing
|
||||
|
||||
instance HasProtocol UDP (BlockChunks UDP) where
|
||||
type instance ProtocolId (BlockChunks UDP) = 2
|
||||
|
|
Loading…
Reference in New Issue