mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
96c2c9520escripted-diff: Rename SelectCoinsMinConf to AttemptSelection (Andrew Chow)b583f73354Move vin filling to before final fee setting (Andrew Chow)d39cac0547Set m_subtract_fee_outputs during recipients vector loop (Andrew Chow)364e0698a5Move variable initializations to where they are used (Andrew Chow)32ab430651Move recipients vector checks to beginning of CreateTransaction (Andrew Chow)cd1d6d3324Rename nSubtractFeeFromAmount in CreateTransaction (Andrew Chow)dac21c793fRename nValue and nValueToSelect (Andrew Chow)d2aee3bbc7Remove extraneous scope in CreateTransactionInternal (Andrew Chow)b2995963b5Move cs_wallet lock in CreateTransactionInternal to top of function (Andrew Chow) Pull request description: #17331 did some refactors and cleanup of `CreateTransactionInternal` to make it easier to understand, however it is still a bit convoluted even though it doesn't have to be. This PR does additional cleanup and refactoring to `CreateTransactionInternal` so that it is easier to understand. Some unnecessary code was removed, some variables moved around to where they matter, and several indents removed. ACKs for top commit: glozow: reACK96c2c95ryanofsky: Code review ACK96c2c9520ealso acked previously (was reverted). meshcollider: re-utACK96c2c9520eTree-SHA512: 3dba67ed436968a07bfd82d435d566ad74e116c6e50ac9baed7144a46ad5c0f630b1ba59d91e8e8972ac2af559d7c0576f0560f09684d2ab20fad6689902866f