blockchain v0.1.1 API Reference

Modules

Helpers for common operations on the blockchain

Documentation for Blockchain

Represents the state of an account, as defined in Section 4 of the Yellow Paper

This module effective encodes a Block, the heart of the blockchain. A chain is formed when blocks point to previous blocks, either as a parent or an ommer (uncle). For more information, see Section 4.4 of the Yellow Paper

This structure codifies the header of a block in the blockchain

Blocktree provides functions for adding blocks to the overall blocktree and forming a consistent blockchain

Defines functions on create and making message calls to contracts. The core of the module is to implement Λ and Θ, as defined in Eq.(70) and described in detail in sections 7 and 8 of the Yellow Paper

This module encodes the transaction object, defined in Section 4.3 of the Yellow Paper (http://gavwood.com/Paper.pdf). We are focused on implementing 𝛶, as defined in Eq.(1)

This module specifies functions to create and interact with the transaction receipt, defined in Section 4.4.1 of the Yellow Paper

Defines helper functions for signing and getting the signature of a transaction, as defined in Appendix F of the Yellow Paper

Exceptions