Andrew Chow 8b050762b1
Merge bitcoin/bitcoin#26409: refactor: Silence GCC Wmissing-field-initializers in ChainstateManagerOpts
fa29ef00adac6f0842acdd38344820a1ce0e3087 refactor: Silence GCC Wmissing-field-initializers in ChainstateManagerOpts (MacroFake)

Pull request description:

  The `std::optional` fields in the struct that fall back to chain param defaults if not provided should be initialized to `std::nullopt`. This already happens with the current code.

  However, for consistency with `check_block_index` and to silence a GCC warning, add the "missing" `{}`.

ACKs for top commit:
  achow101:
    ACK fa29ef00adac6f0842acdd38344820a1ce0e3087
  hebasto:
    ACK fa29ef00adac6f0842acdd38344820a1ce0e3087, tested on Ubuntu 22.04 + GCC 11.3.
  jonatack:
    ACK fa29ef00adac6f0842acdd38344820a1ce0e3087

Tree-SHA512: bdec9c56df5d601a5616e107fed48737b13b0a7242b6526092fb682b5016544a4bc08666b60304c668d44c6f7ac69d3788093d921382c1d6c577c1f9fe31fc50
2022-10-28 15:37:17 -04:00
..
2022-10-26 15:55:29 +03:00
2022-09-23 10:48:47 +01:00
2022-10-10 15:44:02 +01:00
2022-04-20 14:29:29 +01:00
2022-10-18 14:12:42 +02:00
2022-07-20 15:34:36 +02:00
2021-12-30 19:36:57 +02:00
2022-08-04 11:32:25 +02:00
2022-08-04 11:32:25 +02:00
2022-07-26 11:05:04 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-08-20 09:33:01 +02:00
2022-08-05 14:59:15 +02:00
2022-08-05 14:59:15 +02:00