Contractor attempts to renew contracts prior to renewwindow #2866
Comments
I see errors on my host that appear to be related to this issue of renters trying to renew contracts with me too soon. host log: https://gist.github.com/Bojak4616/6c0bba37c72650311269be01213a8222 |
I do not believe that this a bug. Sia will renew a contract if it runs out of funds, which can happen before the renew window expires. |
@Bojak4616 the errors that you are seeing I think are something different. That error appears if the renter proposes a contract to the host that doesn't give the host enough time to submit the final revision of the contract safely. This can happen if you set the duration of your allowance really low, but it shouldn't happen if you are using the default settings. |
Noted. Do you have the messages from the wallet.log around that time? I believe it should be logging the money it spends. If you can find the messages from the contractor.log around that time as well, we might be able to figure out what happened. Can you also truncate the logs to the exact day of the big plummet in siacoins available to the wallet? |
It started around 2018/03/03 02:30:00:
|
@mtlynch a quick comment on your initial post
If the contract started at block 141743 and the period is 12960 then the contract should end at 141743 + 12960. In this case the renew window is half the period so you are right in saying that the contract should attempt to renew at 141743 + 6480 but it is more accurate to say that the contract will renew at |
BUG REPORT
Stack Trace or error message
/renter
shows the following:Expected behavior
My understanding is that the contract started at block 141743, ends at block 12960, and should attempt to renew contracts at block 141743 + 6480 = 148223.
Block 148223 is several weeks away, so my expectation is that the contract will not attempt to renew until that block occurs.
Actual behavior
contractor.log
is filled with attempts to renew contracts:Environment
Logs: https://gist.github.com/mtlynch/7726468eca7ffef0ff6ac9370b05024e
The text was updated successfully, but these errors were encountered: