core-lightning/wallet
Rusty Russell 93c589efe8 wallet: save block height when we first create channel.
This gives us a lower bound on where funding tx could be.

In theory, it could be lower than this if we get a reorganization, but
in practice this is already a 1-block buffer (since we can't get into
current block, only the next one).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-01-05 15:05:21 +01:00
..
test wallet: save block height when we first create channel. 2018-01-05 15:05:21 +01:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c db: add column for first block of channel. 2018-01-05 15:05:21 +01:00
db.h db: log a message to say whether we created or updated db. 2018-01-02 13:21:25 +01:00
Makefile wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
wallet.c wallet: save block height when we first create channel. 2018-01-05 15:05:21 +01:00
wallet.h wallet: save block height when we first create channel. 2018-01-05 15:05:21 +01:00
walletrpc.c json: add json_add_txid. 2017-12-21 11:05:38 +00:00
walletrpc.h walletrpc: Implemented the withdrawal flow 2017-06-23 16:02:20 +09:30