916 Commits

Author SHA1 Message Date
Arnaud
5ef45d30f1
Reraise cancelled error 2025-11-13 07:17:03 +01:00
Arnaud
070a9a150a
Make rest api server optional 2025-11-13 07:17:03 +01:00
Arnaud
6fc5cd2bf4
Fix mock clock 2025-11-13 07:17:03 +01:00
Arnaud
07b442cea9
Fix log message 2025-11-13 07:17:02 +01:00
Arnaud
b70a4ef2a7
Cancel the download in the example to avoid to keep a future and stream running 2025-11-13 07:17:02 +01:00
Arnaud
5eb5ace4f2
Define raises for async pragma for waitUntil 2025-11-13 07:17:02 +01:00
Arnaud
9c8879d8bb
Add storage delete (block or dataset delete) 2025-11-13 07:17:01 +01:00
Arnaud
84b9e676f0
Add node space 2025-11-13 07:17:01 +01:00
Arnaud
e904355d72
Add node storage fetch (network download to local node) 2025-11-13 07:17:01 +01:00
Arnaud
31db4f41a1
Add storage list 2025-11-13 07:17:00 +01:00
Arnaud
64c37066b8
Add manifest 2025-11-13 07:17:00 +01:00
Arnaud
fab9aa77b1
Add comments 2025-11-13 07:17:00 +01:00
Arnaud
f850fcefa7
Add download streaming mode 2025-11-13 07:16:59 +01:00
Arnaud
20dd45e8af
Refactor to avoid memory issues and add download local 2025-11-13 07:16:59 +01:00
Arnaud
74f22df253
Refactore upload for better memory management with thread and avoid segfault 2025-11-13 07:16:59 +01:00
Arnaud
d2623ddce9
Remove dead code 2025-11-13 07:16:58 +01:00
Arnaud
62bf2e4949
Rename OnBlockStored 2025-11-13 07:16:58 +01:00
Arnaud
6bf2c48dea
Provide better logs (hopefully) 2025-11-13 07:16:58 +01:00
Arnaud
e8b76e160a
Provide better api for progress, fix memory pointer issues and improve logs 2025-11-13 07:16:57 +01:00
Arnaud
278c2660a9
Add more comment 2025-11-13 07:16:57 +01:00
Arnaud
11bbc255cb
Provide better comments 2025-11-13 07:16:57 +01:00
Arnaud
82fea5ee4c
Use faststream, provide better cleanup and comments 2025-11-13 07:16:56 +01:00
Arnaud
1228b59cca
Add async version for file upload 2025-11-13 07:16:56 +01:00
Arnaud
a52d0853ea
Use cancelSoon instead of cancel 2025-11-13 07:16:55 +01:00
Arnaud
3af42e33ce
Cap the percent to 100 because of the difference between the block size and the last chunk 2025-11-13 07:16:55 +01:00
Arnaud
8682987343
Add progress callback for upload 2025-11-13 07:16:55 +01:00
Arnaud
f3d1ead21a
Add upload file API 2025-11-13 07:16:54 +01:00
Arnaud
ff6b924ef9
Update chunk size to uint32 2025-11-13 07:16:53 +01:00
Arnaud
abf1e4a977
Add method to upload from a reader 2025-11-13 07:16:53 +01:00
Arnaud
3ad7f2eba1
Fix empty codex version and revision empty 2025-11-13 07:16:53 +01:00
Arnaud
8a636d6279
Refactoring 2025-11-13 07:16:52 +01:00
Arnaud
5b91976152
Add upload feature 2025-11-13 07:16:52 +01:00
Arnaud
1754d4e509
Add peer debug 2025-11-13 07:16:52 +01:00
Arnaud
86da158c48
Add peer connect 2025-11-13 07:16:51 +01:00
Arnaud
429e6d77a7
Remove log level from the conf because the log level has to be set with the logLevel func 2025-11-13 07:16:51 +01:00
Arnaud
66e3fde545
Add log level 2025-11-13 07:16:51 +01:00
Arnaud
9c286e5b50
Add peer id and add debug request 2025-11-13 07:16:50 +01:00
Arnaud
54a3dc7de9
Add spr 2025-11-13 07:16:50 +01:00
Arnaud
f42f00b041
Add debug feature 2025-11-13 07:16:50 +01:00
Arnaud
cd4ee2eef9
Expose config and node via getters 2025-11-13 07:16:49 +01:00
Arnaud
1dc5a9dbf9
Add async method with callabck for Codex start 2025-11-13 07:16:49 +01:00
Arnaud
8acce11b32
Remove ACK and CODEX_CALL in order to return the first RET value in the Go code 2025-11-13 07:16:49 +01:00
Arnaud
1523b49603
Add repo and fix pointer freeing memory 2025-11-13 07:16:48 +01:00
Arnaud
835c0c2ab2
Provide a better API with ACK and OK differenciation 2025-11-13 07:16:48 +01:00
Arnaud
108d4e1b47
Add codex revision 2025-11-13 07:16:47 +01:00
Arnaud
9f38695657
Return the Codex version 2025-11-13 07:16:47 +01:00
Arnaud
6c99857adc
Replace version git command to get the last tag 2025-11-13 07:16:47 +01:00
Arnaud
4848e6f600
Use await keyword as soon as possible to yield to the event event loop 2025-11-13 07:16:46 +01:00
Arnaud
56dc449096
Add limitation doc 2025-11-13 07:16:46 +01:00
Arnaud
24359d409e
Simplify a bit by removing handleRequest func 2025-11-13 07:16:46 +01:00