原创 Hyperledger Caliper安裝(最新19-12-23)

Hyperledger Caliper 官網:https://github.com/hyperledger/caliper 一、確定有沒有安裝這些工具 The following tools are required to ins

原创 go mod依賴管理

好文 鏈接 鏈接 GO111MODULE mod模式是否開啓由環境變量GO111MODULE決定,GO111MODULE 環境變量有三個值:on,auto(默認值),off。 on:強制開啓mod模式,此模式下不會去 GOPATH

原创 二叉樹的實現及遞歸遍歷(golang)

二叉樹的實現以及遞歸遍歷(Golang) 歡迎指導 package main import "fmt" //定義樹 type binarySearchTree struct { value int l

原创 Golang__遍歷字符串

Golang__遍歷字符串 package main import "fmt" func main() { s := "hello,你好" for i, v := range []rune(s) { fmt.Print

原创 Public-Key-Infrastruction——公鑰基礎設施

PKI 公鑰基礎設施(pki)是一個包括硬件、軟件、人員、策略和規程的集合,用來實現基於公鑰密碼體制的密鑰和證書的產生、管理、存儲、分發和撤銷等功能。 PKI的組成要素主要有以下3個: 用戶一使用PKI的人 認證機構一頒發證書的

原创 fabric roles

Identity Classification The default MSP implementation allows organizations to further classify identities into cli

原创 Hyperledger fabric msp 目錄分析

cryptogen one orderer organization and one peer organization Org1, with one peer node defined in Org1. OrdererOrgs:

原创 Fabric sdk go

Config.yaml 配置解析:鏈接

原创 Stack in Go

棧的實現 package Stack import ( "errors" ) type StackArray interface { Size() int IsFull() bool IsEmpty() bool P

原创 (2020-4-26)Hyperledger Fabric 2.1.0 環境搭建步驟

Hyperledger Fabric 2.1.0安裝步驟 (2020-4-26),ubuntu系統,系統安裝 Golang 1. 下載安裝包 https://studygolang.com/dl/golang/go1.14.2.

原创 Go fmt 格式化輸出

Go fmt 鏈接 Scanln && Scanf

原创 PBC庫系列(一)

PBC庫 PBC(Pairing-Based Cryptography Library) 是實現雙線性對運算的函數庫 . 這個開源代碼 C 函數庫是由Stanford 大學開發 , 庫的地址爲 http://crypto.stan

原创 Hyperledger Fabric System Chain ( System Channel )

System Chain Contains a configuration block defining the network at a system level. The system chain lives within t

原创 Hyperledger Fabric New Chaincode Lifecycle -- Decentralized Chaincode Government

The command to get logs from container is docker logs -f <container_name for peers and orderer> The Chaincod

原创 Hyperledger Fabric New Chaincode Lifecycle V 2.0

我最近在看文檔,希望能爲大家學習提供一點幫助,歡迎查看之前翻譯的文章、提問以及建議,謝謝。 V2.0 新的鏈碼生命週期Chaincode 命令介紹InitInstallInstantiate (已被 chaincode defin