v0.0.59
Changes
- [utils/channels] Track Message Delivery by @patrick-ogrady in #1396
- [sync] Factor out sync engine; implement sync for
adb::Immutableby @danlaine in #1341 - [sync] readme nit by @danlaine in #1400
- [consensus/aggregation] Use Pre-Computed Participants + Add
Certificateby @patrick-ogrady in #1404 - [storage/mmr/verification] add version of reconstruct_root that returns all involved digests by @roberto-bayardo in #1403
- [runtime] fix lint failure from updated rust due to unneeded module with iouring by @roberto-bayardo in #1408
- [runtime/utils/buffer] use checked add in offset assertion checks by @roberto-bayardo in #1406
- [storage/mmr] Support proving over sub-ranges, fix digest-extraction bug by @roberto-bayardo in #1415
- [adb::variable::*] Fix Miscellaneous Recovery Issues by @danlaine in #1411
- [codec] allow accessing error source chain by @SuperFluffy in #1402
- [codec] Add
CodecFixedby @patrick-ogrady in #1423 - New fuzz targets for runtime and utils by @dnkolegov-ar in #1431
- [consensus/{threshold_simplex, aggregation}] Replay Activity by @patrick-ogrady in #1424
- [storage/adb] introduce "keyless" adb by @roberto-bayardo in #1426
- [consensus/aggregation] Improve Recovery Performance by @patrick-ogrady in #1436
- [storage/mmr] change leaf_num_to_pos to use simpler count_ones based implementation by @roberto-bayardo in #1437
- [AGENTS.md] Introduce Agent Markdown by @patrick-ogrady in #1370
- [AGENTS.md] Add More Testing Information by @patrick-ogrady in #1439
- [storage/adb/keyless] fix authentication/proving in the keyless db by @roberto-bayardo in #1438
- [storage] fix clippy nits by @andresilva in #1444
- [storage/store] change variable stores to use varint for uint64 wrapping operations by @roberto-bayardo in #1449
- [storage/mmr] make mmr iterator functionality public by @roberto-bayardo in #1451
- [storage] support associating metadata w/ variable-store commit ops by @roberto-bayardo in #1450
- [p2p] Add
Muxutility that wraps a channel and muxes based on sub-channels by @BrendanChou in #1427 - Improve coverage for utils fuzz tests by @dnkolegov-ar in #1442
- [runtime] Track RSS by @patrick-ogrady in #1457
- [release] v0.0.59 by @patrick-ogrady in #1458
New Contributors
- @SuperFluffy made their first contribution in #1402
Full Changelog: v0.0.58...v0.0.59
Stats
.github/workflows/coverage.yml | 1 +
.github/workflows/slow.yml | 2 +-
.gitignore | 1 +
AGENTS.md | 558 +++++
CLAUDE.md | 1 +
Cargo.lock | 150 +-
Cargo.toml | 30 +-
broadcast/Cargo.toml | 2 +-
codec/Cargo.toml | 2 +-
codec/fuzz/Cargo.toml | 2 +-
codec/src/codec.rs | 8 +
codec/src/error.rs | 7 +-
coding/Cargo.toml | 2 +-
coding/fuzz/Cargo.toml | 3 +-
coding/fuzz/fuzz_targets/reed_solomon.rs | 16 +-
collector/Cargo.toml | 2 +-
consensus/Cargo.toml | 2 +-
consensus/src/aggregation/config.rs | 3 +
consensus/src/aggregation/engine.rs | 268 ++-
consensus/src/aggregation/mocks/application.rs | 73 +-
consensus/src/aggregation/mocks/mod.rs | 2 +-
consensus/src/aggregation/mocks/reporter.rs | 86 +-
consensus/src/aggregation/mocks/supervisor.rs | 37 +-
consensus/src/aggregation/mod.rs | 770 ++-----
consensus/src/aggregation/types.rs | 105 +-
.../src/threshold_simplex/actors/voter/actor.rs | 44 +-
cryptography/Cargo.toml | 2 +-
cryptography/fuzz/Cargo.toml | 2 +-
cryptography/fuzz/fuzz_targets/blake3_hasher.rs | 39 +-
cryptography/fuzz/fuzz_targets/bloomfilter.rs | 35 +
.../fuzz/fuzz_targets/lthash_operations.rs | 2 +-
cryptography/fuzz/fuzz_targets/metamorph_lthash.rs | 2 +-
deployer/Cargo.toml | 2 +-
deployer/src/ec2/create.rs | 22 +-
examples/bridge/Cargo.toml | 2 +-
examples/chat/Cargo.toml | 2 +-
examples/estimator/Cargo.toml | 2 +-
examples/flood/Cargo.toml | 2 +-
examples/log/Cargo.toml | 2 +-
examples/sync/Cargo.toml | 2 +-
examples/sync/README.md | 6 +-
examples/sync/src/bin/client.rs | 388 ++--
examples/sync/src/bin/server.rs | 486 ++--
examples/sync/src/databases/any.rs | 152 ++
examples/sync/src/databases/immutable.rs | 130 ++
examples/sync/src/databases/mod.rs | 80 +
examples/sync/src/error.rs | 55 +-
examples/sync/src/lib.rs | 122 +-
examples/sync/src/net/io.rs | 95 +
examples/sync/src/net/mod.rs | 185 ++
examples/sync/src/net/request_id.rs | 52 +
examples/sync/src/net/resolver.rs | 124 ++
examples/sync/src/net/wire.rs | 306 +++
examples/sync/src/protocol.rs | 510 -----
examples/sync/src/resolver.rs | 259 ---
examples/vrf/Cargo.toml | 2 +-
macros/Cargo.toml | 2 +-
p2p/Cargo.toml | 2 +-
p2p/src/utils/mod.rs | 1 +
p2p/src/utils/mux.rs | 556 +++++
resolver/Cargo.toml | 2 +-
runtime/Cargo.toml | 3 +-
runtime/fuzz/Cargo.toml | 20 +
runtime/fuzz/fuzz_targets/buffer.rs | 332 +++
runtime/src/lib.rs | 32 +
runtime/src/network/mod.rs | 4 +-
runtime/src/process/metered.rs | 116 +
runtime/src/process/mod.rs | 3 +
runtime/src/tokio/runtime.rs | 13 +-
runtime/src/utils/buffer/tip.rs | 11 +-
storage/Cargo.toml | 2 +-
storage/fuzz/Cargo.toml | 2 +-
storage/fuzz/fuzz_targets/adb_operations.rs | 7 +-
storage/fuzz/fuzz_targets/adb_sync.rs | 42 +-
storage/src/adb/any/{fixed.rs => fixed/mod.rs} | 647 +-----
storage/src/adb/any/fixed/sync.rs | 2325 ++++++++++++++++++++
storage/src/adb/any/mod.rs | 1 -
storage/src/adb/any/sync/client.rs | 2175 ------------------
storage/src/adb/any/sync/metrics.rs | 68 -
storage/src/adb/any/sync/mod.rs | 138 --
storage/src/adb/any/sync/resolver.rs | 151 --
.../src/adb/any/{variable.rs => variable/mod.rs} | 254 ++-
storage/src/adb/any/variable/sync.rs | 1000 +++++++++
storage/src/adb/benches/variable_init.rs | 4 +-
storage/src/adb/current.rs | 8 +-
storage/src/adb/{immutable.rs => immutable/mod.rs} | 268 ++-
storage/src/adb/immutable/sync/journal.rs | 91 +
storage/src/adb/immutable/sync/mod.rs | 1197 ++++++++++
storage/src/adb/keyless.rs | 897 ++++++++
storage/src/adb/mod.rs | 4 +
storage/src/adb/sync/database.rs | 59 +
storage/src/adb/sync/engine.rs | 572 +++++
storage/src/adb/sync/error.rs | 62 +
storage/src/adb/sync/gaps.rs | 293 +++
storage/src/adb/sync/journal.rs | 19 +
storage/src/adb/sync/mod.rs | 37 +
storage/src/adb/sync/requests.rs | 67 +
storage/src/adb/sync/resolver.rs | 224 ++
storage/src/adb/sync/target.rs | 185 ++
storage/src/adb/verify.rs | 67 +
storage/src/journal/fixed.rs | 623 +-----
storage/src/journal/mod.rs | 21 +
storage/src/journal/variable.rs | 24 +-
storage/src/mmr/iterator.rs | 50 +-
storage/src/mmr/journaled.rs | 60 +-
storage/src/mmr/mem.rs | 5 +-
storage/src/mmr/mod.rs | 4 +
storage/src/mmr/verification.rs | 374 +++-
storage/src/ordinal/mod.rs | 93 +
storage/src/ordinal/storage.rs | 35 +-
storage/src/store/benches/restart.rs | 5 +-
storage/src/store/mod.rs | 100 +-
storage/src/store/operation.rs | 217 +-
stream/Cargo.toml | 2 +-
stream/fuzz/Cargo.toml | 2 +-
utils/Cargo.toml | 2 +-
utils/fuzz/Cargo.toml | 22 +-
utils/fuzz/fuzz_targets/bitvec.rs | 189 ++
utils/fuzz/fuzz_targets/futures.rs | 157 ++
utils/fuzz/fuzz_targets/lib_functions.rs | 48 +-
utils/fuzz/fuzz_targets/priority_set.rs | 7 +
utils/fuzz/fuzz_targets/{array.rs => sequence.rs} | 93 +-
utils/fuzz/fuzz_targets/stable_buf.rs | 120 +-
utils/fuzz/fuzz_targets/time.rs | 96 +
utils/src/channels/mod.rs | 3 +
utils/src/channels/tracked.rs | 403 ++++
utils/src/lib.rs | 14 +
127 files changed, 13541 insertions(+), 6438 deletions(-)