917 Commits

Author SHA1 Message Date
Arnaud
a8930cd45d
Export shutdown proc 2025-11-03 23:06:52 +11:00
Arnaud
aa34a2581a
Separate stop and close features for restartability 2025-11-03 23:06:52 +11:00
Arnaud
a855efc2c7
Add chronicles logging configuration 2025-11-03 23:06:52 +11:00
Arnaud
34448a8852
Add chronicles build args to filter logs 2025-11-03 23:06:52 +11:00
Arnaud
6bf3c8bd01
Reraise cancelled error 2025-11-03 23:06:52 +11:00
Arnaud
d9f5261b80
Make rest api server optional 2025-11-03 23:06:51 +11:00
Arnaud
34976c3c58
Fix mock clock 2025-11-03 23:06:51 +11:00
Arnaud
d6d9ce7d84
Fix log message 2025-11-03 23:06:51 +11:00
Arnaud
f98a6b25fc
Cancel the download in the example to avoid to keep a future and stream running 2025-11-03 23:06:51 +11:00
Arnaud
bafca77e13
Define raises for async pragma for waitUntil 2025-11-03 23:06:51 +11:00
Arnaud
5659c0d320
Add storage delete (block or dataset delete) 2025-11-03 23:06:51 +11:00
Arnaud
3d076aa65f
Add node space 2025-11-03 23:06:51 +11:00
Arnaud
3bbf52a7a4
Add node storage fetch (network download to local node) 2025-11-03 23:06:50 +11:00
Arnaud
c61fcf6f29
Add storage list 2025-11-03 23:06:50 +11:00
Arnaud
6ee348cefd
Add manifest 2025-11-03 23:06:50 +11:00
Arnaud
cc662e30e9
Add comments 2025-11-03 23:06:50 +11:00
Arnaud
0a98b8b250
Add download streaming mode 2025-11-03 23:06:50 +11:00
Arnaud
5cc4f24dc5
Refactor to avoid memory issues and add download local 2025-11-03 23:06:50 +11:00
Arnaud
2c3849f119
Refactore upload for better memory management with thread and avoid segfault 2025-11-03 23:06:50 +11:00
Arnaud
349d0a326f
Remove dead code 2025-11-03 23:06:49 +11:00
Arnaud
d25afb98c4
Rename OnBlockStored 2025-11-03 23:06:49 +11:00
Arnaud
8e34f3f309
Provide better logs (hopefully) 2025-11-03 23:06:49 +11:00
Arnaud
ef291873ab
Provide better api for progress, fix memory pointer issues and improve logs 2025-11-03 23:06:49 +11:00
Arnaud
42a097aa37
Add more comment 2025-11-03 23:06:49 +11:00
Arnaud
f177b333c9
Provide better comments 2025-11-03 23:06:49 +11:00
Arnaud
be76f4abbf
Use faststream, provide better cleanup and comments 2025-11-03 23:06:49 +11:00
Arnaud
54f71890c7
Add async version for file upload 2025-11-03 23:06:48 +11:00
Arnaud
2ce5c37c58
Use cancelSoon instead of cancel 2025-11-03 23:06:48 +11:00
Arnaud
92ad724a26
Cap the percent to 100 because of the difference between the block size and the last chunk 2025-11-03 23:06:48 +11:00
Arnaud
ea06e3df3b
Add progress callback for upload 2025-11-03 23:06:48 +11:00
Arnaud
fa91e2efcc
Add upload file API 2025-11-03 23:06:48 +11:00
Arnaud
c742304e33
Update chunk size to uint32 2025-11-03 23:06:48 +11:00
Arnaud
f876389254
Add method to upload from a reader 2025-11-03 23:06:48 +11:00
Arnaud
0eee1c7ab8
Fix empty codex version and revision empty 2025-11-03 23:06:47 +11:00
Arnaud
3680b397cf
Refactoring 2025-11-03 23:06:47 +11:00
Arnaud
6a4350d211
Add upload feature 2025-11-03 23:06:47 +11:00
Arnaud
f96f08943c
Add peer debug 2025-11-03 23:06:47 +11:00
Arnaud
3f2c7b776e
Add peer connect 2025-11-03 23:06:47 +11:00
Arnaud
65a595c3fe
Remove log level from the conf because the log level has to be set with the logLevel func 2025-11-03 23:06:47 +11:00
Arnaud
388488e050
Add log level 2025-11-03 23:06:47 +11:00
Arnaud
314fad51ee
Add peer id and add debug request 2025-11-03 23:06:46 +11:00
Arnaud
d9866ecb26
Add spr 2025-11-03 23:06:46 +11:00
Arnaud
13111095b0
Add debug feature 2025-11-03 23:06:46 +11:00
Arnaud
5a0da42ca5
Expose config and node via getters 2025-11-03 23:06:46 +11:00
Arnaud
1b40e358c8
Add async method with callabck for Codex start 2025-11-03 23:06:46 +11:00
Arnaud
12abe3c719
Remove ACK and CODEX_CALL in order to return the first RET value in the Go code 2025-11-03 23:06:46 +11:00
Arnaud
692427c149
Add repo and fix pointer freeing memory 2025-11-03 23:06:46 +11:00
Arnaud
6041e6fa5a
Provide a better API with ACK and OK differenciation 2025-11-03 23:06:45 +11:00
Arnaud
692c2805fd
Add codex revision 2025-11-03 23:06:45 +11:00
Arnaud
23ffa5a1fb
Return the Codex version 2025-11-03 23:06:45 +11:00