tweag / cooked-validators

MIT License
39 stars 11 forks source link

Improve our balancing mechanism #393

Closed mmontin closed 1 week ago

mmontin commented 1 month ago

For now, we have our own mechanism to balance transactions that operate on our TxSkel. This does multiple things, depending on our skeleton parameters:

It is well known that this process is complicated and involves a fixpoint because adding fees will increase the size of the transaction, thus possibly requiring more fees and so on. How we currently handle all of this could be improved in many ways: