This is the first in what will hopefully end up being a series of pull requests to clean up threadedContractMaintenance, probably one of the largest and most convoluted / opaque functions in the Sia codebase.
This PR is purely cosmetic. The next one changes the logic for deciding how much to renew when renewing contracts, and simplifies a lot of the logic around knowing how much to try and spend.
This is the first in what will hopefully end up being a series of pull requests to clean up
threadedContractMaintenance
, probably one of the largest and most convoluted / opaque functions in the Sia codebase.This PR is purely cosmetic. The next one changes the logic for deciding how much to renew when renewing contracts, and simplifies a lot of the logic around knowing how much to try and spend.