摘要:
block/ block.go package blockchain import ( "bytes" "crypto/sha256" "encoding/gob" "log" ) type Block struct { Hash []byte Transactions []*Transaction 阅读全文
posted @ 2024-08-17 14:32
apeNote
阅读(90)
评论(0)
推荐(0)
摘要:
part1: transaction.go package blockchain import ( "bytes" "crypto/sha256" "encoding/gob" "encoding/hex" "fmt" "log" ) type Transaction struct { ID []b 阅读全文
posted @ 2024-08-17 12:50
apeNote
阅读(55)
评论(0)
推荐(0)

浙公网安备 33010602011771号