Note: lists.hyperledger.org will be down for maintenance on Monday, September 26th, starting at 9AM Pacific Time (4PM Monday September 26, 2022 UTC), for approximately one hour.
Re: How to get the ledger height of channel in real time? #fabric-sdk-node
toggle quoted messageShow quoted text
yes, you maybe can not get the latest info about height. But if the channel is alive the height will not be static. There are always transactions around.
I am not sure how much sense it will make to know exact height at the fixed time.
Can you tell more about your scenario about this?
On Wed, Nov 28, 2018 at 6:34 PM <andychen.chen@...> wrote:
As we know, one channel can have multiple peers, and when we query ledger height , we need to specify one peer in the channel, but if this peer's ledger is not up to date(e.g. not a leader peer, network issue,sync delay），we will not get the latest ledger data.
This is my life,but world of us~~