上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: golang体系 协程 channle 锁 阅读全文
posted @ 2024-09-11 13:30 apeNote 阅读(13) 评论(0) 推荐(0)
摘要: 1、隔离文件:chroot 2、隔离访问:名称空间 3、隔离资源:cgroups 4、封装系统:LXC 5、封装应用:Docker 6、封装集群:Kubernetes 阅读全文
posted @ 2024-08-30 13:30 apeNote 阅读(21) 评论(0) 推荐(0)
摘要: 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 阅读(74) 评论(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 阅读(50) 评论(0) 推荐(0)
摘要: 原文:区块链实现(三)—用数据库存储区块信息 https://zhuanlan.zhihu.com/p/714854444 文件目录 主文件下有 文件blockchain、go.mod、gosum、文件tmp、main.go 文件blockhain下面有block.go、blockchain.go、 阅读全文
posted @ 2024-08-16 15:29 apeNote 阅读(64) 评论(0) 推荐(0)
摘要: https://csdiy.wiki/ 阅读全文
posted @ 2024-08-15 08:51 apeNote 阅读(57) 评论(0) 推荐(0)
摘要: We are looking for an experienced Backend Engineer to join our Data Platform team. As a Backend Engineer, you will be responsible for developing and m 阅读全文
posted @ 2024-08-11 10:56 apeNote 阅读(26) 评论(0) 推荐(0)
摘要: golang package blockchainimport ( "bytes" "crypto/sha256" "encoding/binary" "fmt" "log" "math" "math/big" ) // Take the data from the block // create 阅读全文
posted @ 2024-08-09 15:50 apeNote 阅读(22) 评论(0) 推荐(0)
摘要: www.topgoer.com/ 阅读全文
posted @ 2024-08-07 22:57 apeNote 阅读(16) 评论(0) 推荐(0)
摘要: golang package main import ( "bytes" "crypto/sha256" "fmt" ) type BlockChain struct { blocks []*Block } type Block struct { Hash []byte Data []byte Pr 阅读全文
posted @ 2024-08-07 09:53 apeNote 阅读(32) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 11 下一页