UNPKG

1.26 kBMarkdownView Raw
1# SYNOPSIS
2[![NPM Package](https://img.shields.io/npm/v/ethereumjs-block.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-block)
3[![Build Status](https://img.shields.io/travis/ethereumjs/ethereumjs-block.svg?branch=master&style=flat-square)](https://travis-ci.org/ethereumjs/ethereumjs-block)
4[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethereumjs-block.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethereumjs-block)
5[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs-lib.svg?style=flat-square)]() or #ethereumjs on freenode
6
7[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
8
9
10Implements schema and functions related to Ethereum's block.
11
12# INSTALL
13`npm install ethereumjs-block`
14
15# BROWSER
16This module work with `browserify`.
17
18# API
19[./docs](./docs/index.md)
20
21# TESTING
22Tests in the ``tests`` directory are partly outdated and testing is primarily done by running the ``BlockchainTests`` from within the [ethereumjs-vm](https://github.com/ethereumjs/ethereumjs-vm) repository.
23
24Relevant test folders:
25- ``bcTotalDifficultyTest``
26- TODO
27
28# LICENSE
29[MPL-2.0](https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2))