rgb-cln/onchaind
darosior 273029f244 wallet: set nLockTime to the tip for withdrawal transactions
This sets the nLockTime to the tip (and accordingly each input's nSequence to
0xfffffffe) for withdrawal transactions.

Even if the anti fee-sniping argument might not be valid until some time yet,
this makes our regular wallet transactions far less distinguishable from
bitcoind's ones since it now defaults to using native Segwit transactions
(like us). Moreover other wallets are likely to implement this (if they
haven't already).

Changelog-Added: wallet: withdrawal transactions now sets nlocktime to the current tip.
2020-02-03 00:45:27 +00:00
..
test common: allow subdaemons to specify the node_id in status messages. 2019-11-18 04:50:22 +00:00
Makefile common: use struct onionreply. 2020-01-23 16:17:42 +10:30
onchain_types.h elements: Tell onchaind it may ignore fee outputs 2019-10-03 04:32:57 +00:00
onchain_wire.c onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 2018-10-23 16:55:35 +02:00
onchain_wire.csv onchaind: Annotate inputs and outputs not the transactions 2019-10-07 20:03:24 -05:00
onchain_wire.h onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 2018-10-23 16:55:35 +02:00
onchaind.c wallet: set nLockTime to the tip for withdrawal transactions 2020-02-03 00:45:27 +00:00