web3-0.9.1.0: Web3 API for Haskell.

CopyrightAlexander Krupenkin 2016
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Network.Polkadot.Api.Engine

Description

Polkadot RPC methods with engine prefix.

Synopsis

Documentation

createBlock Source #

Arguments

:: JsonRpc m 
=> Bool

Create empty

-> Bool

Finalize

-> Maybe HexString

Parent hash

-> m CreatedBlock 

Instructs the manual-seal authorship task to create a new block.

finalizeBlock Source #

Arguments

:: JsonRpc m 
=> HexString

Block hash

-> Maybe HexString

Justification

-> m Bool 

Instructs the manual-seal authorship task to finalize a block.