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

Get block hashes by timestamp range #219

Merged
merged 5 commits into from
Sep 16, 2015

Conversation

pnagurny
Copy link
Contributor

Closes #204


Get Block Hashes by Timestamp range

var time1 = 1441911000; // Notice time is in seconds not milliseconds
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing backticks for code formatting

@kleetus
Copy link
Contributor

kleetus commented Sep 14, 2015

LGTM: tests pass locally

@braydonf
Copy link
Contributor

If we can store the indexes as binary, e.g. sending a buffer for the key and value, and receiving a buffer the data storage size will be half the size, and faster to write and read.

@pnagurny
Copy link
Contributor Author

Updated to binary encode leveldb key and value.

@braydonf
Copy link
Contributor

LGTM

@braydonf
Copy link
Contributor

Testing with bitpay/insight-api#368

@braydonf
Copy link
Contributor

LGTM

braydonf pushed a commit that referenced this pull request Sep 16, 2015
Get block hashes by timestamp range
@braydonf braydonf merged commit 4343b90 into bitpay:master Sep 16, 2015
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

3 participants