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
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
Hyperledger source code Analysis of Fabric
Deliver means that the client obtains data from the ordering service via the Grpc interface (for example, data from a specified block).
The Orderer node receives the request message, which is first given to the Deliver of the server structure in the Orderer.common.server package (SRV ab. Atomicbroadcast_deliverserver) Error method processing. This method further invokes the Handle of the deliverserver structu
Hyperledger source code Analysis of Fabric
Broadcast means that the client sends the request message (for example, after the endorsement transaction is completed) to the ordering service via the Grpc interface.
These request messages are given to the broadcast (SRV ab) of the server structure in the Orderer.common.server package. Atomicbroadcast_broadcastserver) Error method processing. This method will mainly call the Handle (SRV ab) of the HANDLERIM
complete, unzip to the/usr/local directory:sudo tar -c/usr/local-xzf go1.10.1.linux-amd64.tar.gz To configure the GO locale variable:Enter the. BASHRC Configuration environment variable:$ sudo vim ~/. BASHRC or: $ sudo vim/etc/profileAdd the following code to the last side:Export gopath=/usr/local/goexport path= $GOPATH/bin: $PATH Save, exit.To make an environment variable effective:$ source ~/. BASHRC or: $ source/etc/profile After viewing the version number no problem, the configuration
When you use a photoshop brush, you sometimes encounter a sudden hardening of the brush, and choose a different brush is also, then what is going on?
1, brush hardness is 0%, but the brush is hard edge!
2, in fact, the
In fact, this is not a IE9 problem, in the past, there are similar problems in IE8. The solution is simple:
Open IE9-> Press ALT-> Select Tools-> Internet Options in the displayed menu bar-> Select the Advanced tab-> find "Always ClearType for html*
1, click "Start-Control Panel-system-Advanced system settings;"
2. In the Pop-up System Properties dialog box, switch to the Advanced tab and click Settings in the Performance area.
3, in the pop-up "Visual Effects" tab, click "Custom", will
This is a created
article in which the information may have evolved or changed.
1. Environmental architecture
The system uses the container to run, the construction process is simple, each component division of labor is clear:
Then the above figure analysis, after the consensus commit process to generate batch data, is how to send to Chaincode. We still analyze it with the Invoke command.
1 call Chaincode's executetransactions into the transaction process in consensus
first, fabric network structure (temporarily excluding CA)
As shown in the figure above, in the Fabric network, o indicates that ORDERER,P represents PEER,EP representative endorsing Peer (endorser), CC represents Chaincode, and client, Channel,
Transaction FlowThis document outlines the trading mechanisms that occur during the exchange of standard assets. The program includes two Clienta and B, they buy and sell radishes. They have a peer on the web, sending their deals through peer and
Vocabulary Induction 1. peer--node
name
role
meaning
function Description
Orderer
1.0 Consensus service roles in the architecture
Sort nodes
1. Sort all transactions destined for the network2. Organize
Configtxgen main Functions
1. Generate the creation block needed to start orderer, and support checking the chunk content
2, generate the configuration transaction needed to create the application channel, and support checking the transaction
Transferred from: http://blog.csdn.net/bluecloudmatrix/article/details/51859333
Fabric originated from IBM, the original intention in order to serve industrial production, IBM will open 44,000 lines of code, is a great contribution, so that we can
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.