自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 ethereum-go win7 64位编译

1.安装go语言 输入go version 输出go version go1.9.2表示成功 2. github:https://github.com/ethereum/go-ethereum     dowmload zip到本地 目录结构 GOPATH/src ├── github.com │ └── ethereum │ └── go-ethereum └──

2018-01-20 10:32:07 2408

原创 go-ethereum/blob/master/core/vm/instructions.go

这里定义了许多操作,以几个例子来说明。 func opAdd(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) { x, y := stack.pop(), stack.pop() stack.push(math.U256(x.Add(x, y))) evm.in

2018-01-21 15:57:51 261

原创 go-ethereum/core/vm/stack_table.go

func makeStackFunc(pop, push int) stackValidationFunc { return func(stack *Stack) error { if err := stack.require(pop); err != nil { return err } if stack.len()+push-pop > int(params.StackL

2018-01-21 15:23:27 246

原创 go-ethereum/core/vm/stack.go

这个包是对虚拟机堆的定义,只用了fmt和math/big。 stack是堆栈操作的对象,出栈的Item被用作修改。 type Stack struct { data []*big.Int } 这里可以看到,栈结构是big.Int的数组。Stack由于开头是大写,所以可以被包外访问。 func newstack() *Stack { return &Stack{data: make([]

2018-01-21 15:05:42 307

树莓派zero引脚物理视图,逻辑视图

Different places use different pin numbers GPIO, Wiring, and BCM have been included.

2022-10-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除