dash/src
fanquake 023eb917a8
Merge bitcoin/bitcoin#26090: fs: fully initialize _OVERLAPPED for win32
02c9e564687af6ae2b0b6589108d502963f879cb fs: fully initialize _OVERLAPPED for win32 (Cory Fields)

Pull request description:

  ```bash
  fs.cpp: In member function ‘bool fsbridge::FileLock::TryLock()’:
  fs.cpp:129:32: error: missing initializer for member ‘_OVERLAPPED::InternalHigh’ [-Werror=missing-field-initializers]
    129 |     _OVERLAPPED overlapped = {0};
        |                                ^
  fs.cpp:129:32: error: missing initializer for member ‘_OVERLAPPED::<anonymous>’ [-Werror=missing-field-initializers]
  fs.cpp:129:32: error: missing initializer for member ‘_OVERLAPPED::hEvent’ [-Werror=missing-field-initializers]
  ```

  Came up in #25972. That PR is now rebased on this change.

  Closes: #26006

ACKs for top commit:
  sipsorcery:
    tACK 02c9e564687af6ae2b0b6589108d502963f879cb.
  hebasto:
    ACK 02c9e564687af6ae2b0b6589108d502963f879cb, tested on Linux x86_64:

Tree-SHA512: 6a0495c34bd952b2bb8c994a1450da7d3eee61225bb4ff0ce009c013f5e29dba94bb1c3ecef9989dc18c939909fdc8eba690a38f96da431ae9d64c23656de7d0
2024-02-29 12:35:15 -06:00
..
bench merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
bls merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
coinjoin non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
compat merge bitcoin#21966: Remove double serialization; use software encoder for fee estimation 2024-02-28 13:37:33 -06:00
config
consensus Merge bitcoin/bitcoin#22065: Mark CheckTxInputs [[nodiscard]]. Avoid UUM in fuzzing harness coins_view. 2024-02-14 14:57:36 -06:00
crc32c Merge bitcoin/bitcoin#25836: subtree: update crc32c subtree 2024-02-29 09:35:00 -06:00
crypto Merge bitcoin/bitcoin#25332: build: test for timingsafe_bcmp 2024-02-22 20:58:45 -06:00
dashbls
evo merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
governance qt: add interface for CGovernanceObject querying 2024-02-27 09:56:08 -06:00
gsl refactor: re-order headers and forward declarations to improve compile time (#5693) 2023-11-17 10:04:18 -06:00
immer fix: drop symlinks in immer subtree 2024-02-28 13:18:49 -06:00
index Merge bitcoin/bitcoin#25967: refactor: add LIFETIMEBOUND to blockfilter where needed 2024-02-29 09:35:01 -06:00
interfaces refactor: use NodeContext members instead of globals in interface logic 2024-02-27 09:56:08 -06:00
leveldb Merge bitcoin/bitcoin#24461: build: Minor leveldb subtree update 2023-12-07 09:14:57 -06:00
llmq Merge #5824: feat: generalize ehf activation 2024-02-28 19:54:04 -06:00
logging
masternode non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
node Merge bitcoin/bitcoin#24191: refactor: Make MessageBoxFlags enum underlying type unsigned 2024-02-28 13:16:39 -06:00
policy merge bitcoin#21966: Remove double serialization; use software encoder for fee estimation 2024-02-28 13:37:33 -06:00
primitives Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
qt Merge bitcoin-core/gui#664: Prevent wrong handling of %2 token by Transifex 2024-02-29 12:35:15 -06:00
rpc partial bitcoin#25001: Modernize util/strencodings and util/string: string_view and optional 2024-02-28 13:37:35 -06:00
script merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
secp256k1 merge bitcoin#27479: BIP324: ElligatorSwift integrations 2023-11-21 07:59:03 -06:00
support merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
test Merge bitcoin/bitcoin#22176: test: Correct outstanding -Werror=sign-compare errors 2024-02-29 09:34:59 -06:00
univalue
util partial bitcoin#23595: Add ParseHex<std::byte>() helper 2024-02-28 13:37:36 -06:00
wallet merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
zmq merge bitcoin#21817: Replace &foo[0] with foo.data() 2024-02-28 13:37:33 -06:00
.clang-format
addrdb.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
addrdb.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
addressindex.cpp
addressindex.h
addrman.cpp merge bitcoin#21969: Switch serialize to uint8_t 2024-02-28 13:37:33 -06:00
addrman.h Merge bitcoin/bitcoin#21129: fuzz: check that ser+unser produces the same AddrMan 2024-01-01 17:48:13 -06:00
amount.h Merge #15054: Update copyright headers to 2018 2023-12-06 11:40:14 -06:00
arith_uint256.cpp Merge bitcoin/bitcoin#24059: Fix implicit-integer-sign-change in arith_uint256 2024-02-28 13:16:39 -06:00
arith_uint256.h Merge bitcoin/bitcoin#24854: Remove not needed ArithToUint256 roundtrips in tests 2024-01-13 19:32:31 -06:00
attributes.h
banman.cpp Merge bitcoin/bitcoin#24168: Fix some race conditions in BanMan::DumpBanlist() 2024-01-13 19:32:30 -06:00
banman.h
base58.cpp Merge #19739: refactor: remove c-string interfaces for DecodeBase58{Check} 2024-01-10 19:22:58 -06:00
base58.h Merge #19739: refactor: remove c-string interfaces for DecodeBase58{Check} 2024-01-10 19:22:58 -06:00
batchedlogger.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
batchedlogger.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
bech32.cpp
bech32.h
bip39_english.h
bip39.cpp
bip39.h
bitcoin-cli.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
bitcoin-tx.cpp partial bitcoin#26691: Update secp256k1 subtree to libsecp256k1 version 0.2.0 2023-11-21 07:59:03 -06:00
bitcoin-wallet.cpp partial bitcoin#26691: Update secp256k1 subtree to libsecp256k1 version 0.2.0 2023-11-21 07:59:03 -06:00
bitcoind.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
blockencodings.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
blockencodings.h
blockfilter.cpp merge bitcoin#23653: Generalize/simplify VectorReader into SpanReader 2024-02-28 13:37:34 -06:00
blockfilter.h Merge bitcoin/bitcoin#25967: refactor: add LIFETIMEBOUND to blockfilter where needed 2024-02-29 09:35:01 -06:00
bloom.cpp merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
bloom.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
cachemap.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
cachemultimap.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
chain.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
chain.h Merge bitcoin/bitcoin#13875: [doc] nChainTx needs to become a 64-bit earlier due to SegWit 2023-12-26 22:26:19 -06:00
chainparams.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
chainparams.h partial Merge #20004: test: Add signet witness commitment section parse tests 2024-01-31 11:32:23 -06:00
chainparamsbase.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
chainparamsbase.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
chainparamsseeds.h feat: add onion_seeds to seed creation; do seed creation (#5866) 2024-02-14 22:31:24 -06:00
checkqueue.h
clientversion.cpp feat: Set client version for non-release binaries and version in guix based on git tags (#5653) 2024-01-11 21:43:42 -06:00
clientversion.h
coins.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
coins.h Merge bitcoin/bitcoin#22263: refactor: wrap CCoinsViewCursor in unique_ptr 2023-12-03 20:45:01 -06:00
compat.h Merge #15704: Move Win32 defines to configure.ac to ensure they are globally defined 2024-01-10 19:22:58 -06:00
compressor.cpp merge bitcoin#21817: Replace &foo[0] with foo.data() 2024-02-28 13:37:33 -06:00
compressor.h
context.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
core_io.h merge bitcoin#17775: Try case where txn has inputs first 2024-02-06 08:44:04 -06:00
core_memusage.h
core_read.cpp merge bitcoin#17775: Try case where txn has inputs first 2024-02-06 08:44:04 -06:00
core_write.cpp Merge bitcoin/bitcoin#24319: refactor: Avoid unsigned integer overflow in core_write 2024-02-28 13:16:39 -06:00
ctpl_stl.h
cuckoocache.h Merge bitcoin/bitcoin#23626: refactor: Fix implicit-signed-integer-truncation in cuckoocache.h 2024-02-28 13:16:38 -06:00
cxxtimer.hpp
dash-cli-res.rc
dash-tx-res.rc
dash-wallet-res.rc
dashd-res.rc
dbwrapper.cpp merge bitcoin#21817: Replace &foo[0] with foo.data() 2024-02-28 13:37:33 -06:00
dbwrapper.h merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
deploymentinfo.cpp Merge bitcoin/bitcoin#19438: Introduce deploymentstatus 2023-12-01 09:08:50 -06:00
deploymentinfo.h Merge bitcoin/bitcoin#19438: Introduce deploymentstatus 2023-12-01 09:08:50 -06:00
deploymentstatus.cpp Merge bitcoin/bitcoin#19438: Introduce deploymentstatus 2023-12-01 09:08:50 -06:00
deploymentstatus.h refactor: move out helper IsDIP3Enforced from deterministicmns 2023-12-21 23:02:31 -06:00
dsnotificationinterface.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
dsnotificationinterface.h fix: should not notify about mnlist changes while ConnectBlock isn't done yet (#5711) 2023-11-16 12:36:46 -06:00
dummywallet.cpp refactor: rename CJClientManager 2024-01-10 12:06:01 -06:00
flat-database.h merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
flatfile.cpp Merge #21041: log: Move "Pre-allocating up to position 0x[…] in […].dat" log message to debug category 2023-12-03 20:44:56 -06:00
flatfile.h
fs.cpp Merge bitcoin/bitcoin#26090: fs: fully initialize _OVERLAPPED for win32 2024-02-29 12:35:15 -06:00
fs.h Merge #20932: refactor: Replace fs::absolute calls with AbsPathJoin calls 2023-12-08 21:16:00 +03:00
hash.cpp Merge bitcoin/bitcoin#25959: doc: Fix link to MurmurHash3.cpp (moved from Google Code to Github) 2024-02-29 09:35:01 -06:00
hash.h merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
hdchain.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
hdchain.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
httprpc.cpp partial bitcoin#25001: Modernize util/strencodings and util/string: string_view and optional 2024-02-28 13:37:35 -06:00
httprpc.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
httpserver.cpp Merge bitcoin/bitcoin#23607: rpc: Pass const char* to evhttp_connection_get_peer for new libevent 2024-01-13 19:32:29 -06:00
httpserver.h
i2p.cpp
i2p.h
indirectmap.h
init.cpp Merge bitcoin/bitcoin#21818: doc: fixup -coinstatsindex help, update bitcoin.conf and files.md 2024-02-27 12:01:02 -06:00
init.h partial Merge bitcoin/bitcoin#25233: compat: remove glibcxx sanity checks 2023-11-07 07:44:05 -06:00
key_io.cpp Merge #20832: rpc: Better error messages for invalid addresses 2024-02-01 11:09:04 -06:00
key_io.h Merge #20832: rpc: Better error messages for invalid addresses 2024-02-01 11:09:04 -06:00
key.cpp merge bitcoin#21817: Replace &foo[0] with foo.data() 2024-02-28 13:37:33 -06:00
key.h merge bitcoin#21817: Replace &foo[0] with foo.data() 2024-02-28 13:37:33 -06:00
limitedmap.h
logging.cpp merge bitcoin#21121: Small unit test improvements, including helper to make mempool transaction 2024-02-02 23:14:06 -06:00
logging.h Merge bitcoin/bitcoin#22530: log: sort logging categories alphabetically 2023-12-03 20:25:16 -06:00
Makefile.am merge bitcoin#22084: package testmempoolaccept followups 2024-02-02 23:14:06 -06:00
Makefile.bench.include merge bitcoin#27479: BIP324: ElligatorSwift integrations 2023-11-21 07:59:03 -06:00
Makefile.crc32c.include
Makefile.leveldb.include Merge bitcoin/bitcoin#25457: Use more specific path when including memenv.h header 2024-02-27 10:02:44 -06:00
Makefile.qt_locale.include
Makefile.qt.include partial Merge #18027: "PSBT Operations" dialog 2024-01-31 11:32:22 -06:00
Makefile.qttest.include
Makefile.test_fuzz.include
Makefile.test_util.include merge bitcoin#21553: Misc refactor 2024-02-06 08:39:53 -06:00
Makefile.test.include Merge bitcoin/bitcoin#25798: build: fix cleanup of test logs 2024-02-29 09:35:00 -06:00
Makefile.univalue.include
mapport.cpp
mapport.h Merge bitcoin/bitcoin#26896: build: Remove port-forwarding runtime setting options from configure 2023-12-03 20:01:26 -06:00
memusage.h
merkleblock.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
merkleblock.h
messagesigner.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
messagesigner.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
miner.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
miner.h refactor: drop global variable fDIP0001ActiveAtTip - partial implementation 2023-12-21 23:02:31 -06:00
net_permissions.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
net_permissions.h Merge bitcoin/bitcoin#21644: p2p, bugfix: use NetPermissions::HasFlag() in CConnman::Bind() 2023-12-03 20:44:58 -06:00
net_processing.cpp Merge #19858: Periodically make block-relay connections and sync headers 2024-02-21 13:27:06 -06:00
net_processing.h Merge #19858: Periodically make block-relay connections and sync headers 2024-02-21 13:27:06 -06:00
net_types.h refactor: new helpers in net_processing for external handlers 2024-01-10 15:12:05 -06:00
net.cpp merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
net.h Merge #19858: Periodically make block-relay connections and sync headers 2024-02-21 13:27:06 -06:00
netaddress.cpp
netaddress.h Merge #20119: BIP155 follow-ups 2024-01-22 19:47:13 -06:00
netbase.cpp Merge bitcoin/bitcoin#22052: net: remove non-blocking bool from interface 2024-01-02 11:17:48 -06:00
netbase.h Merge bitcoin/bitcoin#22052: net: remove non-blocking bool from interface 2024-01-02 11:17:48 -06:00
netfulfilledman.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
netfulfilledman.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
netmessagemaker.h
noui.cpp Merge #19331: build: Do not include server symbols in wallet 2024-01-10 12:06:05 -06:00
noui.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
outputtype.cpp
outputtype.h
pow.cpp
pow.h
prevector.h Merge bitcoin/bitcoin#24962: prevector: enforce is_trivially_copyable_v 2024-01-14 11:05:36 -06:00
protocol.cpp Merge bitcoin/bitcoin#25888: refactor: use strprintf for creating unknown-service-flag string 2024-02-29 09:35:00 -06:00
protocol.h Merge #19610: p2p: refactor AlreadyHave(), CInv::type, INV/TX processing 2024-01-27 22:55:26 -06:00
psbt.cpp merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
psbt.h partial Merge #18027: "PSBT Operations" dialog 2024-01-31 11:32:22 -06:00
pubkey.cpp merge bitcoin#21817: Replace &foo[0] with foo.data() 2024-02-28 13:37:33 -06:00
pubkey.h merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
random.cpp merge bitcoin#28012: Allow FastRandomContext::randbytes for std::byte, Allow std::byte serialization 2024-02-28 13:37:36 -06:00
random.h merge bitcoin#28012: Allow FastRandomContext::randbytes for std::byte, Allow std::byte serialization 2024-02-28 13:37:36 -06:00
randomenv.cpp
randomenv.h
rest.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
reverse_iterator.h
saltedhasher.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
saltedhasher.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
scheduler.cpp Merge bitcoin/bitcoin#25040: refactor: Pass lifetimebound reference to SingleThreadedSchedulerClient 2024-01-13 23:09:41 -06:00
scheduler.h Merge bitcoin/bitcoin#25040: refactor: Pass lifetimebound reference to SingleThreadedSchedulerClient 2024-01-13 23:09:41 -06:00
serialize.h merge bitcoin#28012: Allow FastRandomContext::randbytes for std::byte, Allow std::byte serialization 2024-02-28 13:37:36 -06:00
shutdown.cpp Merge #19233: Make SetMiscWarning() accept bilingual_str argument 2024-01-16 15:05:05 -06:00
shutdown.h
source_location.h
span.h Merge bitcoin/bitcoin#22881: doc: provide context for CNetAddr::UnserializeV1Array() and span.h with lifetimebound 2023-12-26 22:26:19 -06:00
spentindex.h
spork.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
spork.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
stacktraces.cpp non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
stacktraces.h
statsd_client.cpp
statsd_client.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
streams.h partial bitcoin#25296: Add DataStream without ser-type and ser-version 2024-02-28 13:37:35 -06:00
sync.cpp Merge #20507: sync: print proper lock order location when double lock is detected 2024-02-07 10:27:43 -06:00
sync.h Merge #20495: sync: Use decltype(auto) return type for WITH_LOCK 2024-01-16 07:57:35 -06:00
threadinterrupt.cpp
threadinterrupt.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
threadsafety.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
timedata.cpp Merge #19233: Make SetMiscWarning() accept bilingual_str argument 2024-01-16 15:05:05 -06:00
timedata.h
timestampindex.h
tinyformat.h
torcontrol.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
torcontrol.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
txdb.cpp merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
txdb.h Merge bitcoin/bitcoin#22263: refactor: wrap CCoinsViewCursor in unique_ptr 2023-12-03 20:45:01 -06:00
txmempool.cpp merge bitcoin#22084: package testmempoolaccept followups 2024-02-02 23:14:06 -06:00
txmempool.h merge bitcoin#21142: Add tx_pool fuzz targets 2024-02-06 08:39:52 -06:00
uint256.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
uint256.h merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
undo.h
unordered_lru_cache.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
validation.cpp merge bitcoin#23438: Use spans of std::byte in serialize 2024-02-28 13:37:34 -06:00
validation.h non-scripted-diff: bump copyright year to 2023 2024-02-24 11:05:37 -06:00
validationinterface.cpp Merge bitcoin/bitcoin#25040: refactor: Pass lifetimebound reference to SingleThreadedSchedulerClient 2024-01-13 23:09:41 -06:00
validationinterface.h Merge #18982: wallet: Minimal fix to restore conflicted transaction notifications 2024-01-10 12:07:53 -06:00
version.h
versionbits.cpp Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
versionbits.h Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
walletinitinterface.h refactor: rename CJClientManager 2024-01-10 12:06:01 -06:00
warnings.cpp Merge #19233: Make SetMiscWarning() accept bilingual_str argument 2024-01-16 15:05:05 -06:00
warnings.h Merge #19233: Make SetMiscWarning() accept bilingual_str argument 2024-01-16 15:05:05 -06:00