207 Commits

Author SHA1 Message Date
f0c52f6597 Working with new roles (to be recommited later) 2025-02-14 16:23:39 +01:00
14c2174897 Add serde-wasm-bindgen 2025-02-14 16:20:29 +01:00
7775e3bd3c Add get_member() 2025-02-03 16:38:51 +01:00
908155c939 [experimental] Add members_from_same_role and sync_process_from_relay 2025-01-30 16:08:04 +01:00
8759efb582 Update filter_keys to latest common 2025-01-30 16:07:32 +01:00
feeaedc917 Add request_data() 2025-01-30 16:07:18 +01:00
c0adce2b31 Add Prd Request handling 2025-01-30 16:07:05 +01:00
e92384fc93 Add get_pairing_process_id() 2025-01-30 16:06:48 +01:00
d99d4f0067 Renamed some variables for clarity + minor fixes 2025-01-30 16:06:35 +01:00
9dc7e62f8f [bug] unhandled error in parsing of prd update 2025-01-30 16:04:08 +01:00
04b467cc97 update_process also return commit_msg 2025-01-24 12:44:05 +01:00
060f1689af [bug] Add validation_tokens to commit_msg 2025-01-22 11:41:28 +01:00
bdf75a6114 Remove unecessary check in create_update_message 2025-01-22 10:46:24 +01:00
b2f7f68726 Check to for process updates 2025-01-17 18:31:04 +01:00
089b59136d Rename init_commitment to process_id 2025-01-17 09:43:34 +01:00
4232f9aa62 create_transaction_for_addresses freezes spent utxos to prevent accidental double spends 2025-01-17 09:41:27 +01:00
cd48128255 create_connect_transaction takes addresses, not members 2025-01-17 09:40:51 +01:00
8e0e7d0128 [bug] roles_contains_member 2025-01-15 17:40:58 +01:00
6d82333a49 Replace new_state_merkle_root with state_id in UserDiff 2025-01-15 14:40:26 +01:00
7d0aa89387 Add children process validation method 2025-01-15 13:05:01 +01:00
3dab6ef2d6 [bug] when updating state with values, hash check would have failed if not all values updated 2025-01-12 19:07:42 +01:00
9896532713 Rm CachedMessage 2025-01-07 09:24:06 +01:00
49637d9b40 [bug] prd response doesn't trigger infinite responses loop 2025-01-03 11:49:26 +01:00
Sosthene00
de5eb1b8cd Update to latest common 2025-01-02 12:37:34 +01:00
Sosthene
4c49cf1596 Merge branch 'get_update_proposals' into dev 2024-12-30 10:41:20 +01:00
Sosthene
ee777bbcbc Update handle_prd 2024-12-17 23:56:07 +01:00
Sosthene
d54981f66e Minor fix in create_new_process 2024-12-17 23:56:07 +01:00
Sosthene
76ce2c0672 Update create_update_message 2024-12-17 23:56:07 +01:00
Sosthene
cc8d64f6ce Add up_to_date_roles to UpdatedProcess 2024-12-17 23:56:07 +01:00
Sosthene
f899719cc1 Update ProcessState with descriptions 2024-12-12 16:47:36 +01:00
Sosthene
40dbc1b2ba Update pairing tests 2024-12-11 23:39:42 +01:00
Sosthene
a919c6d83d Rm dead code and minor fixes 2024-12-11 23:39:35 +01:00
Sosthene
1106d25ea1 Update create_response_prd 2024-12-11 23:39:09 +01:00
Sosthene
92f4d62c88 Update add_validation_token 2024-12-11 23:38:36 +01:00
Sosthene
f789b30372 Update update_process 2024-12-11 23:37:59 +01:00
Sosthene
166c7c993f Add create_diffs 2024-12-11 23:36:35 +01:00
Sosthene
2afc6c9a85 Update create_new_process 2024-12-11 23:35:50 +01:00
Sosthene
0c702de953 Rm handling of prd confirm 2024-12-11 23:34:51 +01:00
Sosthene
3ed94c7538 Update parse_cipher for prd update 2024-12-11 23:34:00 +01:00
Sosthene
1bf8d91991 Update UpdatedProcess with UserDiff 2024-12-11 23:30:14 +01:00
Sosthene
8f089fd3db Define UserDiff 2024-12-11 23:29:42 +01:00
Sosthene
af51c93087 Fix pairing test : add storages to RoleDefinition 2024-12-06 15:32:27 +01:00
Sosthene
8a8eaec4fd Update to latest api 2024-12-06 15:32:04 +01:00
Sosthene
4362012fcb Add evaluate_state api 2024-11-30 23:29:48 +01:00
Sosthene
bb1e5afb2f Replace is_linked() by is_paired() 2024-11-30 20:03:20 +01:00
Sosthene
1d5869561a [bug] take care of redundant local address when pairing 2024-11-30 20:02:55 +01:00
Sosthene
544c3256d6 [bug] pairing: roles needs validation when pairing 2024-11-30 20:01:40 +01:00
Sosthene
f95b6473e5 Add PcdUpdates and UserDiff 2024-11-29 12:24:05 +01:00
Sosthene
ed7c5e5b0c Minor updates 2024-11-29 11:52:30 +01:00
Sosthene
041cf55f58 Add UpdatedProcess type 2024-11-26 22:55:31 +01:00