Page MenuHomePhabricator

[index] Create new TxIndex class.

Authored by markblundeberg on May 2 2019, 18:02.


Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
rSTAGING8679dd55ea56: [index] Create new TxIndex class.
rABC8679dd55ea56: [index] Create new TxIndex class.

backports four commits from core PR13033:
f90c3a62f [index] TxIndex method to wait until caught up.
70d510d93 [index] Allow TxIndex sync thread to be interrupted.
94b4f8bbb [index] TxIndex initial sync thread.
34d68bf3a [index] Create new TxIndex class.

Depends D2901

Test Plan

build (tests are available in a later commit but not compatible
with current FindTx definition)

Diff Detail

rABC Bitcoin ABC
Lint Not Applicable
Tests Not Applicable

Event Timeline

markblundeberg added a task: Restricted Maniphest Task.May 2 2019, 18:03

fix linting (had an exception imported from the future)

deadalnix requested changes to this revision.May 5 2019, 16:49

No space in PR12345. please fix description.

This revision now requires changes to proceed.May 5 2019, 16:49
markblundeberg edited the summary of this revision. (Show Details)

No space in PR12345. please fix description.

OK, will fix other diffs likewise.

You also need to bring test/txindex_tests.cpp with it.

You also need to bring test/txindex_tests.cpp with it.

Unfortunately the tests don't work here because FindTx gets redefined in a later commit (that only occurs after the 'activation' code)

This revision is now accepted and ready to land.May 16 2019, 17:02
This revision was automatically updated to reflect the committed changes.