Author

Topic: Help On Calculation Confirmation Time for Transaction on Bitcoind (Read 1019 times)

legendary
Activity: 4130
Merit: 1307
Wow thanks! That was actually very helpful. For some reason, I must have skipped over the gettransaction in the developers guide...
Also, thanks a bunch for the Unix time! I dont think I would have ever figured that out! Im using python btw Tongue

Glad it helped.  ;-)

Good luck with the project
newbie
Activity: 2
Merit: 0
Wow thanks! That was actually very helpful. For some reason, I must have skipped over the gettransaction in the developers guide...
Also, thanks a bunch for the Unix time! I dont think I would have ever figured that out! Im using python btw Tongue
legendary
Activity: 4130
Merit: 1307
p.s.  What language are you using?
legendary
Activity: 4130
Merit: 1307
Did you look at this?
https://bitcoin.org/en/developer-reference#gettransaction


And these:

https://en.bitcoin.it/wiki/Block_timestamp
https://en.m.wikipedia.org/wiki/Unix_time

Those might help, but beware that the times are not exact due to the distributed nature of Bitcoin.  Things can happen like block 101 might have a "time" earlier than block 100.

:-)
newbie
Activity: 2
Merit: 0
Hi guys, I am a student doing a project on predicting the amount of blocks or time needed for a transaction to be confirmed on the blockchain based on the fees paid. I am running bitcoin-cli and am having trouble trying to figure out how to find the actual time when a transaction was received and when it was confirmed. Any help would be greatly appreciated.

When I rpc call using gettransaction "txid", I get a weird format for the time which I can't understand. It would be great if someone can explain to me how to read the "time", or suggest a different way of acquiring the data i need to run my analysis.

Thanks!
Jump to: