How to contribute code to the Hyperledger Fabric project
Installation Environment
It is recommended to develop the code in the Ubuntu 14.04+ environment and install the following tools. git: Used to get the code; Golang 1.6+: Environment variables such as configuration $GOPATH after successful installation. Get Code
First register the Linux Foundation ID and log in to https://gerrit.hyperledger.org/to add a personal SSH pub key.
Look at the list of
What has been harvested and what has been done is an important issue.This article is only to learn to exchange information, personal summary. A brief analysis of Hyperledger fabric PBFT algorithm Architecture
Fabric Consensus algorithm code is all in the Consensus folder, consensus folder is mainly divided into Controller,executor,helper,noops,pbft,util file module.Among them, consensus.go mainly contains the internal interface of the algorithm plug-i
[translation]next-ledger-architecture-proposal
Original: Https://github.com/hyperledger/fabric/blob/master/proposals/r1/Next-Ledger-Architecture-Proposal.md
Translation: Sycamore Tree
Draft / in progress
This document is a proposal for a future ledger architecture based on community feedback. All inputs are the goal of community efforts. Catalogue
ObjectiveApiPoint-in-time queryQuery Language Purpose
The motivation for exploring the new ledger archit
Composer is a new generation of PHP-dependent management tools. Its introduction and basic usage can be seen in this "PHP Management dependency (dependency) Relationship tool Composer installation and use." This article describes the use of composer five tips, I hope to be able to bring your PHP development convenience.
1. Update only a single library
Just want
PHP developers should know the five tips of Composer, developer composer. PHP developers should know five tips about Composer. developer composerComposer is a new generation of PHP dependency management tools. Its introduction and basic usage can be found in the article ComposerPHP dependency manager PHP developer's five tips on
Have a public network environment of the server can directly see Hyperledger Fabric 1.0 from scratch (ii)--Environmental Construction (public network), this article similar to the previous article, but the environment needs to build in the intranet, that is, the network is limited under the circumstances.
1: Environmental construction and testing
The host environment used in this article is CentOS, the version is centos.x86_647.2, runs the fabric nod
This article address: original link
Share your experience on Hyperledger smart contracts.
Source Address: Chaincode_example2
In the previous setfabriconubuntu, there was no need for virtualbox and vagrant to deploy the fabric directly, and its usefulness now manifests itself ~
The operation of the smart contract Chaincode does not require multiple nodes to be started locally and can be tested directly. Then we can test the existing CHAINCODE_EXAMPLE0
Installing Curl (Install curl)
If you do not have curl installed, download and install it.
Note: If it is windows, please look at the following Windows extras;
Docker and Docker Compose
Below you talk about installing Docker and Docker compose.
MAXOSX, *nix, or Windows 10 requires the installation of Docker V1.12 or a later version.
Older versions of Windows need to be installed first: Docker Toolbox before installing Docker V1.12 or later.
You can view your Docker version by entering the fol
("Creating consensus plugin%s", plugin)
Return PBFT. Getplugin (Stack)
}
Logger. Info ("Creating default consensus plugin (noops)")
Return Noops. Getnoops (Stack)
}
The controller directory is a function of the consensus plug-in selection moduleThe---->hyperledger provides two algorithms pbft and Noops----> Default single node Usage noops is equivalent to no consensus algorithm
Func newconsenter (Stack consensus. Stack) consensus. Consenter
If the currency block chain technology represented by the Bitcoin is 1.0, and the contract block chain technology represented by the Ether Square is 2.0, then the Hyperledger project which realizes the complete permission control and the security guarantee will undoubtedly represent the arrival of the block Chain Technology 3.0 ERA.
The Hyperledger project currently consists of fabric, sawtooth lake,iroha,
First, preparatory work
1. Through the tutorial-"(i) Hyperledger fabric in the CentOS7.2 64-bit system development environment build" to determine has been downloaded Hyperledger Fabric official sample codes.
ii. generation of networks 1. Generate Network Identification
CD
Results after successful execution:
2. Start Network
./byfn.sh–m Up
Startup success:
Intermediate output slightly
Go is t
the Go programming language installed and your system is configured correctly.
Now you need to create a subdirectory under your $gopath/src/to store your link code program.
To make things simple, we provide a simple instruction:
Mkdir-p $GOPATH/src/sacc cd $GOPATH/SRC/SACC
We create a source file:
Touch Sacc.go
Housekeeping (coded)
First let's prepare the code. Like every chain code, it implements the Init and invoke functions of the chain code. So let's use the GO Import statement to impo
What is Composer?
Composer is a dependency management tool for PHP. You can declare your dependent libraries in your project, and then Composer will help you solve the following problems: find these libraries and the versions that can be installed in these libraries, and then install them. Therefore, Composer is a depe
Five tips for PHP developers to know: Composer
Composer is a new generation of PHP dependency management tools. Its introduction and basic usage can be viewed in the new age of Composer PHP dependency management. This article describes five tips for using Composer, hoping to facilitate PHP development.1. Update only a
This article mainly introduces the five tips that PHP developers should know about. For more information, see the next article. it mainly introduces the five tips that PHP developers should know about, for more information, see
Composer is a new generation of PHP dependency management tools. Its introduction and basic usage can be viewed in the new age of Composer PHP dependency management. This article de
This article mainly introduces the five tips that PHP developers should know. For more information, see Composer, a new generation of PHP dependency management tools. Its introduction and basic usage can be viewed in the new age of Composer PHP dependency management. This article describes five tips for using Composer, hoping to facilitate PHP development.
1. upd
Composer is a new generation of PHP-dependent management tools. Its introduction and basic usage can be seen in this new era of Composer PHP dependency management. This article describes the use of composer five tips, I hope to be able to bring your PHP development convenience.
1. Update only a single library
Just want to update a particular library, do not wan
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.