Hi folks, @riddim I am gonna yank the autonomi-client package for now ( I will leave the vault (safenode) and self_encryption). The API does not make sense currently and the connect function is redundant. In the rust layer it disconnects after 10sec without warning. so there is a bit of rust API refactor required here.
It’s all small stuff, but needs this focus to move things around and to make sense. As well as of course fixing those register type API @happybeing We will get there.
I really hope we can get this all in a week, but I am optimistic and it drive the guys to insanity We will see though
Nice, I am hopeful we will get a new version and the client up soon. There have been a few self_encryption updates (I added a lot of docs and functor based decryption etc.) PyPI Download Stats
Just dropping zeromq as local communication channel between a process connected to the network and keeping that connection open and other api functions that interact with it.
I know you’re well aware of the technology @dirvine but I think you focused on it in terms of node communication via tcp sockets… For inter-thread/process communication it’s very well suited for local comms too (and e.g. Is used by Jupyter notebooks to interact with the python kernel) … Using a icp:// type socket would be os independent and easy+super fast for local comms (and couldn’t cause trouble because of ports being already used or so…)
Crappycrap - no Windows Support for icp sockets … Stupid me… So maybe different protocol (on windows…?)
I think (!) the cli only operates on file level (where e.g. The name of the file is store on the network too) while you just uploaded the content or a file as self encrypted chunks.
I think there were file operations too in the python lib - I for sure downloaded files… Probably you can upload a file ‘as file’ too and that should be retrievable via cli as well then
I couldn’t find any reference to file/archive upload in the API docs, but I did test and confirm that the file address we get from the uploads (vs the archive address) does work for retrieving data directly.
So that’s part of the way there, but I don’t yet see a way to go from archive address to file contents, which means I only get the encrypted file address during the upload. And I can’t yet go from data blob uploaded with api/file address to something downloadable via ant.
ant cli only seems to store the archive address and filename in the vault.