Page MenuHomePhabricator

[index] Create new TxIndex class.
ClosedPublic

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

Details

Summary

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

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

markblundeberg created this revision.Thu, May 2, 18:02
Herald added a reviewer: Restricted Project. · View Herald TranscriptThu, May 2, 18:02
markblundeberg updated this revision to Diff 8342.Thu, May 2, 18:24

fix linting (had an exception imported from the future)

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

No space in PR12345. please fix description.

This revision now requires changes to proceed.Sun, May 5, 16:49
markblundeberg requested review of this revision.Sun, May 5, 16:57
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)

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