Comments (5)
I wonder how best to handle this. We could prompt during formation, e.g.:
$ user contracts form x y z
WARNING: You already have a contract with that host (abc-def.contract).
Press ENTER to archive that contract and proceed, or Ctrl-C to abort.
or we could archive automatically and print a message notifying the user what happened.
from user.
Now archiving the original contract would still hold up the funds until the contract expires on the blockchain. I think the option of being able to abort formation would be useful in that instance, unless maybe the program does a tattle
of that contract? Offering to do that could be an option thus preventing the scenario of two active contracts with a single host.
from user.
good point. I think prompting the user is the way to go. And instead of automatically archiving, it should just tell the user that they'll need to disable one of the contracts before uploading or downloading.
tattle
will submit a revision, but you still won't get your money back until the contract ends, so it doesn't help much here.
from user.
I mistakenly used tattle
in the previous example. I had meant the renew
command. But also in this case I think telling the user to that there is an already existing contract is probably the best way to go, even offering to renew the existing contract would require the end user to input some data as well as if they just renewed manually.
from user.
I think we must to have settings like minimal and maximal redunancy. Also we must to have own statistics by all contracts for all times. In case if we will have situation when we will have "duplicate contracts" (i mean that same chunk will be uploaded to several hosts) then we must to reduce redunancy to our maximal_level_of_redunancy. But we need to select which hosts can delete our data - here we can use our own time statistics for a contract. We have 3 wasy for posibillity to select good hosts - cheapest contract (low price storage, low upload, low price download) or hight perforamce (we can use our real data which we can to have in process of usage this contracts in previous time) or stabily of host (i think this must be preffered way by default, beucase previous 2 ways must be already used on previous steps when we created contracts). So we have 3 ways - then we can provide this option for users like a settings from command line or configuration file.
from user.
Related Issues (20)
- Idea: per-host progress bars HOT 4
- Allow ~ in config paths HOT 1
- Feature Request: Ability to specify redundancy HOT 7
- Feature Request: Contract list be sortable HOT 2
- Fix short hostkey lookup
- Seed should not be required when scanning
- Checkup all enabled contracts
- Inaccurate upload speeds
- user with walrus & shard - how to use ?! HOT 10
- wrong number of words in seed phrase HOT 4
- can't create contract from user via siad HOT 1
- idea: upload & download acseleration speed HOT 1
- idea: automatic creation & prolongation existing contracts
- Upload error does not identify which hosts failed HOT 8
- Error on doing file Checkup HOT 1
- Connection timed out error causing other errors HOT 1
- Error on resuming upload HOT 6
- Panic error when trying to download HOT 14
- Feature Request: Contract file removal HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from user.