Closed JaredTate closed 9 months ago
DEFAULT_TRANSACTION_MAXFEE From COIN /10 to COIN HIGH_MAX_TX_FEE from 100 to 1000
//! -maxtxfee default constexpr CAmount DEFAULT_TRANSACTION_MAXFEE{COIN};
//! -maxtxfee will warn if called with a higher fee than this amount (in satoshis) constexpr CAmount HIGH_MAX_TX_FEE{1000 * HIGH_TX_FEE_PER_KB};
When using coin control & selecting 15 or more manual inputs, the QT core wallet throws a TX error. We don't have the fee rates set correctly.
The error is defined here in code: https://github.com/DigiByte-Core/digibyte/blob/e8247b0d596a443eb75f7bd6a9760534970eb25d/src/util/error.cpp#L32-L33
It looks like the bug is now in
MAX_FEE_EXCEEDED
Well, the bug is the fee rates we just changed most likely. Should be an easy fix, just need to calculate all the fee rates correctly.MAX_FEE_EXCEEDED
is defined here: https://github.com/DigiByte-Core/digibyte/blob/e8247b0d596a443eb75f7bd6a9760534970eb25d/src/node/transaction.cpp#L67-L78