HomePhabricator

Add a skiplist to the CBlockIndex structure.
c9a0918330f3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add a skiplist to the CBlockIndex structure.

This allows fast (O(log n)) access to far predecessor blocks.
Use it to speed up CChain::FindFork and CChain::GetLocator.

Details

Provenance
Pieter Wuille <sipa@ulyssis.org>Authored on Jun 24 2014, 22:56
Pieter Wuille <pieter.wuille@gmail.com>Committed on Jun 29 2014, 19:51
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGaa815647005b: Track peers' available blocks
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGc9a0918330f3: Add a skiplist to the CBlockIndex structure. (authored by Pieter Wuille <sipa@ulyssis.org>).Jun 29 2014, 19:51