Commit Graph
824 Commits
Author SHA1 Message Date
selsta 57ae55e022 rpc: disable get_transaction_pool in restricted mode 2026-07-25 16:27:03 +02:00
tobtoht 42b78ee9bd Merge pull request #10694
a01b4c2 daemon: remove bootstrap mode (tobtoht)

ACKs: thomasbuilds, selsta
2026-07-22 20:03:46 +00:00
tobtoht a01b4c2a31 daemon: remove bootstrap mode 2026-07-22 20:38:20 +02:00
tobtoht e00908bc49 Merge pull request #10921
edea850 general: replace auto_scope_leave_caller with scope_guard (jeffro256)

ACKs: selsta, tobtoht
2026-07-22 16:31:31 +00:00
jeffro256 edea8505db general: replace auto_scope_leave_caller with scope_guard
And replace unused inclusions of misc_language.h
2026-07-15 19:54:58 -05:00
selsta 85b38a52a6 rpc: replace get_blocks.bin Levin pool budget
/get_blocks.bin is HTTP binary RPC serialized with portable storage, not a
P2P Levin message. The previously added pool limiter used
LEVIN_DEFAULT_MAX_PACKET_SIZE as a response budget, but that constant does
not apply to the RPC path.
2026-07-15 01:58:59 +02:00
Samy 2d4e1547fd rpc: fix block template reserved offset 2026-07-05 13:45:29 +02:00
tobtoht 32632d1f86 Merge pull request #10761
13db615 Daemon RPC: /getblocks.bin incremental pool fetch even when no new blocks (j-berman)

ACKs: rbrunner7*, selsta, jeffro256
2026-07-02 21:02:09 +00:00
j-berman 13db615bb8 Daemon RPC: /getblocks.bin incremental pool fetch even when no new blocks 2026-06-30 12:15:22 -07:00
Thomas fecef767c9 Fix spelling typos in comments and string literals 2026-06-27 09:53:48 +02:00
Thomas 02db831d01 Fix spelling typos 2026-06-18 09:30:42 +02:00
tobtoht 52ee7bbe77 Merge pull request #10756
d72cd7f net: cap aggregate ZMQ receive size (selsta)

ACKs: vtnerd, tobtoht
2026-06-16 11:04:23 +00:00
akildemirandselsta 1bd4dfe43a rpc: return prunable hashes in pruned getblocks
Co-authored-by: selsta <selsta@sent.at>
2026-06-11 20:37:13 +02:00
selsta d72cd7fc16 net: cap aggregate ZMQ receive size 2026-06-10 19:49:23 +02:00
tobtoht 17891e9157 Merge pull request #10512
b8cc5b6 blockchain_db: hide sensitive txs in get_txids_loose (jeffro256)
2026-06-09 18:40:12 +00:00
tobtoht a8478d21b2 Merge pull request #10531
7af9009 zmq: apply restricted-mode privacy filtering to get_transaction_pool (greatjourney589)
2026-06-08 08:34:50 +00:00
jeffro256 9dbce17bb5 Blockchain: option for fast manual block popping 2026-06-07 14:59:57 -05:00
tobtoht fa8b8ab93c Merge pull request #10666
8687825 crypto: split wire serialization in header (jeffro256)
2026-06-02 13:22:42 +00:00
tobtoht 2196652cb8 Merge pull request #10663
5b34e13 src: fix formatting of copyright comments (jpk68)
2026-06-01 18:09:39 +00:00
jeffro256 868782513e crypto: split wire serialization in header 2026-05-27 00:18:48 -05:00
9b337ca01f rpc: remove pay-to-use RPC on node side
Co-authored-by: tobtoht <tob@featherwallet.org>
Co-authored-by: SNeedlewoods <sneedlewoods_1@protonmail.com>
2026-05-26 22:54:30 +02:00
jpk68 5b34e138d6 src: fix formatting of copyright comments 2026-05-25 20:08:02 -04:00
tobtoht 0d631acd51 Merge pull request #10241
108244c Add wire::json_writer, and use in some of ZMQ-PUB functions. (Lee *!* Clagett)
2026-05-25 18:47:39 +00:00
tobtoht 57a272240f Merge pull request #10609
758aa14 rpc: restrict get_alt_blocks_hashes (selsta)
2026-05-21 22:21:41 +00:00
Lee *!* Clagett 108244cdf5 Add wire::json_writer, and use in some of ZMQ-PUB functions. 2026-05-21 17:19:52 -04:00
tobtoht c982fe1e51 Merge pull request #9473
1aea9cc tx_pool: track sensitive flag per-tx in added_txs_by_id (j-berman)
8cecfc8 src: fix rpc limit (Navid Rahimi)
2026-05-21 19:58:24 +00:00
Navid Rahimiandjeffro256 8cecfc8d1b src: fix rpc limit
Co-authored-by: jeffro256 <jeffro256@tutanota.com>
2026-05-21 20:37:53 +01:00
tobtoht a583042133 Merge pull request #10574
f3128c6 rpc: reject invalid JSON-RPC ids in ZMQ requests (selsta)
2026-05-19 19:59:24 +00:00
tobtoht b745be7235 Merge pull request #10587
2c327aa fix spelling in comments and docs (Thomas)
2026-05-19 19:53:51 +00:00
selsta 758aa14f06 rpc: restrict get_alt_blocks_hashes 2026-05-15 23:01:58 +02:00
tobtoht 67c283c980 Merge pull request #10559
fe9b5de rpc: remove unused origin flag (selsta)
2026-05-15 20:07:00 +00:00
tobtoht fdc4f2e032 Merge pull request #10534
f991cf2 zmq: switch to RapidJSON iterative parsing (selsta)
2026-05-15 11:31:17 +00:00
jeffro256andselsta b8cc5b6a4b blockchain_db: hide sensitive txs in get_txids_loose
Co-authored-by: selsta <selsta@sent.at>
2026-05-13 14:20:50 -05:00
Thomas 2c327aa325 fix spelling in comments and docs 2026-05-13 21:20:05 +02:00
selsta f3128c6e5a rpc: reject invalid JSON-RPC ids in ZMQ requests 2026-05-11 12:03:54 +02:00
selsta fe9b5de85f rpc: remove unused origin flag 2026-05-09 20:33:36 +02:00
greatjourney589 7af90094da zmq: apply restricted-mode privacy filtering to get_transaction_pool
Add an include_sensitive parameter to tx_memory_pool::get_pool_for_rpc
(and its core passthrough), mirroring the include_sensitive_data
parameter on the HTTP analog get_transactions_and_spent_keys_info.
When false, receive_time and last_relayed_time are zeroed using the
same masking already applied on the HTTP path.

