core-lightning/wallet
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 Use dedicated type for error codes 2020-01-31 06:02:47 +00:00
.gitignore
db_common.h db: Track the data_version in the database 2020-01-02 14:12:59 -06:00
db_postgres.c db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_sqlite3.c db: Move remainder of the sqlite3 into the apropriate file 2019-09-22 02:03:43 +00:00
db.c common: add struct onionreply 2020-01-23 16:17:42 +10:30
db.h common: add struct onionreply 2020-01-23 16:17:42 +10:30
invoices.c wallet: add invoice features into db. 2019-11-24 23:33:17 +00:00
invoices.h wallet: add invoice features into db. 2019-11-24 23:33:17 +00:00
Makefile wallet/Makefile: fix dependency line. 2019-11-28 11:50:13 +01:00
txfilter.c elements: Fix transaction handling for elements transactions 2019-10-03 04:32:57 +00:00
txfilter.h
wallet.c common: use struct onionreply. 2020-01-23 16:17:42 +10:30
wallet.h common: use struct onionreply. 2020-01-23 16:17:42 +10:30
walletrpc.c wallet: set nLockTime to the tip for withdrawal transactions 2020-02-03 00:45:27 +00:00
walletrpc.h