The open source collaborative project for the development of enterprise blockchains, Hyperledger, unveiled the release of version 2.0 of its modular Fabric solution. Up to six improvements were introduced to optimize the execution of smart contracts, in this case called chaincodes , in addition to modifying the type of consensus among participants and improving privacy levels.
Hyperledger informed, through a statement , that the improvements applied to its solution took into account the suggestions made by members of the developer community and industry actors , who already use version 1.0 since it was launched in 2017.
The six improvements include the following aspects: a new management of the life cycle of smart contracts . That is, a decentralized governance was introduced so that the participants reach an agreement on the parameters of a chaincode , before the data is added to the blockchain . In practice this will not allow anyone to register information on the network until there is a consensus.
The same pattern can also be applied in the uses of smart contracts so that “organizations give their consent to data transactions, before committing themselves to the ledger,” Hyperledger said of the second of the improvements.
As an example, the consortium explained that organizations can now extend their copy of a chaincode to meet their individual requirements. That is, an organization can add its own validations to better protect its specific interests before backing up a transaction. . As long as there is consensus among the participants for a given transaction, it will commit to the ledger as in previous versions.
Privacy and performance
The third improvement allows organizations to share data privately with other organizations, through a new feature called private data collections.
“For some use cases, the implementation of private data collections did not help us. Imagine you have 100 relationships with other participants and you don’t want them to know each other. Well, you do 100 channels which spends a lot of resources or you make a private data collection, which is already revealing your 100 relationships, ”he explained on Twitter, the blockchainer Maritere Nieto, of the Telefónica company.
The fourth modification is a new chaincode pitcher external , which implies a great change in the way in which the contract life cycle is managed.
The fifth improvement is related to a new type of consensus called Raft, for the order service and the sixth is the addition of a new cache “to improve performance when using CouchDB as the status database,” Hyperledger said.
Fabric is the most popular blockchain solution Hyperledger offers for businesses, but it is not the only alternative . It also offers platforms such as Besu, Burrow, Indy, Iroha and Sawtooth.