ethereumjs/ethereumjs-block-1-简介

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

Encoding, decoding and validation of Ethereum's Block schema

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

 

SYNOPSIS概要

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

 

转载于:https://www.cnblogs.com/wanghui-garcia/p/10087714.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值