https://github.com/ethereumjs/ethereumjs-block

Encoding, decoding and validation of Ethereum's Block schema

以太坊区块模式的编码、解码和验证

 

Implements schema and functions related to Ethereum's block.

实现与以太坊区块相关的模式和函数

 

INSTALL安装

npm install ethereumjs-block

 

BROWSER浏览器

This module work with browserify.该模块使用browserify

 

API

看本博客的ethereumjs/ethereumjs-block-2-api

 

TESTING测试

Tests in the tests directory are partly outdated and testing is primarily done by running the BlockchainTests from within the ethereumjs-vm repository.

tests目录中的测试部分已经过时了,测试主要是通过运行在ethereumjs-vm存储库中的BlockchainTests实例来完成的(看本博客ethereumjs/ethereumjs-vm-4-tests-BlockchainTestsRunner

Relevant test folders:相关的测试文件夹

  • bcTotalDifficultyTest
  • TODO

 

相关文章:

  • 2021-05-31
  • 2021-05-26
  • 2021-07-15
  • 2021-10-03
  • 2021-12-29
  • 2022-02-21
  • 2021-11-03
  • 2022-01-11
猜你喜欢
  • 2021-08-01
  • 2021-08-08
  • 2022-03-02
  • 2022-02-09
  • 2021-11-21
  • 2021-11-11
  • 2022-03-08
相关资源
相似解决方案