82 Commits

Author SHA1 Message Date
010afc9f45 Optimize handshake 2025-08-27 14:00:46 +02:00
75ac468a84 Update process when commiting new state 2025-08-27 14:00:46 +02:00
23fcbe25eb minor fixes 2025-08-27 14:00:46 +02:00
40efdb58a4 Refactor process_validation 2025-08-27 14:00:45 +02:00
f67f8c6d9a Refactor to prevent accidental double spends 2025-08-27 14:00:45 +02:00
b5258a119f SilentPaymentWallet::save() takes an already unlocked wallet as argument 2025-08-27 14:00:45 +02:00
0be7a65599 Load freezed utxos at startup 2025-08-27 14:00:45 +02:00
302a5e6110 [bug] fix saving/loading files 2025-08-27 14:00:45 +02:00
d1dd3aa35a Rm PublicLists 2025-08-27 14:00:45 +02:00
4e5459a080 Less verbosity 2025-08-27 14:00:45 +02:00
829cee3516 [bug] Missing use statements in main 2025-08-27 14:00:45 +02:00
6ec0491aae Write to disk Member when process is pairing 2025-08-27 14:00:44 +02:00
90f83efd3d Update to HandshakeMessage 2025-08-27 14:00:44 +02:00
f23314d925 [bug] deadlock in handle_initial_transaction 2025-08-27 14:00:44 +02:00
fe613fb372 Update AnkFlag::Init to Handshake 2025-08-27 14:00:44 +02:00
21711edd39 Add save processes and members to disk 2025-08-27 14:00:44 +02:00
5391dca929 Add MEMBERLIST and update it with pairing processes 2025-08-27 14:00:44 +02:00
7c634ae0ed [bug] deadlock in commit 2025-08-27 14:00:43 +02:00
18da6da177 [bug] doesn't fail if checking already scanned transaction 2025-08-27 14:00:43 +02:00
a02a1e6625 Return peers and processes list in init message 2025-08-27 14:00:43 +02:00
855dc4374d Update to latest common dev 2025-08-27 14:00:43 +02:00
b82196e286 Add check_transaction_alone and scan transactions in mempool 2025-08-27 14:00:43 +02:00
eb470c1294 Remove useless verbosity 2025-08-27 14:00:43 +02:00
f320fde2a6 [bug] Set default fees for commit transaction in case Core fee estimation fails 2025-08-27 14:00:43 +02:00
d30a6e6310 Add the stateId when registering a new state 2025-08-27 14:00:42 +02:00
Sosthene
e563ae7cca Add Init message at connection with client 2025-08-27 14:00:42 +02:00
Sosthene
25eb76ae22 Update Cargo.lock 2025-08-27 14:00:42 +02:00
Sosthene
142bc469d3 Update commit tests 2025-08-27 14:00:42 +02:00
Sosthene
71135cfd9c Update to latest sdk_common 2025-08-27 14:00:42 +02:00
Sosthene
14e7960357 [bug] comment out roles check 2025-08-27 14:00:42 +02:00
Sosthene
2e51f2ba42 [bug] handling new_tx doesn't end up in sending empty message 2025-08-27 14:00:42 +02:00
Sosthene
74863aac3b [test] handle_commit_{new_process, new_state} 2025-08-27 14:00:42 +02:00
Sosthene
cfbf08faa4 Refactor commitment 2025-08-27 14:00:41 +02:00
Sosthene
98e373bd89 Abstract Daemon methods in RpcCall trait 2025-08-27 14:00:41 +02:00
Sosthene
abae89c6cb Refactor commit 2025-08-27 14:00:41 +02:00
Sosthene
e00f835bb1 Update zmq dependency 2025-08-27 14:00:41 +02:00
Sosthene
4a8e9befa4 update Cargo.lock 2025-08-27 14:00:41 +02:00
Sosthene
0eb44a6f0c Update to latest common dev 2025-08-27 14:00:41 +02:00
Sosthene
a4f76b0252 Add commit logic 2025-08-27 14:00:41 +02:00
Sosthene
91b0c8494e Modify MessageCache constants 2025-08-27 14:00:40 +02:00
Sosthene
497ab97043 More efficient clean_up of MessageCache 2025-08-27 14:00:40 +02:00
Sosthene
e3c83a0871 Modity create_transaction inputs 2025-08-27 14:00:40 +02:00
Sosthene
ada6e45f6e Import MutexExt from common 2025-08-27 14:00:40 +02:00
Sosthene
30c1d7fad0 Update AnkNetworkMsg to Envelope 2025-08-27 14:00:40 +02:00
Sosthene
8a36b6d4b5 Save wallet to disk at creation 2025-08-27 14:00:40 +02:00
Sosthene
4def55ccab Update to latest common dev 2025-08-27 14:00:40 +02:00
Sosthene
e8ccf9ba93 scan at each new block 2025-08-27 14:00:40 +02:00
Sosthene
0647e255f9 Move shared resources to static variables 2025-08-27 14:00:39 +02:00
Sosthene
9f87f51294 Refactor message processing 2025-08-27 14:00:39 +02:00
ank
87b22e2b05 Add config file + bug fix 2025-08-27 14:00:39 +02:00