This PR aims to solve #31088
New RPC call settxfeerate
is added. It does the same as the actual settxfee
but takes the feerate in sat/vB instead of B/kvB.
settxfee
still available but hidden so we avoid incompatibility problems with applications that use that RPC call.
When deprecation is desired, the process should be as simple as just delete settxfee
RPC call function and correct the tests where it is called.
Some simple tests are added to check that all changes work correctly. This has also been tested manually on regtest and the behavior is the expected one.
Update: settxfee
is deprecated