bitcoin/src/index
fanquake 895937edb2
Merge bitcoin/bitcoin#25285: Add AutoFile without ser-type and ser-version and use it where possible
facc2fa7b8 Use AutoFile where possible (MacroFake)
6666803c89 streams: Add AutoFile without ser-type and ser-version (MacroFake)

Pull request description:

  This was done in the context of https://github.com/bitcoin/bitcoin/pull/25284 , but I think it also makes sense standalone.

  The basic idea is that serialization type should not be initialized when it is not needed. Same for the serialization version.

  So do this here for `AutoFile`. `CAutoFile` remains in places where it is not yet possible.

ACKs for top commit:
  laanwj:
    Code review ACK facc2fa7b8
  fanquake:
    ACK facc2fa7b8

Tree-SHA512: d82d024d55af57565ac53d9d1517afafc12b46964effba0332de62a6c77869356fa77f89e6d4834438fff44c45b64fccdf5a1358bfea03e28dfe55013b3c099d
2022-07-20 09:32:11 +01:00
..
base.cpp Merge bitcoin/bitcoin#25645: refactor: Remove unused includes from dbwrapper.h 2022-07-19 21:54:52 +01:00
base.h indexes, refactor: Remove CChainState use in index CommitInternal method 2022-07-18 13:39:55 -05:00
blockfilterindex.cpp Merge bitcoin/bitcoin#25285: Add AutoFile without ser-type and ser-version and use it where possible 2022-07-20 09:32:11 +01:00
blockfilterindex.h indexes, refactor: Remove CChainState use in index CommitInternal method 2022-07-18 13:39:55 -05:00
coinstatsindex.cpp Merge bitcoin/bitcoin#25645: refactor: Remove unused includes from dbwrapper.h 2022-07-19 21:54:52 +01:00
coinstatsindex.h indexes, refactor: Remove CChainState use in index CommitInternal method 2022-07-18 13:39:55 -05:00
disktxpos.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
txindex.cpp indexes, refactor: Remove CBlockIndex* uses in index WriteBlock methods 2022-07-18 13:39:55 -05:00
txindex.h indexes, refactor: Remove CBlockIndex* uses in index WriteBlock methods 2022-07-18 13:39:55 -05:00