-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Higher level constructs on top of the bitcoin-api package
--   
--   Where `bitcoin-api` focusses solely on interacting with the Bitcoin
--   Core client, this library attempts to provide higher level constructs
--   on top of that API. It provides a collection of algorithms and useful
--   interfaces for communicating with Bitcoin.
@package bitcoin-api-extra
@version 0.9.1

module Control.Bitcoin.Api.Transaction

-- | Watches incoming transactions and yields new transactions as soon as
--   they are are inside a block. This is modelled as a Conduit
--   <a>Source</a>, which means that you can easily apply your own
--   mutators, filters, etcetera.
--   
--   Keep in mind that calling this function launches a background thread
--   which pools the Bitcoin daemon, and stops as soon as the Conduit Sink
--   is closed.
watch :: Client -> Maybe Integer -> Source IO Transaction
