0 前言
- 基于 Ethereum Coffice (v.1.8.8) 分析
- 需要区块链基础知识
- 有 C++/JAVA 基础就能理解文中 go 代码
- 本文不包含合约部署的前序步骤,即sol源码编译打包过程,请参考网络上其他文章
- 流程图使用 ProcessOn.com 在线绘制
- 合约调用与交易的流程大同小异,可参考之前笔者文章“Ethereum 以太坊智能合约部署源码分析”
整体流程图如下所示:
Chengdu CN
整体流程图如下所示:
整体流程图如下所示:
在 Ethereum 区块链网络中,节点被定义为一个可以注册多种服务的容器。服务是一套独立的协议,可以基于P2P网络和PRC通信来提供具体的服务内容。节点对象的定义如下所示:
Node is a container on which services can be registered.
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment