随笔分类 -  区块链

区块链相关
摘要:借助geth官方提供的函数可以很简单的实现代码如下 package main import ( "crypto/ecdsa" "encoding/hex" "fmt" "github.com/ethereum/go-ethereum/crypto" ) func main() { priKeyHas 阅读全文
posted @ 2021-01-06 22:24 鸡毛巾 阅读(1197) 评论(0) 推荐(0) 编辑
摘要:1.获取创世区块hash bitcoin-cli getblockhash 0 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f 2.根据区块hash查询区块以及交易数据 bitcoin-cli getblock 000 阅读全文
posted @ 2020-07-04 23:14 鸡毛巾 阅读(2084) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示