koinos / koinos-cli

A command line utility used for key management and to interact with the Koinos blockchain.
Other
9 stars 7 forks source link

[FEATURE]: Do not use 100% `rc_limit` when submitting transactions #182

Closed sgerbino closed 1 year ago

sgerbino commented 1 year ago

Is there an existing issue for this?

New feature

In order to find a reasonable rc_limit to set transactions to by default we should implement the following logic:

  1. Start with setting the rc_limit to 10%
  2. Attempt to submit the transactions, if no error -- we are done
  3. If we receive the pending resource limit exceed error a. If the user has more mana, alert the user of the failure and suggest setting the rclimit higher with an example command b. If the user does not have enough mana, alert the user

Anything else?

No response