bitcoin-hs-0.0.1: Partial implementation of the Bitcoin protocol (as of 2013)

Safe HaskellNone
LanguageHaskell98

Bitcoin.BlockChain.Unspent

Description

Build a table of unspent transactions outputs (the transactions are assumed to be valid!)

Synopsis

Documentation

buildUnspentTable :: ChainTable -> TxLookup -> IO (Map UnspentOutput Amount) Source #

Builds a table of unspent transactions outputs. Note that all transactions are assumed to be valid! So you have to check them before, to be safe.