|
57ce288ca4
|
Reimplement PartialEq, Eq and Hash for Member
|
2025-01-07 09:25:33 +01:00 |
|
Sosthene
|
1e8a51f37a
|
Fix pcd to_sorted_key_values to sort recursively
|
2024-12-17 22:34:58 +01:00 |
|
Sosthene
|
5be3340aad
|
Add Pcd::to_sorted_key_values, and hash values with a counter
|
2024-12-11 23:23:14 +01:00 |
|
Sosthene
|
1068340c09
|
AnkPcdHash from_value_with_outpoint takes &[u8]
|
2024-12-11 23:20:25 +01:00 |
|
Sosthene
|
adc1fbfabd
|
Fix pcd tests
|
2024-12-06 15:26:38 +01:00 |
|
Sosthene
|
103586570f
|
Refactor is_hex_string
|
2024-12-06 15:26:30 +01:00 |
|
Sosthene
|
348e509ddc
|
decrypt_all check is the value is clear or a commitment
|
2024-12-06 15:26:07 +01:00 |
|
Sosthene
|
adeb5e6537
|
Encrypt_fields check for existing keys and don't overwrite values
|
2024-12-06 15:24:54 +01:00 |
|
Sosthene
|
f409671d3a
|
Use commited_in instead of root_commitment as salt
|
2024-12-06 15:23:54 +01:00 |
|
Sosthene
|
46625984f3
|
Remove dead code
|
2024-12-06 15:22:43 +01:00 |
|
Sosthene
|
1619222fb3
|
Add storages to RoleDefinition
|
2024-12-06 15:22:00 +01:00 |
|
Sosthene
|
baaee6d31d
|
fix pcd tests
|
2024-12-03 22:54:03 +01:00 |
|
Sosthene
|
a2b969b72e
|
[bug] correct hash construction
|
2024-12-03 22:34:36 +01:00 |
|
Sosthene
|
72a3230952
|
Add is_hexstring to Pcd trait
|
2024-12-03 10:36:13 +01:00 |
|
Sosthene
|
614bdcedd2
|
create_merkle_tree() sorts leaves
|
2024-12-03 10:36:13 +01:00 |
|
Sosthene
|
e2d8e0eb77
|
Add RoleDefinition is_member_validation_needed()
|
2024-12-03 10:36:13 +01:00 |
|
Sosthene
|
da4c752df0
|
Update ValidationRule is_satisfied()
|
2024-12-03 10:36:10 +01:00 |
|
Sosthene
|
0ad63d347b
|
Add ValidationRule::allows_modification()
|
2024-11-29 09:10:54 +01:00 |
|
Sosthene
|
b38189beca
|
Make Pcd::decrypt_fields() replace encrypted by commitments
|
2024-11-29 09:09:54 +01:00 |
|
Sosthene
|
2fadc2e39c
|
Update create_merkle_tree
|
2024-11-29 01:11:43 +01:00 |
|
Sosthene
|
c2fde13e95
|
Update prd/pcd to keep commitments of each field
|
2024-11-12 20:52:28 +01:00 |
|
Sosthene
|
c3a7a3570b
|
Add get_address_for_key to Member
|
2024-10-29 13:03:03 +01:00 |
|
Sosthene
|
9c9e50bcdb
|
key_is_part_of_member takes PublicKey
|
2024-10-29 13:03:03 +01:00 |
|
Sosthene
|
a84d1d0508
|
Derive Default for Member
|
2024-10-29 12:57:25 +01:00 |
|
Sosthene
|
7a4344608e
|
Modify fields encryption, can selectively encrypt and fields that are not decrypted stay as they are
|
2024-10-07 11:15:22 +02:00 |
|
Sosthene
|
3c15b41699
|
Format
|
2024-10-06 10:40:29 +02:00 |
|
Sosthene
|
4809459da5
|
Add RoleDefinition tests
|
2024-10-06 10:38:48 +02:00 |
|
Sosthene
|
3f633cf594
|
Add ValidationRule tests + some fixes
|
2024-10-04 11:45:04 +02:00 |
|
Sosthene
|
70bd927077
|
Add validation logic to ValidationRules and RuleDefinition
|
2024-10-04 09:27:38 +02:00 |
|
Sosthene
|
432dc4b8ea
|
Add key_is_part_of_member to Member
|
2024-10-04 09:27:38 +02:00 |
|
Sosthene
|
f3aa1bc2d0
|
Functional prd/pcd
|
2024-09-23 16:12:29 +02:00 |
|
Sosthene
|
97df8ea13d
|
Update prd/pcd
|
2024-09-02 07:55:35 +02:00 |
|
Sosthene
|
0ea4c5f118
|
Implement prd/pcd logic
|
2024-08-28 09:40:19 +02:00 |
|