bitcoin-api-0.12.1: Provides access to the RPC API of Bitcoin Core

Safe HaskellNone
LanguageHaskell2010

Network.Bitcoin.Api.Mining

Synopsis

Documentation

generate Source

Arguments

:: Client

Our client context

-> Integer

Amount of blocks to generate

-> IO [Block]

The generated blocks

Generate a certain amount of new blocks. Available in regtest mode only.