Sosthene
|
1e73a9aa1d
|
Cargo fmt
|
2025-07-15 11:26:56 +02:00 |
|
Sosthene
|
e77d27e0e4
|
Rm all ciborium code from pcd
|
2025-07-15 11:26:56 +02:00 |
|
Sosthene
|
b5ac0584ed
|
Add get_as methods for Pcd
|
2025-07-15 11:26:56 +02:00 |
|
Sosthene
|
e0bc9e9036
|
Use PcdSerializable in TryFrom impl for Pcd
|
2025-07-15 11:26:56 +02:00 |
|
Sosthene
|
14603debb2
|
Define and implement PcdSerializable trait
|
2025-07-15 11:26:56 +02:00 |
|
Sosthene
|
d55855710d
|
Add const PCD_VERSION and ZSTD_COMPRESSION_LEVEL
|
2025-07-15 11:26:56 +02:00 |
|
Sosthene
|
dd6d93cd34
|
Make FileBlob pub and reexport js_sys
|
2025-06-17 15:17:18 +02:00 |
|
|
58730c48f4
|
Move hashing into hash mod and refactor hash code
|
2025-06-06 22:45:17 +02:00 |
|
|
d256ac7074
|
Add is_empty method to Roles
|
2025-06-06 12:47:55 +02:00 |
|
|
7264e64a4a
|
Separate handling of the files data when encoding pcd
|
2025-06-06 12:47:34 +02:00 |
|
|
e7df62f9cd
|
Update pcd tests
|
2025-06-03 18:12:13 +02:00 |
|
|
cded679f4f
|
Pcd is BTreeMap<String, Vec<u8>>
|
2025-06-03 18:04:27 +02:00 |
|
|
c3b24b754c
|
Upgrade to latest sp_client
|
2025-04-03 14:52:18 +02:00 |
|
|
3985896d91
|
OutPointProcessMap PcdCommitments serialization
|
2025-04-03 14:52:18 +02:00 |
|
|
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 |
|
|
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 |
|
|
786ea94623
|
Add PcdCommitments::is_empty()
|
2025-03-13 14:38:20 +01:00 |
|
|
7babbc2a74
|
Rename PcdCommitments::emtpy() to new_empty()
|
2025-03-13 14:28:51 +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 |
|
|
17ad1a0319
|
Roles is now part of ProcessState out of the pcd
|
2025-02-07 23:05:11 +01:00 |
|
|
c5a00aa845
|
Implement Display for Member
|
2025-01-10 16:23:38 +01:00 |
|
|
cd1ab95a94
|
Update Member
|
2025-01-09 17:28:48 +01:00 |
|
|
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 |
|