achieve a key with fabric: (in fact, with shell script can be directly done, but the advantage of FAB is not here, Here the main bit behind the local + remote operation to prepare, after all, two places to write a script for easy maintenance)LocalLCDsetting_ciLCD('/home/project/test/conf/'local("git add settings.py "#后面你懂的, too lazy to knock ....Mashup Integration Remote operationAt this point, suppose you want to update the configuration fil
Recently applied for a virtual host, just the company to do nail-nail micro-application needs a test of the outside network, casually wrote a demo put up, and then found an error.Asked a lot of people, there is no solution, what version of the problem Ah, file name changes, namespace inconsistencies, the program leaked AH, all think of, in the local IIS test there is no problem, a upload to the server on the wrong, I see this mistake is missing the assembly, and later found not this reason, beca
Android.os.Bundle;Import Android.widget.TextView;public class Helloworldactivity extends Activity {Private TextView Txtview;/** called when the activity is first created. */@Overridepublic void OnCreate (Bundle savedinstancestate) {Super.oncreate (savedinstancestate);Setcontentview (R.layout.main);This.txtview = (TextView) Findviewbyid (R.id.txtview);if (this.txtview!=null) {This.txtView.setText ("Hello World");}}}Execute it.android4.0 API documentation, emulator and other download linksed2k://
Proxy: An HTTP intermediate entity located between the client and the serverCache: A repository of HTTP so that copies of frequently used pages can be saved closer to the clientGateway: A special WEB server that connects other applicationsTunneling: A special agent for blind forwarding of HTTP communication messagesAgent agent: A semi-intelligent web client that initiates automatic HTTP requests, such as Web bots, network spidersWEB Fabric Components
This is a HTML5 Canvas application demo that mimics the effect of a ripped cloth, with realistic results. You'll see that with Canvas 's powerful drawing and animation capabilities, you can take your breath away with minimal code. Tips: For the best results, browse through modern browsers such as ie10+, Chrome, Firefox, and Safari.SOURCE Download Effect DemoRelated articles that may be of interest to you
Web development in a very practical 10 effects "source Download"
Carefully selected
The main introduction through the use of replacement filter text and wrinkled silk fabric background perfect combination, suitable for novice friends to learn, hope friends like.
The replacement of Ytterbium in PS (displace) seems to be less noticeable, some people may not know its role. Now let's explore its potential and analyze how it works, and see how this filter, combined with layer blending, combines text with a wrinkled silk background that wo
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
Certificate requirements:
1. The format of the digital certificate follows the X.509 standard
2. Version V3
3. Signature Algorithm SHA256ECDSA
CA used in FABRIC-JAVA-SDK:
./e2e-2orgs/channel/crypto-config/peerorganizations/org1.example.com/users/admin@org1.example.com/msp/signcerts
./e2e-2orgs/channel/crypto-config/peerorganizations/org1.example.com/users/admin@org1.example.com/msp/keystore
Docker-compose.yaml the CA used in the conf
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
General use of fabric, mostly with the remote interaction, and in the interaction, in addition to the logic of simple code, time is also accompanied by the transmission of files, and there may be a lot of files in the file.
Whether we can make a judgment, if the file exists, then we do not upload, look at the code
# for a test
@task
@roles ("Mgmt")
def Test ():
if Int (run ("[E '/etc/passwd1 '] echo 11 | | echo ") = = one:
print" Yes, f
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
-8-*-Each time you specify the password is also more troublesome, wrote a shell script, each time only need to specify the source IP, destination IP, port number, library name can bemysqlha_sync2test.sh#!/bin/bashS_host=$1D_host=$2Port=$3Db=$4Mysql_path= "/usr/local/mysql-5.6.24"Sync_time= ' date + '%h%m%s 'Sync_date= ' date + '%y%m%d 'S_user= ' Db_read_user 'S_pwd= ' 123456 'D_user= ' Root 'D_pwd= ' 123456 'Schemasync--tag= "${sync_time}"--output-dir= "/data/mysql_schemasync"--sync-comments mys
GitHub's README.MD format reference on GitHub readme.md IntroductionThe main is "add ========== under the text is the headline text", "Add------------------under the text is in the title text", "Add # # in front of the text #就是小标题文字", "Add 2 tab in front of the text is the code style", " Add * or > etc. to the text in front of the script or quote including service etc. ".More tools to see:iOS developers must have no less than 75 toolsSeven Debug Tools recommended: iOS Development necessary debu
This is a creation in
Article, where the information may have evolved or changed.
Brief introduction
Chaincode is the user chain code, which provides state processing logic based on the blockchain distributed ledger.Fabric, Chaincode is run by default in the Docker container.Peer creates and launches the Chaincode container by calling the Docker API.Chaincode A GRPC connection is created between the container and peer, and both parties communicate interactively by sending Chaincodemessage.
This is a creation in
Article, where the information may have evolved or changed.
Overall structure
Fabric-peer: Mainly peer role, including endorser (endorser), committer two rolesFABRIC-CA: The original MEMBERSRVC, independent into a new projectFabric-order: Play the order role
Core Code Package
BCCSP Package: Support for encryption and decryption algorithms and mechanismsCommon package: Some general-purpose modulesCore package: Most
structure-sized memory spacemarshal.copy (bytes, 0,structptr,size); // obj= marshal.ptrtostructure (Structptr,type); marshal.freehglobal (STRUCTPTR); Returnobj; } } } 3. Last look at the client//1. Create a nested section wordm_s=NewSockets (AddressFamily.InterNetwork, Sockettype.dgram, PROTOCOLTYPE.UDP);//2. Fill in the server IPIPAddress IP=Ipaddress.parse ("127.0.0.1");IPEndPoint Ipe=NewIPEndPoint (IP,4321);//Send this user information to the serverCp2pmessage msg=NewCp2pmessage ();
AgentAn HTTP intermediate entity located between the client and the serverCacheHTTP repositories, so that copies of common pages can be saved closer to the clientGatewayA special Web server that connects other applications, typically used to convert HTTP traffic to other protocol trafficTunnelA special agent for blind forwarding of HTTP communication messagesThe difference between proxy and gateway:The agent is the intermediate substance that connects the two identical protocol endpoints, and th
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.