The ZMQ handler in daemon_handler.cpp passes !m_restricted, so
--restricted-zmq-rpc callers now receive the same privacy-filtered view
as restricted HTTP callers instead of the unfiltered timing metadata
they previously got. Stem-phase txs continue to be excluded regardless
(relay_category::broadcasted filter unchanged).

Refs #10529.
2026-05-08 11:33:34 -04:00
selsta f991cf23d9 zmq: switch to RapidJSON iterative parsing 2026-05-07 19:53:00 +02:00
tobtoht 90fc50c371 cmake: only link Boost Chrono where needed 2026-05-06 21:24:14 +02:00
tobtoht 6fe4ba670d Merge pull request #10457
dca8e33 rpc: remove last usage of txs_as_hex (selsta)
2026-05-04 16:54:19 +00:00
tobtoht 243a442f53 Merge pull request #10503
fe3e23a daemon: clarify limitations of restricted ZMQ RPC in help text (selsta)
5d1feb5 zmq: add restricted checks to GetInfo (selsta)
2026-04-29 17:18:31 +00:00
selsta 5d1feb5996 zmq: add restricted checks to GetInfo 2026-04-29 18:54:14 +02:00
tobtoht 2e0dcb3d95 Merge pull request #10422
df2b8b4 rpc: fix incomplete range check in get_coinbase_tx_sum + update test (Thomas)
2026-04-29 13:52:50 +00:00
tobtoht b84aee62a4 Merge pull request #10143
4a2d6eb Daemon RPC: getblocks.bin block_ids_exclusive req param (j-berman)
2026-04-29 12:35:26 +00:00
Thomas df2b8b4bf6 rpc: fix incomplete range check in get_coinbase_tx_sum + update test 2026-04-28 21:32:12 +02:00
Jeetraj b3b9842b1b zmq: add missing restricted rpc check for get_block_headers_by_height 2026-04-27 02:18:40 +05:30
selsta dca8e339bc rpc: remove last usage of txs_as_hex 2026-04-24 23:55:58 +02:00
tobtoht a6449ced68 Merge pull request #10424
4599596 zmq: add more missing restricted rpc checks (selsta)
2026-04-24 16:08:02 +00:00
selsta 45995964e1 zmq: add more missing restricted rpc checks 2026-04-24 17:34:25 +02:00
selsta 43d84ce92c zmq: add missing restricted rpc check 2026-04-18 17:36:21 +02:00