mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-13 11:25:02 -05:00
![]() The 'm_synced' flag enables 'BlockConnected' events to be processed by the index. If we set the flag before calling 'CustomInit', we could be dispatching a block connected event to an uninitialized index child class. e.g. BlockFilterIndex, initializes the next filter position inside 'CustomInit'. So, if `CustomInit` is not called prior receiving the block event, the index will use 'next_filter_position=0' which overwrites the first filter in disk. |
||
---|---|---|
.. | ||
base.cpp | ||
base.h | ||
blockfilterindex.cpp | ||
blockfilterindex.h | ||
coinstatsindex.cpp | ||
coinstatsindex.h | ||
disktxpos.h | ||
txindex.cpp | ||
txindex.h |