Conversation
…to bohdan/dkg-final
Ports Charon's DKG ceremony to Rust, replacing the unimplemented!() stub with a complete 7-step synchronised flow compatible with Charon. New modules: - frostp2p: libp2p NetworkBehaviour for /charon/dkg/frost/2.0.0/round1/p2p direct Shamir-share delivery between pairs of participants - node: compound DkgBehaviour (relay + bcast + sync + parsigex + peerinfo + frost_p2p) and setup_node() returning all ceremony handles - frost: run_frost_parallel() using pluto_frost::kryptology, FrostP2P transport wiring bcast callbacks for round-1/2 cast messages - signing: sign_and_agg_deposit_data, sign_and_agg_validator_registrations, sign_and_agg_lock_hash, create_dist_validators Updated dkg.rs: BackendError, SyncControl struct, full run_ceremony() implementing the 7 sync steps matching Charon's dkg.go:107-477. Co-Authored-By: varex83 <varex83@users.noreply.github.com>
|
/review-pr |
|
Claude finished @varex83's task in 20m 48s —— View job Code Review — PR #355
|
Experimental finished version of DKG. This PR has several PRs merged into that (like SSZ serialization, sync, FROST).
Locally, it successfully completes ceremony with 2 charon and 2 pluto nodes.
The code is in very dirty state, some parts not reviewed, treat it as a base for future development / discussions.