core-lightning/channeld
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: use struct onionreply. 2020-01-23 16:17:42 +10:30
channel_wire.csv pytest: test that we handle WIRE_UPDATE_FAIL_MALFORMED_HTLC correctly. 2020-01-29 21:15:25 +01:00
channeld_htlc.h common: use struct onionreply. 2020-01-23 16:17:42 +10:30
channeld.c pytest: test that we handle WIRE_UPDATE_FAIL_MALFORMED_HTLC correctly. 2020-01-29 21:15:25 +01:00
commit_tx.c wallet: set nLockTime to the tip for withdrawal transactions 2020-02-03 00:45:27 +00:00
commit_tx.h channeld: remove chainparams local parameter. 2019-11-20 20:41:53 +01:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c common: use struct onionreply. 2020-01-23 16:17:42 +10:30
full_channel.h lightningd: save the fee_states into the database. 2019-12-12 22:15:48 +01:00
Makefile common: use struct onionreply. 2020-01-23 16:17:42 +10:30