随笔分类 - 区块链
区块链相关
摘要:借助geth官方提供的函数可以很简单的实现代码如下 package main import ( "crypto/ecdsa" "encoding/hex" "fmt" "github.com/ethereum/go-ethereum/crypto" ) func main() { priKeyHas
阅读全文
摘要:1.获取创世区块hash bitcoin-cli getblockhash 0 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f 2.根据区块hash查询区块以及交易数据 bitcoin-cli getblock 000
阅读全文