Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data MempoolTestResult = MempoolTestResult {
- testTxid :: TxHash
- txAccepted :: Bool
- rejectReason :: Maybe Text
- data CompactFilter = CompactFilter {}
- data BlockHeader = BlockHeader {}
- data BlockStats = BlockStats {
- blockStatsAvgFee :: Double
- blockStatsAvgFeeRate :: Word32
- blockStatsAvgTxSize :: Word32
- blockStatsBlockHash :: BlockHash
- blockStatsFeeRatePercentiles :: [Word32]
- blockStatsHeight :: BlockHeight
- blockStatsIns :: Word32
- blockStatsMaxFee :: Word32
- blockStatsMaxFeeRate :: Word32
- blockStatsMinTxSize :: Word32
- blockStatsOuts :: Word32
- blockStatsSubsidy :: Word32
- blockStatsSegwitSize :: Word32
- blockStastSegwitWeight :: Word32
- blockStatsSegwitCount :: Word32
- blockStatsTime :: UTCTime
- blockStatsTotalOut :: Word32
- blockStatsTotalSize :: Word32
- blockStatsTotalWeight :: Word32
- blockStatsTotalFee :: Word32
- blockStatsCount :: Word32
- blockStatsUtxoIncrease :: Int
- blockStatsUtxoSizeIncrease :: Int
- data ChainTip = ChainTip {}
- data ChainTipStatus
- data ChainTxStats = ChainTxStats {}
- data MempoolInfo = MempoolInfo {}
- data PeerInfo = PeerInfo {
- peerIndex :: Word16
- peerAddr :: Text
- peerBind :: Text
- services :: Text
- relay :: Bool
- lastSend :: UTCTime
- lastRecv :: UTCTime
- peerBytesSent :: Word64
- peerBytesRecv :: Word64
- connTime :: UTCTime
- timeOffset :: NominalDiffTime
- pingTime :: Maybe Double
- version :: Word64
- inbound :: Bool
- addnode :: Bool
- startingHeight :: BlockHeight
- banScore :: Word16
- syncedHeaders :: Word32
- syncedBlocks :: Word32
- inflight :: [BlockHeight]
- whitelisted :: Bool
- minFeeFilter :: Word32
- data NodeAddress = NodeAddress {}
- data NodeInfo = NodeInfo {}
- data NodeInfoAddress = NodeInfoAddress {}
- data ConnDir
- data NetTotals = NetTotals {}
Transactions
data MempoolTestResult Source #
Instances
Eq MempoolTestResult Source # | |
Defined in Bitcoin.Core.RPC.Transactions (==) :: MempoolTestResult -> MempoolTestResult -> Bool # (/=) :: MempoolTestResult -> MempoolTestResult -> Bool # | |
Show MempoolTestResult Source # | |
Defined in Bitcoin.Core.RPC.Transactions showsPrec :: Int -> MempoolTestResult -> ShowS # show :: MempoolTestResult -> String # showList :: [MempoolTestResult] -> ShowS # | |
FromJSON MempoolTestResult Source # | |
Defined in Bitcoin.Core.RPC.Transactions parseJSON :: Value -> Parser MempoolTestResult # parseJSONList :: Value -> Parser [MempoolTestResult] # |
Blocks
data CompactFilter Source #
Instances
FromJSON CompactFilter Source # | |
Defined in Bitcoin.Core.RPC.Blockchain parseJSON :: Value -> Parser CompactFilter # parseJSONList :: Value -> Parser [CompactFilter] # |
data BlockHeader Source #
Instances
FromJSON BlockHeader Source # | |
Defined in Bitcoin.Core.RPC.Blockchain parseJSON :: Value -> Parser BlockHeader # parseJSONList :: Value -> Parser [BlockHeader] # |
data BlockStats Source #
Instances
Eq BlockStats Source # | |
Defined in Bitcoin.Core.RPC.Blockchain (==) :: BlockStats -> BlockStats -> Bool # (/=) :: BlockStats -> BlockStats -> Bool # | |
Show BlockStats Source # | |
Defined in Bitcoin.Core.RPC.Blockchain showsPrec :: Int -> BlockStats -> ShowS # show :: BlockStats -> String # showList :: [BlockStats] -> ShowS # | |
FromJSON BlockStats Source # | |
Defined in Bitcoin.Core.RPC.Blockchain parseJSON :: Value -> Parser BlockStats # parseJSONList :: Value -> Parser [BlockStats] # |
ChainTip | |
|
data ChainTipStatus Source #
Instances
Eq ChainTipStatus Source # | |
Defined in Bitcoin.Core.RPC.Blockchain (==) :: ChainTipStatus -> ChainTipStatus -> Bool # (/=) :: ChainTipStatus -> ChainTipStatus -> Bool # | |
Show ChainTipStatus Source # | |
Defined in Bitcoin.Core.RPC.Blockchain showsPrec :: Int -> ChainTipStatus -> ShowS # show :: ChainTipStatus -> String # showList :: [ChainTipStatus] -> ShowS # | |
FromJSON ChainTipStatus Source # | |
Defined in Bitcoin.Core.RPC.Blockchain parseJSON :: Value -> Parser ChainTipStatus # parseJSONList :: Value -> Parser [ChainTipStatus] # |
data ChainTxStats Source #
Instances
Eq ChainTxStats Source # | |
Defined in Bitcoin.Core.RPC.Blockchain (==) :: ChainTxStats -> ChainTxStats -> Bool # (/=) :: ChainTxStats -> ChainTxStats -> Bool # | |
Show ChainTxStats Source # | |
Defined in Bitcoin.Core.RPC.Blockchain showsPrec :: Int -> ChainTxStats -> ShowS # show :: ChainTxStats -> String # showList :: [ChainTxStats] -> ShowS # | |
FromJSON ChainTxStats Source # | |
Defined in Bitcoin.Core.RPC.Blockchain parseJSON :: Value -> Parser ChainTxStats # parseJSONList :: Value -> Parser [ChainTxStats] # |
Mempool
data MempoolInfo Source #
MempoolInfo | |
|
Instances
Eq MempoolInfo Source # | |
Defined in Bitcoin.Core.RPC.Blockchain (==) :: MempoolInfo -> MempoolInfo -> Bool # (/=) :: MempoolInfo -> MempoolInfo -> Bool # | |
Show MempoolInfo Source # | |
Defined in Bitcoin.Core.RPC.Blockchain showsPrec :: Int -> MempoolInfo -> ShowS # show :: MempoolInfo -> String # showList :: [MempoolInfo] -> ShowS # | |
FromJSON MempoolInfo Source # | |
Defined in Bitcoin.Core.RPC.Blockchain parseJSON :: Value -> Parser MempoolInfo # parseJSONList :: Value -> Parser [MempoolInfo] # |
Network
PeerInfo | |
|
data NodeAddress Source #
Instances
Eq NodeAddress Source # | |
Defined in Bitcoin.Core.RPC.Network (==) :: NodeAddress -> NodeAddress -> Bool # (/=) :: NodeAddress -> NodeAddress -> Bool # | |
Show NodeAddress Source # | |
Defined in Bitcoin.Core.RPC.Network showsPrec :: Int -> NodeAddress -> ShowS # show :: NodeAddress -> String # showList :: [NodeAddress] -> ShowS # | |
FromJSON NodeAddress Source # | |
Defined in Bitcoin.Core.RPC.Network parseJSON :: Value -> Parser NodeAddress # parseJSONList :: Value -> Parser [NodeAddress] # |
data NodeInfoAddress Source #
Instances
Eq NodeInfoAddress Source # | |
Defined in Bitcoin.Core.RPC.Network (==) :: NodeInfoAddress -> NodeInfoAddress -> Bool # (/=) :: NodeInfoAddress -> NodeInfoAddress -> Bool # | |
Show NodeInfoAddress Source # | |
Defined in Bitcoin.Core.RPC.Network showsPrec :: Int -> NodeInfoAddress -> ShowS # show :: NodeInfoAddress -> String # showList :: [NodeInfoAddress] -> ShowS # | |
FromJSON NodeInfoAddress Source # | |
Defined in Bitcoin.Core.RPC.Network parseJSON :: Value -> Parser NodeInfoAddress # parseJSONList :: Value -> Parser [NodeInfoAddress] # |
Instances
Enum ConnDir Source # | |
Eq ConnDir Source # | |
Show ConnDir Source # | |
FromJSON ConnDir Source # | |