Repository navigation
Add locktime default to payjoin-cli - #1445
Conversation
Pull Request Test Coverage Report for Build 23598207631Details
💛 - Coveralls |
arminsabouri
left a comment
There was a problem hiding this comment.
We actually want the opposite. We should reduce the optionality. If most payjoin capable wallets are setting nlocktime to the current height we should do the same and prevent the user from changing nlocktime.
This is the same argument for manual user fee fingerprints -- fees end up being round and stand out as a fingerprint.
In general optionality reduces your anon set https://www.freehaven.net/anonbib/cache/usability:weis2006.pdf
So just default to the current block height +1? |
Doesn't bitcoin core wallet already handle fee sniping? |
|
Yes, but only in the gui. the cli interface just defaults to 0 afaik* Context from the above PR
|
I assumed that meant "no new rpc options added. We will just default to anti-fee sniping behavior". Thats really odd. ok then yes we want to match the core behavior. I think they set it to current height. |
9c3ca31 to
f7355d1
Compare
This adds a default locktime to the payjoin-cli for the purpose of demonstrating good wallet fingerprinting practices. For demonstrating wallet fingerprinting in external wallet integrations I think it is important for the cli to be opinionated about how every aspect of wallet creation is a way to give up some privacy. This default is the current block height + 1 to be inline with bitcoin core anti-fee-sniping.
This a default locktime to the payjoin-cli for the purpose of demonstrating good wallet fingerprinting practices. For demonstrating wallet fingerprinting in external wallet integrations I think it is important for the cli to be opinionated about how every aspect of tx creation is a way to give up some privacy.
Here is an example of a tx using this new locktime feature
Written mostly by claude code
Pull Request Checklist
Please confirm the following before requesting review:
AI
in the body of this PR.