dash/src/util
W. J. van der Laan 5181629ba2
Merge bitcoin/bitcoin#21659: net: flag relevant Sock methods with [[nodiscard]]
e286cd0d7b4e12c8efe5e7ac3066a100e0ba2c0a net: flag relevant Sock methods with [[nodiscard]] (Vasil Dimov)

Pull request description:

  Flag relevant Sock methods with `[[nodiscard]]` to avoid issues like the one fixed in https://github.com/bitcoin/bitcoin/pull/21631.

ACKs for top commit:
  practicalswift:
    cr ACK e286cd0d7b4e12c8efe5e7ac3066a100e0ba2c0a: the only changes made are additions of `[[nodiscard]]` and `(void)` where appropriate
  laanwj:
    Code review ACK e286cd0d7b4e12c8efe5e7ac3066a100e0ba2c0a

Tree-SHA512: addc361968d24912bb625b42f4db557791556bf0ffad818252a89a32d76ac22758ec70f8282dcfbfd77eebec20a8e6bb7557c8ed08d50a58de95378c34955973
2023-12-03 20:44:59 -06:00
..
asmap.cpp Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
asmap.h merge bitcoin#18512: Improve asmap checks and add sanity check 2022-03-25 00:58:20 +05:30
bip32.cpp Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
bip32.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
bytevectorhash.cpp
bytevectorhash.h
check.cpp merge bitcoin#24714: Don't use a lambda for Assert/Assume 2023-09-04 20:50:27 -05:00
check.h merge bitcoin#24714: Don't use a lambda for Assert/Assume 2023-09-04 20:50:27 -05:00
enumerate.h fix: add missing includes and remove obsolete includes (#5562) 2023-09-07 09:07:02 -05:00
error.cpp Merge #16745: wallet: Translate all initErrors in CreateWalletFromFile 2022-04-08 14:12:56 -05:00
error.h Merge #16745: wallet: Translate all initErrors in CreateWalletFromFile 2022-04-08 14:12:56 -05:00
fastrange.h merge bitcoin#23994: Consolidate all uses of the fast range mapping technique in util/fastrange.h 2023-09-04 20:50:27 -05:00
fees.cpp Merge #11413: [wallet] [rpc] sendtoaddress/sendmany: Add explicit feerate option 2023-07-21 16:03:00 -05:00
fees.h Merge #11413: [wallet] [rpc] sendtoaddress/sendmany: Add explicit feerate option 2023-07-21 16:03:00 -05:00
getuniquepath.cpp Merge bitcoin/bitcoin#22916: doc: add missing copyright header to getuniquepath.cpp 2022-03-13 14:52:24 -05:00
getuniquepath.h merge #21052: Replace fs::unique_path with GetUniquePath(path) calls 2021-08-09 12:38:04 +05:30
golombrice.h merge bitcoin#23994: Consolidate all uses of the fast range mapping technique in util/fastrange.h 2023-09-04 20:50:27 -05:00
hash_type.h merge bitcoin#19326: Simplify hash.h interface using Spans 2023-09-24 09:50:50 -05:00
hasher.cpp merge bitcoin#19935: Move SaltedHashers to separate file and add some new ones 2023-09-04 20:50:27 -05:00
hasher.h merge bitcoin#19935: Move SaltedHashers to separate file and add some new ones 2023-09-04 20:50:27 -05:00
irange.h chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
macros.h merge bitcoin#21059: Drop boost/preprocessor dependencies 2023-09-04 20:50:27 -05:00
message.cpp Merge #18115: wallet: Pass in transactions and messages for signing instead of exporting the private keys 2023-03-19 11:08:31 -05:00
message.h Merge #18115: wallet: Pass in transactions and messages for signing instead of exporting the private keys 2023-03-19 11:08:31 -05:00
moneystr.cpp Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
moneystr.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
overflow.h fix: add missing includes and remove obsolete includes (#5562) 2023-09-07 09:07:02 -05:00
ranges_set.cpp feat: add an implementation of new data structure CRangesSet 2023-08-21 10:19:29 -05:00
ranges_set.h feat: add an implementation of new data structure CRangesSet 2023-08-21 10:19:29 -05:00
ranges.h chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
readwritefile.cpp merge bitcoin#20685: Add I2P support using I2P SAM 2023-07-24 20:45:49 +03:00
readwritefile.h merge bitcoin#20685: Add I2P support using I2P SAM 2023-07-24 20:45:49 +03:00
serfloat.cpp partial bitcoin#21966: Add platform-independent float encoder/decoder 2021-06-27 12:03:15 +05:30
serfloat.h partial bitcoin#21966: Add platform-independent float encoder/decoder 2021-06-27 12:03:15 +05:30
settings.cpp feat: Check if settings file is empty (#5504) 2023-07-24 20:58:43 +03:00
settings.h Merge #17891: scripted-diff: Replace CCriticalSection with RecursiveMutex 2023-05-24 12:43:57 -05:00
sock.cpp Merge bitcoin/bitcoin#21659: net: flag relevant Sock methods with [[nodiscard]] 2023-12-03 20:44:59 -06:00
sock.h Merge bitcoin/bitcoin#21659: net: flag relevant Sock methods with [[nodiscard]] 2023-12-03 20:44:59 -06:00
spanparsing.cpp merge bitcoin#22953: introduce single-separator split helper 2023-01-19 03:42:51 +00:00
spanparsing.h merge bitcoin#25057: replace remaining boost::split with SplitString 2023-01-19 03:49:04 +00:00
strencodings.cpp merge bitcoin#23451: Add std::byte helpers 2023-09-24 09:50:50 -05:00
strencodings.h merge bitcoin#23451: Add std::byte helpers 2023-09-24 09:50:50 -05:00
string.cpp Merge bitcoin/bitcoin#25803: refactor: Drop boost/algorithm/string/replace.hpp dependency 2023-10-31 08:40:25 -05:00
string.h Merge bitcoin/bitcoin#25803: refactor: Drop boost/algorithm/string/replace.hpp dependency 2023-10-31 08:40:25 -05:00
system.cpp refactor: re-order headers and forward declarations to improve compile time (#5693) 2023-11-17 10:04:18 -06:00
system.h refactor: re-order headers and forward declarations to improve compile time (#5693) 2023-11-17 10:04:18 -06:00
thread.cpp merge bitcoin#19064: Cleanup thread ctor calls 2023-09-04 20:50:27 -05:00
thread.h merge bitcoin#19064: Cleanup thread ctor calls 2023-09-04 20:50:27 -05:00
threadnames.cpp partial revert dash#2911: s/dash-config/bitcoin-config/g 2022-08-09 14:16:28 +05:30
threadnames.h Merge #17038: Don't rename main thread at process level 2021-09-21 14:41:49 -04:00
time.cpp Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
time.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
trace.h merge bitcoin#19866: eBPF Linux tracepoints 2023-09-04 20:50:27 -05:00
translation.h Merge #17260: Split some CWallet functions into new LegacyScriptPubKeyMan (#4938) 2022-08-08 11:05:21 -05:00
underlying.h refactor: implement c++23 inspired ToUnderlying (#5210) 2023-02-20 13:12:12 +03:00
url.cpp
url.h Merge #18673: scripted-diff: Sort test includes 2023-08-29 22:00:59 -05:00
vector.h