384 Commits

Author SHA1 Message Date
Sosthene
5e6c447942 Fix bug with set_fees returning insufficient amount 2025-08-27 13:57:38 +02:00
Sosthene
61af1d0c10 Add get_latest_commited_state method to Process 2025-08-27 13:57:38 +02:00
Sosthene
27a9379e7c Choice of inputs in create_transaction adds 10% to the amount 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
9be870549b ProcessState validation tests + bug fixes 2025-08-27 13:57:37 +02:00
Sosthene
88fc785dee Update process states validation logic 2025-08-27 13:57:37 +02:00
Sosthene
c3c6549339 Modify fields encryption, can selectively encrypt and fields that are not decrypted stay as they are 2025-08-27 13:57:37 +02:00
Sosthene
8e42596184 Format 2025-08-27 13:57:37 +02:00
Sosthene
9e1c9b12cf Add RoleDefinition tests 2025-08-27 13:57:37 +02:00
Sosthene
36207c3403 Add ValidationRule tests + some fixes 2025-08-27 13:57:37 +02:00
Sosthene
5cc894f67b Modify create_transaction mandatory_inputs argument 2025-08-27 13:57:37 +02:00
Sosthene
f577207e0d Add get_message to Proof 2025-08-27 13:57:37 +02:00
Sosthene
617c73a3de Add validation logic to ProcessState 2025-08-27 13:57:36 +02:00
Sosthene
9fe7daecb0 New_response takes multiple Proof 2025-08-27 13:57:36 +02:00
Sosthene
233d7f979d Add validation logic to ValidationRules and RuleDefinition 2025-08-27 13:57:36 +02:00
Sosthene
4726c59861 Add key_is_part_of_member to Member 2025-08-27 13:57:36 +02:00
Sosthene
9a04bbad3e Update Device api 2025-08-27 13:57:36 +02:00
Sosthene
9158efc547 Update Process api 2025-08-27 13:57:36 +02:00
Sosthene
3931dc66ca Add CommitMessage 2025-08-27 13:57:36 +02:00
Sosthene
2b0eb64097 Simplify CachedMessage 2025-08-27 13:57:36 +02:00
Omar Oughriss
95b21b217e Update Cargo.toml 2025-08-27 13:57:36 +02:00
Sosthene
aca7f8f1fc Impl PartialEq for NewTxMessage 2025-08-27 13:57:35 +02:00
Sosthene
faf3dc283d Rm uuid dependency 2025-08-27 13:57:35 +02:00
Sosthene
fbdcf1eb99 Functional prd/pcd 2025-08-27 13:57:35 +02:00
Sosthene
4801be3b2f Complete Process implementation 2025-08-27 13:57:35 +02:00
Sosthene
cda03aea2e cleanup crypto 2025-08-27 13:57:35 +02:00
Sosthene
6ad100d20e Add MutexExt trait 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
Sosthene
966fd9ff56 Add basic signature 2025-08-27 13:57:34 +02:00
Sosthene
c9f62dc3de Implement Process 2025-08-27 13:57:34 +02:00
Sosthene
81e01d01b5 Update create_transaction test 2025-08-27 13:57:34 +02:00
Sosthene
91a20112d1 Update Pcd/Prd 2025-08-27 13:57:34 +02:00
Sosthene
a3af3a8ae6 Rename AnkNetworkMsg to Envelope 2025-08-27 13:57:34 +02:00
Sosthene
28c23505e6 Replace CipherMessage with Prd and put data in Pcd 2025-08-27 13:57:34 +02:00
Sosthene
22407bbb51 [bug] FaucetMessage commitment is 32B long 2025-08-27 13:57:33 +02:00
Sosthene
3ce6751ad2 Add to_string() to Faucet and NewTxMessage 2025-08-27 13:57:33 +02:00
Sosthene
9aeef05006 new_login 2025-08-27 13:57:33 +02:00
Sosthene
3f70dfc79f Add TrustedChannel 2025-08-27 13:57:33 +02:00
Sosthene
b2381be0ae Update CachedMessage 2025-08-27 13:57:33 +02:00
Sosthene
2c2e087980 fmt 2025-08-27 13:57:33 +02:00
Sosthene
e8f8e69ebe Replace silentpayments methods with one create_transaction 2025-08-27 13:57:33 +02:00
Sosthene
74e901cd46 Add to_string and from_string methods to network types 2025-08-27 13:57:33 +02:00
Sosthene
066410ec63 Add optional payload to create_transaction_spend_outpoint 2025-08-27 13:57:32 +02:00
Sosthene
3f96ce339b Add export_key method to Aes256Encryption 2025-08-27 13:57:32 +02:00
Sosthene
676acebd8d Update sp-client to latest master 2025-08-27 13:57:32 +02:00
Sosthene
5888e09868 import SilentPaymentAddress from utils 2025-08-27 13:57:32 +02:00
f87f8a4c66 path = "../sp-client" } -> sp_client = { git = "https://github.com/Sosthene00/sp-client.git", branch = "sp_client" } 2025-08-27 13:57:32 +02:00
fd8c7fce65 Update 2025-08-27 13:57:32 +02:00
Sosthene
c74f7a0517 [temp] sp-client temporary branch 2025-08-27 13:57:32 +02:00