If the user does not specify locktime for send, sendall and walletcreatefundedpsbt, enable anti-fee-sniping. Previously we would set nLockTime to 0.
This behavior matches the sendtoaddress RPC and the GUI wallet.
Because sendall doesn’t use CreateTransactionInternal this PR refactors (and renames) DiscourageFeeSniping so that it checks input nSequence values and nLockTime by itself, and brings its own FastRandomContext. A subsequent commit then calls this from the sendall RPC.