22 Commits

Author SHA1 Message Date
8eb3baaf9f Upgrade to latest sp_client 2025-08-27 13:57:54 +02:00
c7c6a1b6a4 Rename PcdCommitments::emtpy() to new_empty() 2025-08-27 13:57:50 +02:00
57182efbbc Complete overhaul of the pcd/process logic, with sensible custom types and less serialization 2025-08-27 13:57:50 +02:00
5ab1dc945c Add roles and public_data to prd 2025-08-27 13:57:49 +02:00
a1713ed8f9 filter_keys takes &HashSet 2025-08-27 13:57:48 +02:00
56e7025288 Replace commitment_tx with process_id 2025-08-27 13:57:48 +02:00
618b976339 All Prd constructors takes sender as a Member 2025-08-27 13:57:46 +02:00
129f957214 Add new_request 2025-08-27 13:57:46 +02:00
Sosthene
433326f3f6 Modify prd update to take the roles map as payload 2025-08-27 13:57:45 +02:00
Sosthene
1f154ce4e6 Update prd/pcd to keep commitments of each field 2025-08-27 13:57:39 +02:00
Sosthene
8c4e35f302 Optimise to_network_msg: no need to clone to_sign 2025-08-27 13:57:39 +02:00
Sosthene
6f5a8d778f PrdConnect takes a secret hash as payload and previous proof 2025-08-27 13:57:39 +02:00
Sosthene
8fc83c5770 Proof keeps the compressed PublicKey, not x only 2025-08-27 13:57:39 +02:00
Sosthene
cd681fcbc7 Correct error message for prd signed by ourselves 2025-08-27 13:57:38 +02:00
Sosthene
30da423536 Add Prd Connect 2025-08-27 13:57:38 +02:00
7608271c12 Check a prd is not signed by ourselves when extracting from message 2025-08-27 13:57:38 +02:00
Sosthene
5a664ea001 Prd commitment doesn't take validation_tokens 2025-08-27 13:57:38 +02:00
Sosthene
8e42596184 Format 2025-08-27 13:57:37 +02:00
Sosthene
9fe7daecb0 New_response takes multiple Proof 2025-08-27 13:57:36 +02:00
Sosthene
fbdcf1eb99 Functional prd/pcd 2025-08-27 13:57:35 +02:00
Sosthene
ab63551645 Update prd/pcd 2025-08-27 13:57:35 +02:00
Sosthene
88b606bf47 Implement prd/pcd logic 2025-08-27 13:57:34 +02:00