Locate ledger filename by block number in Hyperledger Fabric

I know the ledger consists of multiple files and each file has a maximum size limit(in my case), and all the blocks have been serialized and stored in these files.

I can query blocks info by block number but the file information is transparent to me(it should be). All the files are controlled by the blockfileMgr and the checkpoint only tracks the latest file.

Programmatically, is there a way to locate the file name by block number?

#blockchain #hyperledger

3 Likes2.10 GEEK