Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

renter ant #20

Closed
DavidVorick opened this issue Aug 26, 2016 · 1 comment
Closed

renter ant #20

DavidVorick opened this issue Aug 26, 2016 · 1 comment

Comments

@DavidVorick
Copy link
Member

It is okay for the renter ant to require that there be hosts on the network. The renter ant should:

  1. startup, get money. probably should run a miner all the time.
  2. set a reasonably high allowance
  3. set a contract window of 600 seconds (100 blocks)
  4. Set a new allowance every 1000 seconds (purposefully slow + offset)
  5. Upload a 500MB file every 120 seconds (20 blocks)
  6. After 1260 seconds (10 files), it should delete one file at random every 120 seconds.

I would like a similar job called heavy renter, that does the same but with slightly different constants:

  1. startup, get money. probably should run a miner all the time.
  2. set a reasonably high allowance
  3. set a contract window of 1200 seconds (200 blocks)
  4. Set a new allowance every 1500 seconds (purposefully slow + offset)
  5. Upload a 20 GB file every 480 seconds (80 blocks)
  6. After 1200 seconds (2 files), it should delete one file at random every 480 seconds.

The host should probably also run a miner all the time. I don't expect 'heavy renter' to be successful on our current codebase. Though it seems like these values could be configurable, I think it'll be easier to think of them as separate jobs. We'll likely add more disjoint behaviors to each in the future, the fact that only constants have changed right now should be more viewed as coincidence rather than something that can be abstracted.

@DavidVorick
Copy link
Member Author

close enough for now, we'll add the heavy-renter when the renter is stable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant