bitcoin-types-0.9.1: Provides consistent low-level types used commonly among Bitcoin implementations

Safe HaskellNone
LanguageHaskell2010

Data.Bitcoin.Types

Synopsis

Documentation

type TransactionId = HexString Source

Per Bitcoin documentation, an identifier used to uniquely identify a particular transaction; specifically, the sha256d hash of the transaction.

type BlockHash = HexString Source

Per Bitcoin document, an identifier used to uniquely identify a block by its header.

type PrivateKey = Base58String Source

A base58 private key to sign transactions

type Address = Base58String Source

Per Bitcoin documentation, an identifier used to uniquely identify a particular address.

type Account = Text Source

A wallet account can be any easy to remember string.

type Btc = Fixed Satoshi Source

A single Bitcoin, which represents 10^8 Satoshis.

newtype VarInt Source

Data type representing a variable length integer. The VarInt type usually precedes an array or a string that can vary in length.

Constructors

VarInt 

Fields

getVarInt :: Word64