Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching block by timestamp, e.g., 2016-11-13 08:51:43, added #11

Merged
merged 13 commits into from
Nov 24, 2016

Conversation

moneroexamples
Copy link
Owner

@moneroexamples moneroexamples commented Nov 24, 2016

The supported datetime format is 2016-11-13 08:51:43 . If the block with exact timestamp does not exist, the first boock with higher timestamp is returned.

For this to work, the custom lmdb database must be up to date, as the timestamps are taken from it. In Monero blockchain, you cant search blocks based on timestamps.

Also UTC timezone were fixed, so now the dates and times shown are UTC, unlike before. Hinnant library requires curl, so you mean need to install it, sudo apt install libcurl4-openssl-dev first.

@Gingeropolous
Copy link
Contributor

ruh roh

(2016-11-24 03:21:53) [ERROR ] An uncaught exception occurred: Timezone database version "2016j" did not install correctly to "/home/monero/Downloads/tzdata"

I can post more of the wall of text that was output when this error occurred if you need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants