- Add Chronik, which will contain all the data/handles required to run Chronik.
- Make setup_bridge return a boxed Chronik.
- Add ChronikValidationInterface, to capture all the tx/block events happening in bitcoind.
- Add Start-/StopChronikValidationInterface to create a Chronik and start + register / stop + unregister ChronikValidationInterface.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC31df2802ac38: [Chronik] Add `Chronik`, connect it to `CValidationInterface`
- ninja
- ./src/bitcoind -regtest -reindex -debug=chronik -> displays "Chronik: block connected" (for the genesis block)
- In a new window ./src/bitcoin-cli -regtest generatetoaddress ecregtest:qqmuvc70ttys4lg8se5tt7rgk53q6cmthuamcuaexg -> displays
"Chronik: block connected" in bitcoind
- ./src/bitcoin-cli invalidateblock <hash> -> displays "Chronik: block disconnected" in bitcoind
- Can also test adding/removing tx to/from mempool
A proper python-based HTTP test will be added in future diffs.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- chronik-validationinterface
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20130 Build 39947: Build Diff build-chronik Build 39946: arc lint + arc unit
Event Timeline
Comment Actions
Rename ChronikIndexer to Chronik.
Then we can use ChronikIndexer for the stuff that only does the indexing, but e.g. none of the HTTP stuff, and Chronik then bundles
everything that’s Chronik