hyperledger / fabric

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
15.68k stars 8.83k forks source link

Should we introduce a `osnadmin channel info` subcmd? #4890

Open yeasy opened 3 months ago

yeasy commented 3 months ago

Current Status

osnadmin support following cmds today: join, list and remove. If we want to get detailed information on specific channel, we use the list cmd with specific channel id.

List channel information for an Ordering Service Node (OSN). If the channelID flag is set, more detailed information will be provided for that channel.

Expected

Another better option is to let list only do list all channels work, and introduce a separate subcmd such as info to do the detailed info query on specific channel.

Solution

Add a new subcmd of info.

Please let us know if you plan to work on this.

Yes!

Priyansurout commented 3 months ago

/assign

yeasy commented 3 months ago

@denyeart how do you think?

Priyansurout commented 3 months ago

@yeasy can i also work on this?

yeasy commented 3 months ago

@yeasy can i also work on this?

Let's wait for @denyeart 's comment first.

Priyansurout commented 3 months ago

ok

denyeart commented 3 months ago

Yes, I agree, osnadmin channel info --channelID=<channel_name> is a good enhancement, we look forward to a contribution!

Priyansurout commented 3 months ago

@yeasy so can i work on this now