Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: gladiator9120 on July 07, 2018, 06:25:56 AM



Title: Need Help with setting up Bitcoin Explorer
Post by: gladiator9120 on July 07, 2018, 06:25:56 AM
Hello,

I have Bitcoind and Bitcoin-cli setup on my Ubuntu and it is working perfectly fine.

However, I am researching on some serious bitcoin trends during a specific period. Let's say I want to see transaction volume between specific period, day wise. Is there anyway, I can do it ?

Any help will be appreciated.

Thanks.


Title: Re: Need Help with setting up Bitcoin Explorer
Post by: achow101 on July 07, 2018, 06:36:48 AM
You cannot just query for all transactions with some given parameter, bitcoind does not work like that. Bitcoind is not a block explorer and is not meant to be one. What you can do is request for specific blocks (and transactions if you have enabled the transaction index). So you can get the blocks around the timepan that you want and get the transactions from there to analyze.


Title: Re: Need Help with setting up Bitcoin Explorer
Post by: gladiator9120 on July 07, 2018, 06:48:11 AM
Thanks, got your point.

What you can do is request for specific blocks (and transactions if you have enabled the transaction index)

Can you please explain in brief how to enable transaction index ?

So you can get the blocks around the timepan that you want and get the transactions from there to analyze.


If you can guide a little how to get specific blocks from time span


Title: Re: Need Help with setting up Bitcoin Explorer
Post by: HCP on July 07, 2018, 07:00:54 AM
What you can do is request for specific blocks (and transactions if you have enabled the transaction index)
Can you please explain in brief how to enable transaction index ?
You need to start bitcoind using the -txindex=1 commandline argument (or add txindex=1 to your bitcoin.conf file)


Title: Re: Need Help with setting up Bitcoin Explorer
Post by: gladiator9120 on July 07, 2018, 07:26:31 AM
Thanks a lot Sir !