Windows storage driver



  • @snakes Definitely. MIT license, unless there's some conflict with 3rd-party libraries, which isn't likely.
    @brisk Thanks for the info. Not show stoppers, but limitations I'll have to clearly state. Should be able to work around most of it, but when it's more appropriate, I'll reach out to Sia dev's with issues this project has encountered.

    Probably 3-4 weeks away for testing. I've had quite a bit of available time to spend on it lately. Any features or suggestions, just post them here. Thanks again for the feedback. Keeps me motivated :)



  • Features hmm, Ill describe a problem.

    Typical user of this windows drive will not have 24/7 uptime, there will be reboots.
    This causes the wallet to be locket.
    This causes the siad not able to renew contracts
    This causes data to possibly be lost'

    I do see the problem with storeing the seed to unlock on disk, hackers will love that, but if the amount in wallet is like < 20$ the risk is manageble, right?

    I dont know which software should be responsible for unlocking wallet on reboot, but I do think its a needed feature for this to work.

    //Cheers, keep going don t stop



  • @brisk Worst case would be a prompt after login for unlock with option to store the password encrypted. The app won't expose itself to network, so it should be relatively secure that way. Essentially, Google Drive and Dropbox behavior without the need to send anything authentication-related over the internet. You're absolutely right, though, with Sia it's data and currency you have to worry about keeping secure.
    Corruption should be minimal and even less likely with SiaDrive. Sia is the service, but internally the app will have quite a bit of safeguards in place. To what extent will evolve over time, but it's my primary focus to ensure reliability.
    Really great feedback. Keep it coming - I'll keep coding :)



  • I forgot to address the uptime issue for renewal. Since files reside in a cache folder, the app will be intelligent enough to re-upload missing files in Sia and to download files that aren't cached (i.e. uploaded via Sia-UI). This won't help if the file isn't cached (i.e. LRU eviction) and also fails to renew, but will provide a little more safety. Also, as you mentioned, the cache style will cause issues if repair is needed assuming the configured cache size is less than your total amount stored.
    Another idea I had was to host siad on a system that will run 24/7 and to create a proxy service that resides on the siad machine. The proxy would allow SiaDrive to run on multiple boxes that wouldn't need to be up.



  • @drexel: a note on your idea to host a SIAd instance externally to avoid it to be run local. IMO that would non alligned with the idea of P2P and introduce a single point of failure. Then I personally think it is better to have the "hazzle" locally.



  • @larsfloe Good point. Not on the radar for first release. Plenty of challenges without it. There would be security implications as well. siad would still listen on loopback only, but any network expose would need to be secure.


  • Global Moderator

    @drexel said in Windows storage driver:

    And siad or SiaUI will need to be running.

    Looks really good! I would try to divorce your app from the SiaUI app at the very least. Maybe even let user define location of siad as an option and start the daemon if its not already running.



  • @in-cred-u-lous Html/css are king for UI's :)
    Good to know. Wasn't entirely sure which route to take, but most dev has been against siad standalone. I do test against both just to be sure that Sia-UI interactions aren't causing issues. The app will guide you through setting up a new account, if required. May just add an option to install siad when packaged to keep it simple.



  • Tedious week focused on unit test, mock siad and creating test cases. I'll try to update once a week.



  • @drexel maybe you would consider to join the sia slack and discuss you project in the #contributors channel

    https://siatalk.slack.com


  • Global Moderator

    @drexel any news? :)



  • Project is on Bitbucket
    https://bitbucket.org/siaextensions/siadrive

    I was planning to release alpha build but encountered an issue with siad. Sia dev is working on reproducing it. I'm slowly getting Go dev tools setup to see if I can help, but it's crunch time at work.
    I started work on Linux FUSE last week. Depending on how long it will take to pinpoint/fix siad issue, FUSE may also be included in alpha.



  • Today is SiaDrive Alpha 1 release day. Alpha 2 will add linux support within 4-6 weeks.

    https://github.com/SiaExtensions/SiaDrive/releases

    UPDATE: Moving repo over to Bitbucket. Will update links when migration is done.
    UPDATE: https://bitbucket.org/siaextensions/siadrive/downloads/



  • awseome.... I'd like to give it a test shot - I recall you mentioned you advised to do a separate install on a separate machine to not mess up wallets 'n stuff?? :-)



  • I've downlodaded and tested a bit:

    • I can upload folders to SIA just by moving them to the mapped windows drive - very good.

    • Issue one: if you rename folders in the mapped (the SIA dive) you will end up having a copy, not a renamed folder, and in SIAD (the "official" SIA client the rename is not reflected. I couln't figure out if it is because the rename was done during upload, during duplication till factox3 or after.

    btw.: do you want feed back from test here or??



  • @larsfloe So sorry for missing this. Haven't checked the forum lately. Mostly on Slack. I'll test rename again tonight.



  • Alpha 2 is released.
    https://github.com/SiaExtensions/SiaDrive/releases/tag/v0.1_Alpha2

    UPDATE: Moving repo over to Bitbucket. Will update links when migration is done.
    UPDATE: https://bitbucket.org/siaextensions/siadrive/downloads/



  • @larsfloe Also, if you find anything that you suspect is a bug, you can report it here:
    https://gitreports.com/issue/SiaExtensions/SiaDrive

    UPDATE: Moving repo over to Bitbucket. Will update links when migration is done.
    UPDATE: https://bitbucket.org/siaextensions/siadrive/issues/



  • Alpha 3 is released. Fix for rename issue reported above. Moving on to FUSE but will most likely release something every 2 weeks. More of an agile approach since it's just me developing.
    https://github.com/SiaExtensions/SiaDrive/releases/tag/v0.1_Alpha3

    UPDATE: Moving repo over to Bitbucket. Will update links when migration is done.
    UPDATE: https://bitbucket.org/siaextensions/siadrive/downloads/


  • Global Moderator

    This is amazing! It's exactly what I need. It is just a tad unstable though. Or maybe I'm not using it quite right. When will there be a windows stable beta version? Is there anyway that I can help? I don't want to discuss how I want to use it on here but maybe we can get together you can tell me if I'm using it incorrectly for what I'm trying to do.

    Make sure you tag me @bryan if you need to me respond.
    Forum Mod. I cannot fix transactions. I can't help with Mac or Linux.
    alt text
    Unofficial Web Based Siacoin Wallet. No more syncing.

    0

Log in to reply