Was ist neu bei Hyperledger Fabric 3.0
Die Aufzeichnung ist auch verfügbar
Practical notes on Enterprise software systems and the economics of software.
![]() | |
"On a long enough timeline we will all become Satoshi Nakamoto.."
|
|
Daniel Szego
|
Was ist neu bei Hyperledger Fabric 3.0
Die Aufzeichnung ist auch verfügbar
Viewing the content of the genesis block with configtxgen:
configtxgen -inspectBlock genesis.block
With configtxlator, you have to start the tool first:
configtxlator start
Viewing the content of the genesis block with configtxlator:
Viewing the content of the channel.tx with configtxlator:
curl -X POST --data-binary @mychannel.tx http://127.0.0.1:7059/protolator/decode/common.Envelope > mychannel.json
Viewing the content of the anchor transaction Org1MSPanchor.tx with configtxlator:
curl -X POST --data-binary @Org1MSPanchors.tx http://127.0.0.1:7059/protolator/decode/common.Envelope > Org1MSPanchors.json
Some of the most important Fabric CLI commands are the followings.
Create channel:
peer channel create
Fetching block and channel information, it is required at new peer joining the netwotk:
peer channel fetch
Joining the channel:
peer channel join
Listing channels:
peer channel list
Updating channels: (like at sending anchor peer update)
peer channel update
Package chanincode:
peer lifecycle chaincode package
Installing chaincode (must be executed at each peer):
lifecycle chaincode install
Query installed chaincode
lifecycle chaincode install
Approve chaincode (it must be executed at each organisation)
peer lifecycle chaincode approveformyorg
Check if chaincode is ready for the commitment
lifecycle chaincode checkcommitreadiness
Committing chaincode
peer lifecycle chaincode commit
Check if chaincode is committed
peer lifecycle chaincode querycommitted
Invoking chaincode
peer chaincode invoke
Query chaincode
peer chaincode query
Certificate Authority (CA) plays a critical role in production Hyperledger Fabric networks although this role is not always visible for the first sight. Some of the important characteristics:
- CA is not necessary to run continuously in the Hyperledger Farm
- in case CA is down no new certificate can be registered or rolled in, but the remaining of the farms works further without error.
- If the CA database is faulty or lost, no new certificate enrollment can be done for already registered users.
- If the CA database user information is compromised, attackers might enroll new certificates for existing logins.