Skip to content

Source attestation vote from the head state's latest justified (leanSpec #1166)#117

Merged
uink45 merged 3 commits into
mainfrom
devnet-5
Jun 26, 2026
Merged

Source attestation vote from the head state's latest justified (leanSpec #1166)#117
uink45 merged 3 commits into
mainfrom
devnet-5

Conversation

@uink45

@uink45 uink45 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

uink45 added 3 commits June 25, 2026 13:57
Introduce a Shadow simulation cost model for XMSS and related build/runtime switches. Adds lantern/consensus/shadow_cost.{h,c} implementing rate-based delay computation and sleep, and wires it into signature handling (src/consensus/signature.c) and client initialization so virtual-costs can be set from CLI or env vars (LANTERN_SHADOW_XMSS_*). Exposes CLI flags (--shadow-xmss-*-rate) and parsing in src/core/main.c and extends lantern_client_options. CMakeLists and cmake/Dependencies.cmake updated to include the new source and to add options (LANTERN_C_LEANVM_XMSS_JEMALLOC, LANTERN_C_LEAN_LIBP2P_AWSLC_CPU_JITTER_ENTROPY) propagated to builds; Dockerfile updated to pass those flags. Adds a shadow-specific Dockerfile and README (shadow/) and bumps the external c-leanvm-xmss submodule. These changes enable running Lantern under the Shadow simulator with controllable XMSS prover/verify/merge costs and build-time tweaks for jemalloc and AWS-LC entropy.
@uink45 uink45 merged commit 0538890 into main Jun 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant