Is your feature request related to a problem? Please describe.
In the spam cli, when you pass --run-forever, the system estimates how much gas you'll use during a run, and will re-fund the accounts every period at which the spammers have used 90% of their allotted gas. This can cascade into over-funding given a long enough duration.
Describe the solution you'd like
Use the new method implemented in the RPC server; run a balance check on each of the spammer accounts at the end of a batch, and fund them if any of the accounts are within 25% of min_balance.
Is your feature request related to a problem? Please describe.
In the spam cli, when you pass
--run-forever, the system estimates how much gas you'll use during a run, and will re-fund the accounts every period at which the spammers have used 90% of their allotted gas. This can cascade into over-funding given a long enough duration.Describe the solution you'd like
Use the new method implemented in the RPC server; run a balance check on each of the spammer accounts at the end of a batch, and fund them if any of the accounts are within 25% of
min_balance.