mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
9b624e6853
This revamps the `loki_construct_tx_params` a bit to be able to carry fixed and %-based burn amounts (in addition to the staking tx flag) and modifies it to set the hf version from within wallet2 rather than at construction. This is then used to implement proper fee burning in the wallet (replacing the uncommitted hack I was using up until now to test it) by changing wallet2 to understand the burn amount: initially it adds a placeholder amount so that an appropriate amount of space in tx extra is taken up, then once the transaction has been built and final fees calculated it replaces the placeholder with the final burn amount before tx finalization. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
simplewallet.cpp | ||
simplewallet.h |