Commit Graph
850 Commits
Author SHA1 Message Date
+3 a9145f9d38 FCMP++/Carrot mega commit [9/14/26]
Co-authored-by: jeffro256 <jeffro256@tutanota.com>
Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
Co-authored-by: Lee *!* Clagett <code@leeclagett.com>
Co-authored-by: SyntheticBird45 <someoneelse.is_on.github.rio7x@simplelogin.com>
Co-authored-by: jeetrex17 <jeetrex@tutamail.com>
Co-authored-by: UkoeHB <ukoehb@users.noreply.github.com>
Co-authored-by: MrCyjaneK
Co-authored-by: tobtoht
Co-authored-by: selsta
Co-authored-by: Thomas <thomas.giudici@proton.me>
Co-authored-by: navidR
Co-authored-by: Boog900 <boog900@tutanota.com>
2026-09-17 18:33:24 -07:00
jeffro256 c7a2d4f66a crypto: reduce crypto.h header weight 2026-09-07 21:32:29 -05:00
tobtoht 3bd4a991a1 Merge pull request #11179
3e35bfa src: reduce unnecessary copies/allocations (jpk68)

ACKs: selsta, jeffro256
2026-08-31 18:36:37 +00:00
tobtoht f6fb95f0ff Merge pull request #11175
a496b49 rpc: further restrict and clean up get_transaction_pool (selsta)

ACKs: thomasbuilds, plowsof, jpk68
2026-08-31 18:16:29 +00:00
tobtoht 78fb311ebb Merge pull request #10605
59702e0 rpc: speedup block&tx RPC calls (jeffro256)

ACKs: thomasbuilds*, selsta, jpk68
2026-08-28 07:58:16 +00:00
jeffro256 59702e0275 rpc: speedup block&tx RPC calls
In RPC calls `get_blocks.bin` and `get_transactions`:
  1. Skip deserializing then re-serializing tx blobs
  2. Provide full unpruned transaction from mempool in `get_transactions` when `!req.prune`
  3. Change `on_get_transactions()` response sort time from O(N^2) to O(N)
  4. Generally improve memory usage and lookups in `on_get_transactions()`

Reviewed-by: selsta <selsta@sent.at>
Reviewed-by: j-berman <justinberman@protonmail.com>
Reviewed-by: jpk68 <jpk68@tutanota.com>
2026-08-27 15:08:57 -05:00
jpk68 3e35bfad7e src: reduce unnecessary copies/allocations 2026-08-27 15:59:55 -04:00
tobtoht a520681b90 Merge pull request #10820
0a47ee2 tests: harden RPC fuzz harness setup (selsta)

ACKs: thomasbuilds, jpk68
2026-08-27 17:57:49 +00:00
selsta 0a47ee2c94 tests: harden RPC fuzz harness setup
Initialize RPC server state used by direct handler calls,
let fuzz input choose restricted or unrestricted mode,
and skip iterations when the dummy core fails to initialize.

Also update the RPC fuzz harness documentation after removal
of the old RPC payment setup.
2026-08-26 20:23:47 +02:00
tobtoht a2174be257 Merge pull request #11141
9dc5cf5 rpc, common: remove dead code (Thomas)

ACKs: jpk68, selsta
2026-08-26 07:29:42 +00:00
Thomas 9dc5cf51c3 rpc, common: remove dead code 2026-08-25 19:47:08 +02:00
selsta a496b4981c rpc: further restrict and clean up get_transaction_pool 2026-08-25 19:29:30 +02:00
tobtoht ab34db1b11 Merge pull request #11146
92c8206 rpc: redact txpool age in restricted mode (selsta)
265f7b2 txpool: fix time_in_pool age calculation (selsta)

ACKs: tobtoht, jpk68
2026-08-25 16:39:10 +00:00
tobtoht 74e8614825 Merge pull request #11113
a0e1d11 rpc: avoid copying block blobs (jpk68)

ACKs: selsta, jeffro256
2026-08-20 15:07:31 +00:00
tobtoht b6f98a0dfc Merge pull request #11084
4b3eabf daemon: add unban all command (Rene Guenon)

ACKs: selsta, jpk68, thomasbuilds
2026-08-18 21:51:03 +00:00
jpk68 a0e1d119b9 rpc: avoid copying block blobs 2026-08-14 16:18:59 -04:00
Thomas 67764f675a rpc, p2p: remove pay-to-use RPC leftovers 2026-08-12 09:41:42 +05:00
Rene Guenon 4b3eabf858 daemon: add unban all command 2026-08-11 16:54:47 +04:00
tobtoht f412232c0f Merge pull request #10930
26a2379 rpc: speed up mempool lookup in get_transactions (jpk68)

ACKs: thomasbuilds*, selsta
2026-08-09 22:01:19 +00:00
jpk68 26a2379469 rpc: speed up mempool lookup in get_transactions 2026-08-09 13:32:03 -04:00
selsta 44493becb7 p2p, rpc: group public IPv6 connection limits by /64 2026-08-01 17:23:05 +02:00
tobtoht d4db4cad38 Merge pull request #10972
57ae55e rpc: disable get_transaction_pool in restricted mode (selsta)

ACKs: jpk68, SChernykh
2026-07-31 15:32:38 +00:00
tobtoht 842cfad3ef Merge pull request #10970
4ee81cf rpc: hide ZMQ request contents in restricted mode (selsta)

ACKs: vtnerd, jpk68
2026-07-31 15:31:25 +00:00
selsta 92c8206e6d rpc: redact txpool age in restricted mode 2026-07-26 23:06:54 +02:00
selsta 57ae55e022 rpc: disable get_transaction_pool in restricted mode 2026-07-25 16:27:03 +02:00
selsta 4ee81cfb73 rpc: hide ZMQ request contents in restricted mode 2026-07-25 14:16:12 +02:00
selsta ee8f54697f rpc: recover from oversized ZMQ requests 2026-07-24 01:33:33 +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