mirror of
https://github.com/haskoin/haskoin-core.git
synced 2024-09-19 06:07:29 +03:00
parent
0f95b52551
commit
bf508a86ba
@ -274,8 +274,9 @@ type BlockHeaderCount = (BlockHeader, VarInt)
|
||||
|
||||
-- | The 'Headers' type is used to return a list of block headers in
|
||||
-- response to a 'GetHeaders' message.
|
||||
newtype Headers = Headers -- | list of block headers with transaction count
|
||||
{ headersList :: [BlockHeaderCount]
|
||||
newtype Headers = Headers
|
||||
{ -- | list of block headers with transaction count
|
||||
headersList :: [BlockHeaderCount]
|
||||
} deriving (Eq, Show, Generic, NFData)
|
||||
|
||||
instance Serialize Headers where
|
||||
|
Loading…
Reference in New Issue
Block a user