haskoin-core-1.1.0: Bitcoin & Bitcoin Cash library for Haskell
CopyrightNo rights reserved
LicenseMIT
Maintainerjprupp@protonmail.ch
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Haskoin.Network.Constants

Contents

Description

Network constants for various networks, including Bitcoin SegWit (BTC), Bitcoin Cash (BCH), and corresponding public test and private regression test networks.

Synopsis

Constants

btc :: Network Source #

Bitcoin SegWit network. Symbol: BTC.

btcTest :: Network Source #

Testnet for Bitcoin SegWit network.

btcRegTest :: Network Source #

RegTest for Bitcoin SegWit network.

bch :: Network Source #

Bitcoin Cash network. Symbol: BCH.

bchTest :: Network Source #

Testnet for Bitcoin Cash network.

bchTest4 :: Network Source #

Testnet for Bitcoin Cash network.

bchRegTest :: Network Source #

RegTest for Bitcoin Cash network.

allNets :: [Network] Source #

List of all networks supported by this library.

netByName :: String -> Maybe Network Source #

Query known networks by name.