Minifab Peer Nodes Questions


Brett Tiller
 

Using minifabric how do I do the following?

 

  • How do I view the ledger of each peer node to prove that each has received/processed transactions?

 

  • When I run command "minifab up  -s couch.db  -e 7400", then command "minifab channelquery" I can see in the file mychannel_config.json section  channel_group.groups.Application.groups each organization from my spec.yaml file, but not the peers.  However, when I run command "minifab join" to add the peers to the channel I get an error "Error: proposal failed (err: bad proposal response 500: cannot create ledger from genesis block: ledger [mychannel] already exists with state [ACTIVE])" which I understand this message to mean that the peers already exist in mychannel which is not correct.  Am I missing a step?

 

  • Using minifab I want to add/remove individual peers from channels.  Do I need to edit each corresponding channel file then call channel_update, channel_sign to do this step?

 

Thanks,

 

Brett Tiller

Sr. Software Engineer

984-349-4239 (mobile)

btiller@...

 

https://www.linkedin.com/company/securboration

 


Tong Li
 

That is correct in terms of the process. Please see the document in docs directory.


On Jun 28, 2022, at 5:41 PM, Brett Tiller <btiller@...> wrote:


Using minifabric how do I do the following? How do I view the ledger of each peer node to prove that each has received/processed transactions? When I run command "minifab up -s couch.db -e 7400", then command "minifab channelquery"
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd

Using minifabric how do I do the following?

 

  • How do I view the ledger of each peer node to prove that each has received/processed transactions?

 

  • When I run command "minifab up  -s couch.db  -e 7400", then command "minifab channelquery" I can see in the file mychannel_config.json section  channel_group.groups.Application.groups each organization from my spec.yaml file, but not the peers.  However, when I run command "minifab join" to add the peers to the channel I get an error "Error: proposal failed (err: bad proposal response 500: cannot create ledger from genesis block: ledger [mychannel] already exists with state [ACTIVE])" which I understand this message to mean that the peers already exist in mychannel which is not correct.  Am I missing a step?

 

  • Using minifab I want to add/remove individual peers from channels.  Do I need to edit each corresponding channel file then call channel_update, channel_sign to do this step?

 

Thanks,

 

Brett Tiller

Sr. Software Engineer

984-349-4239 (mobile)

btiller@...

 

image001.png

https://www.linkedin.com/company/securboration