Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesign block retrieval and random access of the chain
`GetChainHashes`, renamed from `GetHashes` is left as the only method for walking back the chain with random offsets. The blocks and headers can be retrieved with simpler methods `GetBlocks` and`GetHeaders`, both accepting a sequence of hashes.
- Loading branch information
Mikhail Zabaluev
committed
Feb 15, 2019
1 parent
bc79399
commit 1c48b41
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters