Cake sets nLockTime = 0 on all BTC txs; Core/Electrum use tip + ~10% backdate, so no anti-fee-sniping, and payjoins diverge from other impls
Locktime is never set, defaulting to 0 in two paths, a wallet-wide fix must touch both:
proposal: replicate Core (tip; 10% max(0, tip-rand(0..99)); 0 if unsynced) via a shared helper, passed into both builders.
ref: payjoin/rust-payjoin#1676
Cake sets
nLockTime = 0on all BTC txs; Core/Electrum usetip+ ~10% backdate, so no anti-fee-sniping, and payjoins diverge from other implsLocktime is never set, defaulting to
0in two paths, a wallet-wide fix must touch both:BitcoinTransactionBuilder(bitcoin_base) (Add locktime param to BitcoinTransactionBuilder bitcoin_base#13)PSBTTransactionBuild/PsbtV2(nosetGlobalFallbackLocktime) → payjoinoriginalPsbt.proposal: replicate Core (
tip; 10%max(0, tip-rand(0..99));0if unsynced) via a shared helper, passed into both builders.ref: payjoin/rust-payjoin#1676