362 Commits

Author SHA1 Message Date
0ecf627bf8 Update tests 2025-03-26 12:34:52 +01:00
e421b5d7d9 Implement get_mut for Roles 2025-03-26 12:31:22 +01:00
6c65a6d184 More check on quorum for ValidationRule 2025-03-26 12:31:05 +01:00
ee2fddbd4f Implement contains_key for PcdCommitments + change keys() return value 2025-03-26 12:30:44 +01:00
a85551773b derive from_wasm_abi for Pcd 2025-03-26 12:29:22 +01:00
f69fc1587e PcdCommitments new refactor 2025-03-26 12:29:05 +01:00
77618c4061 Add pairing special role + some refactor 2025-03-26 12:27:47 +01:00
f762fb903c Define constants for special roles 2025-03-26 12:27:18 +01:00
f246b5f039 Derive from_wasm_abi for OutPointMemberMap 2025-03-19 15:06:17 +01:00
dd13423c2b Update tests 2025-03-19 11:47:19 +01:00
818e4d2152 Remove dead code 2025-03-19 11:47:00 +01:00
df5d40ce96 Replace Member with Outpoint in RoleDefinition 2025-03-19 11:46:47 +01:00
b71e3f7525 Remove empty member condition 2025-03-19 11:44:59 +01:00
b5bd076f1e Update tests for obliteration 2025-03-13 14:39:33 +01:00
4429564974 Add process obliteration code 2025-03-13 14:39:13 +01:00
786ea94623 Add PcdCommitments::is_empty() 2025-03-13 14:38:20 +01:00
d8f6915a4a Lift restriction on new CommitMessage that couldn't take validation tokens 2025-03-13 14:38:02 +01:00
7babbc2a74 Rename PcdCommitments::emtpy() to new_empty() 2025-03-13 14:28:51 +01:00
4d9b03ff18 Add Apophis special role 2025-03-13 14:28:08 +01:00
6f786c5cc9 Add a special case in ProcessState::is_valid() for demiurge role 2025-03-12 13:03:50 +01:00
e5024ff019 Add SpecialRoles with Demiurge 2025-03-12 13:03:15 +01:00
bd8ae9183a Complete overhaul of the pcd/process logic, with sensible custom types and less serialization 2025-03-12 10:24:20 +01:00
8c5b2701fa Add crypto generate_key function 2025-03-12 10:20:30 +01:00
506d62d1d3 Add serialization hex_array_btree 2025-03-12 10:20:10 +01:00
fe6d78fbb6 Add serialization {de}serialize_hex 2025-03-12 10:19:55 +01:00
978ebd75c1 Rationalize serialization imports 2025-03-12 10:19:36 +01:00
2837fb6939 [bug] don't filter out freezed outputs but ignore them when selecting 2025-03-12 10:18:54 +01:00
f74c9a324b Export serde_json et serde_wasm_bindgen 2025-03-12 10:17:56 +01:00
3cf653c280 Add serde-wasm-bindgen and remove serde-json preserve-order feature 2025-03-12 10:10:36 +01:00
4bcf31d311 Add roles and public_data to prd 2025-03-04 14:43:43 +01:00
dc77482cc6 Add public_data to CommitMsg 2025-03-03 23:19:32 +01:00
131ee8c55b Rename process descriptions to public_data 2025-03-03 23:19:10 +01:00
17ad1a0319 Roles is now part of ProcessState out of the pcd 2025-02-07 23:05:11 +01:00
855cd948ef [bug] update_value also update the state_id 2025-02-07 22:38:18 +01:00
5fc2764bbf Derive Eq, PartialOrd, Ord for Proof 2025-02-07 22:36:21 +01:00
f0db7a1f23 Update to latest CommitMessage 2025-02-04 16:23:00 +01:00
1fe174190f More explicit error in case of Mutex poisoning 2025-02-04 16:22:48 +01:00
4c0a034a16 fee_provision is not a fraction of sent amount but some fixed value 2025-02-04 16:22:25 +01:00
1bc61f9251 filter_keys takes &HashSet 2025-02-04 16:21:58 +01:00
4be53916b0 Replace commitment_tx with process_id 2025-01-29 17:25:36 +01:00
079156d86a [bug] remove_all_concurrent_states won't panic if there's no concurrent states 2025-01-24 16:00:21 +01:00
a4a81f42f1 Replace MemberOutpointMap with OutPointMemberMap 2025-01-21 11:05:18 +01:00
51531a0f44 Add check_tx_for_process_updates 2025-01-17 18:08:18 +01:00
12705aa737 Reduce log verbosity 2025-01-16 18:09:17 +01:00
57a196d3ed Remove the revokation output 2025-01-16 17:12:14 +01:00
b8a3042131 Add serialization mod, with custom serialization logic 2025-01-10 16:24:08 +01:00
c5a00aa845 Implement Display for Member 2025-01-10 16:23:38 +01:00
35a046f7e8 Custom implement of Serialize for HandshakeMessage 2025-01-09 17:54:28 +01:00
0a6bc4e970 Improve Process impl 2025-01-09 17:29:14 +01:00
cd1ab95a94 Update Member 2025-01-09 17:28:48 +01:00