239 Commits

Author SHA1 Message Date
Sosthene
ccd5e398b0 Add Prd Connect 2024-10-28 16:03:13 +01:00
775119cdf6 Check a prd is not signed by ourselves when extracting from message 2024-10-21 13:01:17 +02:00
Sosthene
9fd463b592 Fix bug with set_fees returning insufficient amount 2024-10-12 16:28:50 +02:00
Sosthene
4eda758b64 Add get_latest_commited_state method to Process 2024-10-10 16:57:56 +02:00
Sosthene
ef556fddaa Choice of inputs in create_transaction adds 10% to the amount 2024-10-10 16:57:35 +02:00
Sosthene
aa14c69bdf Prd commitment doesn't take validation_tokens 2024-10-10 16:57:03 +02:00
Sosthene
21dccde051 ProcessState validation tests + bug fixes 2024-10-08 11:02:59 +02:00
Sosthene
4744740303 Update process states validation logic 2024-10-07 11:16:35 +02: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
9ff9176498 Modify create_transaction mandatory_inputs argument 2024-10-04 09:27:38 +02:00
Sosthene
1d9a994543 Add get_message to Proof 2024-10-04 09:27:38 +02:00
Sosthene
3ebf4f7899 Add validation logic to ProcessState 2024-10-04 09:27:38 +02:00
Sosthene
319da6b1a3 New_response takes multiple Proof 2024-10-04 09:27:38 +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
185a014de1 Update Device api 2024-10-04 09:27:38 +02:00
Sosthene
9632ef24e3 Update Process api 2024-10-04 09:27:38 +02:00
Sosthene
8d4238f531 Add CommitMessage 2024-10-04 09:27:38 +02:00
Sosthene
bb82a0b760 Simplify CachedMessage 2024-10-04 09:27:38 +02:00
Omar Oughriss
d91a4a67eb Update Cargo.toml 2024-10-02 13:42:26 +00:00
Sosthene
15eda2c4b1 Impl PartialEq for NewTxMessage 2024-09-26 10:46:01 +02:00
Sosthene
f3ab3525a3 Merge branch 'minimal_prd_pcd' into dev 2024-09-25 10:11:29 +02:00
Sosthene
959f8a3058 Rm uuid dependency 2024-09-23 16:14:58 +02:00
Sosthene
f3aa1bc2d0 Functional prd/pcd 2024-09-23 16:12:29 +02:00
Sosthene
62b2137c77 Complete Process implementation 2024-09-23 16:12:29 +02:00
Sosthene
bbc9eaa962 cleanup crypto 2024-09-23 16:12:29 +02:00
Sosthene
3cbe77c143 Add MutexExt trait 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
Sosthene
665d95554d Add basic signature 2024-08-21 13:17:34 +02:00
Sosthene
b2c070642e Implement Process 2024-08-20 12:21:15 +02:00
Sosthene
8688b6ed79 Update create_transaction test 2024-08-15 16:24:58 +02:00
Sosthene
dd797bd981 Update Pcd/Prd 2024-08-15 16:15:26 +02:00
Sosthene
95ed1e1f1c Rename AnkNetworkMsg to Envelope 2024-08-13 15:52:54 +02:00
Sosthene
41743ab3e7 Replace CipherMessage with Prd and put data in Pcd 2024-08-13 15:52:54 +02:00
Sosthene
d61b210dda [bug] FaucetMessage commitment is 32B long 2024-08-13 15:04:59 +02:00
Sosthene
38fa6e6239 Add to_string() to Faucet and NewTxMessage 2024-08-13 14:21:07 +02:00
Sosthene
9017f7651b new_login 2024-08-01 12:25:49 +02:00
Sosthene
d871b326c8 Merge branch 'new_login' into dev 2024-07-19 22:51:01 +02:00
Sosthene
b5881d63b0 Add TrustedChannel 2024-07-19 22:48:57 +02:00
Sosthene
f59dc042b6 Update CachedMessage 2024-07-19 22:48:45 +02:00
Sosthene
e1f70cf849 fmt 2024-07-19 22:48:15 +02:00
Sosthene
9087e0a535 Replace silentpayments methods with one create_transaction 2024-07-19 22:47:09 +02:00
Sosthene
207e2d1d73 Add to_string and from_string methods to network types 2024-07-19 22:46:07 +02:00
Sosthene
a1cfba63ff Add optional payload to create_transaction_spend_outpoint 2024-06-27 17:19:04 +02:00
Sosthene
b648ed9ada Add export_key method to Aes256Encryption 2024-06-27 17:16:26 +02:00
Sosthene
3d30eb8ce3 Update sp-client to latest master 2024-06-17 13:40:03 +02:00