Tag Archives: hyperledger fabric

Notes on Programming Hyperledger Fabric

I just finished writing a book:https://www.amazon.com/dp/0578802228 In this post I am making some notes and fun facts about the book for remembrance. Original TOC Final TOC Blockchain Primer Introducing Hyperledger Fabric A proof of concept app Setting up your infrastructure … Continue reading

Posted in Software | Tagged | Leave a comment

Fabric CA Step by Step – Part 2

Restart Fabric CA server. This time we don’t use -b switch since we have a fabric-ca-server-config.yaml from previous run. Even if we used -b switch it will be ignored. note that it says 2020/03/27 10:38:13 [INFO] The CA key and … Continue reading

Posted in Software | Tagged | Leave a comment

Step by Step with Fabric CA

fabric-ca-server (v. 1.4.5) can be started without giving it any config or its own self-identity (public cert and private key) from an empty directory run below command. in below bob is the bootstrap user and bobpw is his password. we … Continue reading

Posted in Software | Tagged | Leave a comment

Fabric JIRA queries and links to uncommon resources

To see the issues that I am watching (https://stackoverflow.com/a/45876107/147530) https://jira.hyperledger.org/browse/FAB-17584?jql=key%20in%20watchedIssues()%20ORDER%20BY%20created%20DESC or navigate to Issues -> Search and type key in watchedIssues() ORDER BY created DESC To see the issues I have filed https://jira.hyperledger.org/browse/FABN-1234?jql=reporter%20%3D%20siddjain or type reporter = siddjain in search … Continue reading

Posted in Software | Tagged | Leave a comment

Cryptogen 1.4.3 Bugs

As is common for Fabric, the cryptogen utility (1.4.3) has various bugs as of this writing: The most important bug is that the admincerts folder is empty. see https://jira.hyperledger.org/browse/FAB-16933 The next bug (FAB-16936) is that if you are enabling Node … Continue reading

Posted in Software | Tagged | Leave a comment

Understanding Node OUs in Fabric

ever seen this in configtx.yaml and wondered what it means? Let me try to explain. Taking this example in configtx.yaml: Policies:   Readers:   Type: Signature   Rule: “OR(‘Org1MSP.admin’, ‘Org1MSP.peer’, ‘Org1MSP.client’)“   Writers:   Type: Signature   Rule: “OR(‘Org1MSP.admin’, ‘Org1MSP.client’)“ … Continue reading

Posted in Software | Tagged | 1 Comment

Hyperledger Fabric: Running fabric-ca-server with LDAP

Background Fabric-ca-server’s main purpose is to act as a CA (certificate authority) that can be used to obtain X509 public cert and private key – something needed in order to write records to fabric ledger. Why? because every entry is … Continue reading

Posted in Software | Tagged | Leave a comment

Hyperledger Fabric Consensus Explained

What is consensus? Definition: Consensus is the mechanism that ensures all copies of a distributed ledger are the same i.e., at all times I will have exactly the same copy of the ledger as you. This is critical – imagine my … Continue reading

Posted in Software | Tagged | Leave a comment