Re: Fetch all blocks using node sdk #fabric-sdk-node
toggle quoted messageShow quoted text
Actually we have created an independent client application (Plain HTML and Js based) to show transactions in a meaningful way to end user and showing all these information in Tree Grid once user click on any transaction Id. But here we introduced another html page using which user can query to fetch blocks as per date filter, which is very much slow as there is no direct way of fetching blocks information from ledger as i explained earlier in my previous email.
I already suggested for maintaining off chain database but that will introduce another dependency on using database like postgres or any other no sql supporting rich query platform.
Infact hyperledger explore is also using off chain database.
My question is : isn't it introducing security issues as one can delete data from off chain database? Also this could be an overhead for our clients to manage off chain database as well as another node will be deployed on our clients servers.
So i was looking for a way where we could fetch all blocks using some inbuilt node api's.
Please suggest for the same.
Thanks and regards,
Sr Group Lead @OATI
On Wed, 13 Jul 2022, 2:04 pm Anup Gupta, <anup.gupta21@...> wrote: