139 Commits (819078fe18d45abff09d033926e3659cddce7e1c)

Author SHA1 Message Date
Rusty Russell ae8fb96d06 lightningd/channel_control: routines to control channeld (move from peer_control.c) 7 years ago
Rusty Russell 372040bbd5 lightningd/onchain_control: routines to control onchaind (move from peer_control.c) 7 years ago
Rusty Russell 9176ee628c lightningd/closing_control: routines to control closingd (move from peer_control.c) 7 years ago
Rusty Russell a83ff83328 lightningd/connect_control: routines to control connecting (move from peer_control.c) 7 years ago
Rusty Russell 4cf274b1c0 lightningd/opening_control: routines to control openingd (move from peer_control.c) 7 years ago
Rusty Russell cfa50d393a openingd: use peer_failed like normal instead of boutique negotiation_failed. 7 years ago
Rusty Russell 02d469b3d4 peer_failed: hand fds back to master when we fail. 7 years ago
Rusty Russell e0603d7221 channel: now we're always complete, fields don't have to be optional. 7 years ago
Rusty Russell d2f691b288 subd: make functions more generic, don't assume 'struct channel'. 7 years ago
Rusty Russell a2c6ec6c9b lightningd: use tal_link for log_book. 7 years ago
Rusty Russell 3c0be71d37 wallet: make static, not dynamic decision to insert for everything. 7 years ago
Rusty Russell 72108f0cb9 wallet: don't use rowid for the channel's DBID. 7 years ago
Rusty Russell 6a3ccafaf9 wallet: don't implicitly remove peers, but do it explicitly. 7 years ago
Rusty Russell e20fff9340 lightningd: remove almost all other peer2channel / channel2peer shims. 7 years ago
Rusty Russell 0e93fb932a lightningd: bitcoind and topology routines take channel, not peer. 7 years ago
Rusty Russell 329e31bbe7 lightningd/peer_htlcs: remove remaining peer_ shims. 7 years ago
Rusty Russell cf7c399cc5 htlc: keep channel pointer, not peer pointer. 7 years ago
Rusty Russell 409fef582d subd: keep pointer to channel, not peer. 7 years ago
Rusty Russell 32411de90e lightningd: split struct peer into struct peer and struct channel. 7 years ago
practicalswift 4f4756bd20 Fix a-vs-an typos 7 years ago
Christian Decker 3fdb055606 wallet: Make first_blocknum a field of wallet_channel 7 years ago
Rusty Russell f66c8306f4 wallet: don't use non-common objects as if they were common. 7 years ago
Rusty Russell 38e8601cf6 wallet: abstract away delayed entry of wallet_payment. 7 years ago
Rusty Russell 2cbe5b65c7 wallet: add preimage to db. 7 years ago
Rusty Russell dea0aef52f wallet: use wallet_payment only for *outgoing* payments. 7 years ago
ZmnSCPxj 93dc90990f invoices: Extensive reorganization of invoice system. 7 years ago
Christian Decker cc77012f63 wallet: Add last_was_revoke to channels 7 years ago
ZmnSCPxj caab95b922 wallet_payment: Make msatoshi field nullable. 7 years ago
Christian Decker 0bb264e1a2 wallet: Added unilateral close info to utxo 7 years ago
Rusty Russell 36316957e3 lightningd: set parent correctly for loaded peers. 7 years ago
Rusty Russell 93c589efe8 wallet: save block height when we first create channel. 7 years ago
Rusty Russell f5c319a37e wallet: remove unused wallet_channel_load(). 7 years ago
Rusty Russell 63390a58b0 db: log a message to say whether we created or updated db. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
Christian Decker ee25547576 Re-enable builds with DEVELOPER=0 7 years ago
Rusty Russell 4957921e02 log: mark ltmp as notleak. 7 years ago
Rusty Russell c956d9f5eb lightningd: tal memleak detection, dev-memleak command. 7 years ago
Rusty Russell 005f3826c9 wallet/tests: add mocks for futureproofing. 7 years ago
Rusty Russell 2931760b5b wallet: move tests into test/ dir like other unit tests. 7 years ago
practicalswift 486d321094 Avoid NULL pointer dereference in channelseq(...) 7 years ago
Christian Decker f4a71f9806 tests: Add stmt2wallet test for remote_shutdown_scriptpubkey 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Christian Decker d1cc5f4552 wallet: Add unit tests for payment persistence 7 years ago
Rusty Russell f71a18241a wallet: save and restore htlc_basepoint for remote side. 7 years ago
Rusty Russell 4fb472b7a7 db: we must always be in a transaction, remove nested, call fatal() 7 years ago
Rusty Russell 7133a2f9b3 wallet: assume db errors will be fatal, don't check. 7 years ago
Rusty Russell 3282768302 wallet: don't fail, assume db ops will call fatal. 7 years ago
Christian Decker da183c22a0 db: Cleanup all remaining traces of hex-encoded values 7 years ago
Rusty Russell 48cedef756 peer_control: remove unique_id field. 7 years ago
Christian Decker a005bce155 wallet: Adding primitives to save/load invoices to wallet 7 years ago