dash/src
pasta 69a2c98c3f
Merge #6478: refactor: add const to llmq_ctx, isman, clhandler in rpc code
5b914fe081 refactor: add const to llmq_ctx, isman, clhandler in rpc code (Konstantin Akimov)

Pull request description:

  ## What was done?
  Add missing const for all usages of llmq_ctx, llmq_ctx->isman and llmq_ctx->clhandler in rpc code.

  ## Issue being fixed or feature implemented
  Added `const` helps to read rpc code to see that none of mentioned objects are actually changed.

  ## How Has This Been Tested?
  Run unit and functional tests

  ## Breaking Changes
  N/A

  ## Checklist:
  - [x] I have performed a self-review of my own code
  - [ ] I have commented my code, particularly in hard-to-understand areas
  - [ ] I have added or updated relevant unit/integration/functional/e2e tests
  - [ ] I have made corresponding changes to the documentation
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  UdjinM6:
    utACK 5b914fe081
  PastaPastaPasta:
    utACK 5b914fe081

Tree-SHA512: dfaa99887250638e90f0c87271cf3c70833d4199797050be6a8b84939f78d857419a3e9e3da73035aca10e27782f28f43f156c69380d1c8df892c97c468c76d7
2024-12-11 14:17:14 -06:00
..
bench merge bitcoin#24662: Use system time instead of adjusted network time 2024-12-08 15:23:29 +00:00
bls feat: mnauth always use basic scheme 2024-12-09 14:36:49 -06:00
coinjoin Merge #6449: refactor: pass CWallet reference to CTransactionBuilder 2024-12-10 09:46:31 -06:00
common merge bitcoin#23137: move-only bloom to src/common 2024-10-25 21:36:52 +00:00
compat
config
consensus feat: re-bury DIP0024 with new height when quorums actually appeared 2024-12-05 17:10:32 +07:00
crc32c Merge bitcoin/bitcoin#29493: subtree: update crc32c subtree 2024-10-24 11:16:20 -05:00
crypto Merge bitcoin/bitcoin#30097: crypto: disable asan for sha256_sse4 with clang and -O0 2024-10-25 15:30:56 -05:00
dashbls build: stop tracking cmake dependency relic_conf.h.in 2024-12-04 16:06:30 +00:00
evo Merge #6325: feat: start DIP0024 from block 1 - fire up test chains by first block - 7/n 2024-12-10 09:43:02 -06:00
governance merge bitcoin#25499: Use steady clock for all millis bench logging 2024-12-09 19:05:47 +00:00
gsl
immer build: drop symlinks in immer subtree 2024-11-02 20:19:50 +00:00
index Merge #6370: backport: merge bitcoin#23499, #23832, #24136, #24265, #23819, #23595, #24486, #15423, #24784, #24956, #25016, #25060 (auxiliary backports: part 21) 2024-10-29 20:12:53 -05:00
init Merge #6399: backport: merge bitcoin#23235, #23104, #24770, #24830, #24464, #24757, #25202, #25217, #25292, #25614, partial bitcoin#22766 (logging backports) 2024-11-26 11:15:23 -06:00
interfaces fix: hold wallet shared pointer in CJ Manager/Sessions to prevent concurrent unload 2024-12-02 17:20:50 +03:00
ipc
leveldb
llmq Merge #6470: fix: wrong lock order, observed locally on top of #6467 with custom changes 2024-12-10 22:35:56 -06:00
logging
masternode refactor: use swap instead assign+clean in GetAndClearDirtyGovernanceObjectHashes 2024-11-27 01:21:53 +07:00
minisketch depends: update 'src/minisketch' to sipa/minisketch@eb37a9b8 as ef10e83d 2024-10-29 10:16:07 +00:00
node merge bitcoin#25499: Use steady clock for all millis bench logging 2024-12-09 19:05:47 +00:00
policy Merge #6435: backport: bitcoin#24281, 24360, 24347, 24376, 24370, 24305 2024-12-09 15:45:55 -06:00
primitives merge bitcoin#24136: Extract CTxIn::MAX_SEQUENCE_NONFINAL constant, rework BIP 65/68/112 docs 2024-10-28 10:45:28 +00:00
qt Merge #6460: chore: Translations 2024-12 2024-12-10 09:30:43 -06:00
rpc Merge #6478: refactor: add const to llmq_ctx, isman, clhandler in rpc code 2024-12-11 14:17:14 -06:00
script merge bitcoin#22951: move amount.h into consensus 2024-10-25 16:00:12 +00:00
secp256k1
stats merge bitcoin#24770: Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directive 2024-11-20 17:26:33 +00:00
support Merge bitcoin/bitcoin#26950: cleanse: switch to SecureZeroMemory for Windows cross-compile 2024-10-26 19:14:07 -05:00
test Merge #6466: backport: merge bitcoin#18642, #25102, #25100, #25157, #25101, #25245, #25456, #24697, #24662, #25499 (clock backports) 2024-12-10 22:27:43 -06:00
univalue
util merge bitcoin#24697: refactor address relay time 2024-12-08 15:23:29 +00:00
wallet Merge #6466: backport: merge bitcoin#18642, #25102, #25100, #25157, #25101, #25245, #25456, #24697, #24662, #25499 (clock backports) 2024-12-10 22:27:43 -06:00
zmq merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
.clang-format
addrdb.cpp merge bitcoin#25499: Use steady clock for all millis bench logging 2024-12-09 19:05:47 +00:00
addrdb.h
addressindex.cpp chore: run contrib/devtools/copyright_header.py update . 2024-10-05 23:17:41 +03:00
addressindex.h merge bitcoin#22951: move amount.h into consensus 2024-10-25 16:00:12 +00:00
addrman_impl.h merge bitcoin#24662: Use system time instead of adjusted network time 2024-12-08 15:23:29 +00:00
addrman.cpp merge bitcoin#24662: Use system time instead of adjusted network time 2024-12-08 15:23:29 +00:00
addrman.h merge bitcoin#24662: Use system time instead of adjusted network time 2024-12-08 15:23:29 +00:00
arith_uint256.cpp
arith_uint256.h
attributes.h Merge bitcoin/bitcoin#27575: Introduce platform-agnostic ALWAYS_INLINE macro 2024-10-25 09:59:35 -05:00
banman.cpp merge bitcoin#25499: Use steady clock for all millis bench logging 2024-12-09 19:05:47 +00:00
banman.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
base58.cpp
base58.h
batchedlogger.cpp merge bitcoin#25202: Use severity-based logging for leveldb/libevent messages, reverse LogPrintLevel order 2024-11-24 08:58:59 +00:00
batchedlogger.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
bech32.cpp
bech32.h
bip324.cpp
bip324.h
bitcoin-cli.cpp Merge #6466: backport: merge bitcoin#18642, #25102, #25100, #25157, #25101, #25245, #25456, #24697, #24662, #25499 (clock backports) 2024-12-10 22:27:43 -06:00
bitcoin-tx.cpp
bitcoin-wallet.cpp Merge bitcoin/bitcoin#24376: doc: bitcoin-wallet fixes (help output and code comment) 2024-12-07 23:20:22 +05:30
bitcoind.cpp
blockencodings.cpp
blockencodings.h
blockfilter.cpp Merge bitcoin/bitcoin#27010: refactor: use Hash helpers for double-SHA256 calculations 2024-10-25 09:08:28 -05:00
blockfilter.h merge bitcoin#24832: Verify the block filter hash when reading the filter from disk 2024-10-15 06:58:51 +00:00
cachemap.h
cachemultimap.h
chain.cpp
chain.h Merge bitcoin/bitcoin#28691: refactor: Remove CBlockFileInfo::SetNull 2024-10-24 13:50:32 -05:00
chainparams.cpp Merge #6325: feat: start DIP0024 from block 1 - fire up test chains by first block - 7/n 2024-12-10 09:43:02 -06:00
chainparams.h refactor: pull LimitBlocksToTrace into CChainParams (reduce regtest to 100) 2024-10-29 12:53:47 -05:00
chainparamsbase.cpp feat: put DIP0024 activation to block 1 on RegTest 2024-12-05 17:10:32 +07:00
chainparamsbase.h
chainparamsseeds.h chore: update seeds 2024-11-20 11:33:06 -06:00
checkqueue.h
clientversion.cpp
clientversion.h
coins.cpp Merge bitcoin/bitcoin#25663: tracing: do not use coin after move in CCoinsViewCache::AddCoin 2024-10-24 11:21:49 -05:00
coins.h Merge bitcoin/bitcoin#28913: coins: make sure PoolAllocator uses the correct alignment 2024-10-23 22:19:56 -05:00
compat.h
compressor.cpp
compressor.h
context.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
core_io.h merge bitcoin#22951: move amount.h into consensus 2024-10-25 16:00:12 +00:00
core_memusage.h
core_read.cpp merge bitcoin#22875: Fix Racy ParseOpCode function initialization 2024-10-08 15:59:18 +00:00
core_write.cpp merge bitcoin#22951: move amount.h into consensus 2024-10-25 16:00:12 +00:00
ctpl_stl.h
cuckoocache.h
cxxtimer.hpp
dash-cli-res.rc
dash-tx-res.rc
dash-wallet-res.rc
dashd-res.rc
dbwrapper.cpp merge bitcoin#25202: Use severity-based logging for leveldb/libevent messages, reverse LogPrintLevel order 2024-11-24 08:58:59 +00:00
dbwrapper.h
deploymentinfo.cpp feat: new fork WITHDRAWALS introduced 2024-10-08 03:15:53 +07:00
deploymentinfo.h
deploymentstatus.cpp
deploymentstatus.h
dsnotificationinterface.cpp refactor: move PeerManager out of CInstantSendManager ctor 2024-12-05 22:42:15 +00:00
dsnotificationinterface.h
dummywallet.cpp
flat-database.h merge bitcoin#25499: Use steady clock for all millis bench logging 2024-12-09 19:05:47 +00:00
flatfile.cpp
flatfile.h Merge bitcoin/bitcoin#27289: Refactor: Remove unused FlatFilePos::SetNull 2024-10-24 15:16:39 -05:00
fs.cpp
fs.h
hash_x11.h
hash.cpp partial bitcoin#19953: Implement BIP 340-342 validation 2024-10-27 19:38:29 +00:00
hash.h partial bitcoin#19953: Implement BIP 340-342 validation 2024-10-27 19:38:29 +00:00
httprpc.cpp
httprpc.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
httpserver.cpp merge bitcoin#25202: Use severity-based logging for leveldb/libevent messages, reverse LogPrintLevel order 2024-11-24 08:58:59 +00:00
httpserver.h
i2p.cpp Merge #6346: backport: trivial 2024 10 23 pr2 2024-10-24 16:54:41 -05:00
i2p.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
indirectmap.h
init.cpp Merge #6466: backport: merge bitcoin#18642, #25102, #25100, #25157, #25101, #25245, #25456, #24697, #24662, #25499 (clock backports) 2024-12-10 22:27:43 -06:00
init.h
key_io.cpp
key_io.h
key.cpp merge bitcoin#23595: Add ParseHex<std::byte>() helper 2024-10-29 07:52:53 +00:00
key.h merge bitcoin#23595: Add ParseHex<std::byte>() helper 2024-10-29 07:52:53 +00:00
limitedmap.h
logging.cpp merge bitcoin#25614: Severity-based logging, step 2 2024-11-24 08:59:00 +00:00
logging.h refactor: sping LogAcceptCategory and LogAcceptDebug 2024-12-04 21:28:01 +03:00
Makefile.am merge bitcoin#29185: remove --enable-lto 2024-11-17 07:42:07 +00:00
Makefile.bench.include Merge #6321: backport: trivial 2024 10 08 2024-10-22 09:12:06 -05:00
Makefile.crc32c.include
Makefile.leveldb.include
Makefile.minisketch.include merge bitcoin#29823: update subtree to 3472e2f5e 2024-10-29 10:09:02 +00:00
Makefile.qt_locale.include
Makefile.qt.include Merge bitcoin-core/gui#381: refactor: Make BitcoinCore class reusable 2024-10-25 20:51:20 +07:00
Makefile.qttest.include
Makefile.test_fuzz.include merge bitcoin#26497: Make ConsumeNetAddr always produce valid onion addresses 2024-10-26 19:22:31 +00:00
Makefile.test_util.include
Makefile.test.include merge bitcoin#22861: Update test README and lint script 2024-11-27 04:55:46 +00:00
Makefile.univalue.include
mapport.cpp Merge bitcoin/bitcoin#30283: upnp: fix build with miniupnpc 2.2.8 2024-10-26 19:14:05 -05:00
mapport.h
memusage.h
merkleblock.cpp
merkleblock.h merge bitcoin#23137: move-only bloom to src/common 2024-10-25 21:36:52 +00:00
messagesigner.cpp
messagesigner.h
net_permissions.cpp
net_permissions.h
net_processing.cpp Merge #6466: backport: merge bitcoin#18642, #25102, #25100, #25157, #25101, #25245, #25456, #24697, #24662, #25499 (clock backports) 2024-12-10 22:27:43 -06:00
net_processing.h Merge #6425: refactor: move CInstantSendManager::AskNodesForLockedTx into PeerManager 2024-12-04 11:13:45 -06:00
net_types.cpp
net_types.h
net.cpp Merge #6466: backport: merge bitcoin#18642, #25102, #25100, #25157, #25101, #25245, #25456, #24697, #24662, #25499 (clock backports) 2024-12-10 22:27:43 -06:00
net.h Merge #6466: backport: merge bitcoin#18642, #25102, #25100, #25157, #25101, #25245, #25456, #24697, #24662, #25499 (clock backports) 2024-12-10 22:27:43 -06:00
netaddress.cpp merge bitcoin#26497: Make ConsumeNetAddr always produce valid onion addresses 2024-10-26 19:22:31 +00:00
netaddress.h merge bitcoin#26497: Make ConsumeNetAddr always produce valid onion addresses 2024-10-26 19:22:31 +00:00
netbase.cpp Merge bitcoin/bitcoin#30245: net: Allow -proxy=[::1] on nodes with IPV6 lo only 2024-10-26 19:14:06 -05:00
netbase.h
netfulfilledman.cpp chore: run contrib/devtools/copyright_header.py update . 2024-10-05 23:17:41 +03:00
netfulfilledman.h chore: run contrib/devtools/copyright_header.py update . 2024-10-05 23:17:41 +03:00
netgroup.cpp Merge bitcoin/bitcoin#24976: netgroup: Follow-up for #22910 2024-10-15 09:25:09 -05:00
netgroup.h
netmessagemaker.h
noui.cpp
noui.h
outputtype.cpp
outputtype.h
pow.cpp
pow.h
prevector.h
protocol.cpp merge bitcoin#23443: Erlay support signaling 2024-10-27 19:38:29 +00:00
protocol.h merge bitcoin#24697: refactor address relay time 2024-12-08 15:23:29 +00:00
psbt.cpp
psbt.h Merge bitcoin/bitcoin#26997: psbt: s/transcation/transaction/ 2024-10-23 20:06:32 -05:00
pubkey.cpp
pubkey.h
random.cpp merge bitcoin#24849: Convert lint-logs.sh to Python 2024-11-27 04:58:22 +00:00
random.h
randomenv.cpp Merge #6362: backport: trivial 2024 10 25 pr1 2024-10-27 14:15:08 -05:00
randomenv.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
rest.cpp refactor: drop unused InstantSendManager from blockheaderToJSON 2024-11-16 17:44:31 +07:00
reverse_iterator.h
saltedhasher.cpp
saltedhasher.h
scheduler.cpp merge bitcoin#25100: Switch scheduler to steady_clock 2024-12-08 15:23:27 +00:00
scheduler.h merge bitcoin#25100: Switch scheduler to steady_clock 2024-12-08 15:23:27 +00:00
serialize.h merge bitcoin#24697: refactor address relay time 2024-12-08 15:23:29 +00:00
shutdown.cpp
shutdown.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
source_location.h
span.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
spentindex.h merge bitcoin#22951: move amount.h into consensus 2024-10-25 16:00:12 +00:00
spork.cpp chore: run contrib/devtools/copyright_header.py update . 2024-10-05 23:17:41 +03:00
spork.h fix: adjust the number of spork defaults 2024-10-16 13:16:00 +03:00
stacktraces.cpp chore: run contrib/devtools/copyright_header.py update . 2024-10-05 23:17:41 +03:00
stacktraces.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
streams.h merge bitcoin#16981: Improve runtime performance of --reindex 2024-10-15 06:58:52 +00:00
sync.cpp merge bitcoin#23104: Avoid breaking single log lines over multiple lines in the log file 2024-11-20 17:26:32 +00:00
sync.h fix: don't use non-existent PrintLockContention in SharedEnter 2024-11-20 17:26:33 +00:00
threadinterrupt.cpp
threadinterrupt.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
threadsafety.h
timedata.cpp merge bitcoin#25202: Use severity-based logging for leveldb/libevent messages, reverse LogPrintLevel order 2024-11-24 08:58:59 +00:00
timedata.h merge bitcoin#24662: Use system time instead of adjusted network time 2024-12-08 15:23:29 +00:00
timestampindex.h chore: run contrib/devtools/copyright_header.py update . 2024-10-05 23:17:41 +03:00
tinyformat.h
torcontrol.cpp merge bitcoin#15423: Query Tor for correct -onion configuration 2024-10-29 07:52:53 +00:00
torcontrol.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00
txdb.cpp merge bitcoin#22626: Remove txindex migration code 2024-10-05 17:10:03 +00:00
txdb.h merge bitcoin#22626: Remove txindex migration code 2024-10-05 17:10:03 +00:00
txmempool.cpp fix: add multiple missing annotation about locks for dash specific code 2024-10-12 20:06:23 +07:00
txmempool.h merge bitcoin#22951: move amount.h into consensus 2024-10-25 16:00:12 +00:00
txorphanage.cpp fix: fixes for orphange's locks and cs_main 2024-10-12 20:06:27 +07:00
txorphanage.h Merge bitcoin/bitcoin#21562: [net processing] Various tidying up of PeerManagerImpl ctor 2024-10-25 20:51:18 +07:00
uint256.cpp
uint256.h Merge bitcoin/bitcoin#27929: Added static_assert to check that base_blob is using whole bytes. 2024-10-25 09:12:01 -05:00
undo.h
unordered_lru_cache.h
validation.cpp merge bitcoin#25499: Use steady clock for all millis bench logging 2024-12-09 19:05:47 +00:00
validation.h Merge bitcoin/bitcoin#24347: rpc: Fix implicit-integer-sign-change in verifychain 2024-12-07 23:20:22 +05:30
validationinterface.cpp
validationinterface.h merge bitcoin#24138: Commit MuHash and best block together for coinstatsindex 2024-10-15 06:58:50 +00:00
version.h chore: bump MIN_MASTERNODE_PROTO_VERSION to latest proto 2024-12-06 17:18:35 -06:00
versionbits.cpp
versionbits.h
walletinitinterface.h
warnings.cpp
warnings.h merge bitcoin#23524: Fix typos in endif header comments 2024-12-04 15:55:10 +00:00