NebulousLabs / Sia-Ant-Farm

A tool for setting up small testnets for Sia.
MIT License
24 stars 16 forks source link

update `miner` job so that it runs indefinitely #43

Closed avahowell closed 8 years ago

avahowell commented 8 years ago

previously, the miner job would run until it successfully mined one block, then exit with success. This PR changes the behavior such that it runs indefinitely.

DavidVorick commented 8 years ago

The edit here ends with a weird double loop. Would it just be enough to get the starting balance, then every 100 seconds check if the balance has changed? Should be a lot less code.

avahowell commented 8 years ago

latest commit greatly simplifies the job, giving it the described behavior: create a wallet, start mining, check that balance increases every 100 seconds.