Recently several miners with small payout boxes expressed problems in the support channels sending ERG caused by too many input boxes.
This expresses in the typical error indications:
Error when submitting the transaction "too high cost"
Very long loading time
Timeout exceptions connecting Explorer and/or node
Too avoid all of these errors caused by too many needed input boxes, and to give a helpful error message to the users with a hint how many ERG and/or tokens can be sent with a certain set input boxes restriction, this adds an optional input box selection restriction to BoxOperations. When the amount of selected (not loaded) input boxes is exceeded, an exception is thrown that can be used to give the user helpful hints.
If the restriction is not set, the behaviour does not change.
Recently several miners with small payout boxes expressed problems in the support channels sending ERG caused by too many input boxes.
This expresses in the typical error indications:
Too avoid all of these errors caused by too many needed input boxes, and to give a helpful error message to the users with a hint how many ERG and/or tokens can be sent with a certain set input boxes restriction, this adds an optional input box selection restriction to BoxOperations. When the amount of selected (not loaded) input boxes is exceeded, an exception is thrown that can be used to give the user helpful hints.
If the restriction is not set, the behaviour does not change.