101 Commits (3270e5c843e43a9dcc0f8e63923c6abd5e172410)

Author SHA1 Message Date
Rusty Russell e433d4ddc1 lightningd: have logging include an optional node_id for each entry. 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
lisa neigut 422b4502d3 funding: add RPC arg to specify a 'close_to' address 5 years ago
trueptolemy 71b606e050 lightningd: Add a new field `shutdown_scriptpubkey[NUM_SIDES]` 5 years ago
trueptolemy 1e5b619832 lightningd: Store commands that try to forget channel in `struct channel` 5 years ago
trueptolemy db145f575b Fix: fundee can forget channel if it receives error during CHANNELD_AWAITING_LOCKIN 5 years ago
Rusty Russell 11ee089d4b db: store option_static_remotekey for each channel. 5 years ago
Christian Decker 5dff67900e tx: Add chainparams when deserializing transactions from wire msgs 5 years ago
Rusty Russell f7a890ca35 lightningd: add slow_reconnect flag for transient failure. 5 years ago
Rusty Russell fea7e10e15 lightningd: make callers of channel_set_owner do reconnection. 5 years ago
Rusty Russell 54ce4ed1cf pytest: fail tests if we get any LOG_BROKEN level messages, unless flagged. 5 years ago
Christian Decker 86d4362b65 wallet: Don't delete channels from DB, mark them closed. 5 years ago
Christian Decker b6b548a983 wallet: Rip out the txtypes type in favor of enum wallet_tx_type 5 years ago
Christian Decker 4c57d44252 channel: Along with the last_tx also remember its type 5 years ago
ZmnSCPxj 3466261b20 lightningd/channel.c: Transfer peer to connectd only if connectd alive. 5 years ago
Rusty Russell f3d30f1267 openingd: check with lightningd when we receive an offer. 6 years ago
Rusty Russell 7ead29b695 db: add support for remote end specify option_upfront_shutdown_script. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Michael Schmoock 1043df28be adds: new db fields and struct variables 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 19d13f1781 type_to_string: return const char *. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell c8c3294a23 json-invoice: add routeboost, warnings. 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Rusty Russell 36b1cac6e6 lightningd: new state AWAITING_UNILATERAL. 6 years ago
Rusty Russell a5ecc95c42 db: store claimed per_commitment_point from option_data_loss_protect. 6 years ago
Rusty Russell 43156643b4 lightningd: message for channeld to tell us that channel risks penalty. 6 years ago
Rusty Russell 223cd97c94 lightningd: kill channeld if we added an HTLC and it didn't commit in 30 seconds. 6 years ago
Rusty Russell d8d4b19f3a connectd: remove separate address hint message. 6 years ago
Rusty Russell 8939a5001b connectd: rely on the master to tell us to reconnect. 6 years ago
Rusty Russell 909cd4136b openingd: get told if we can't let them open a new channel. 6 years ago
Rusty Russell 8bffd2b604 lightningd: centralize refcounting behaviour for peers. 6 years ago
Rusty Russell 5c066b9a25 connectd: wean off gossip_wire message types, use our own. 6 years ago
Rusty Russell 3d3d2ef9af gossipd: remove connectd functionality, enable connectd. 6 years ago
Rusty Russell 231f14e645 lightningd: get basepoints from hsmd, don't ever get seed. 6 years ago
Rusty Russell f456fdfab1 lightningd: keep local_basepoints and local_funding_pubkey. 6 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 6 years ago
Christian Decker 8e278044e3 gossip: Disable channels when we lose the connection to the peer 6 years ago
Rusty Russell 435e85a5b2 lightningd: move "tell gossipd peer is no longer important" to drop_to_chain. 7 years ago
Rusty Russell be1f33b265 gossipd: have master explicitly tell us when peer is disconnected. 7 years ago
Rusty Russell 8c2c1fe1c2 openingd: tell gossipd that the peer is important once funding tx in place. 7 years ago
Christian Decker f44ea9f32e channel: Allow channel lookup by database id 7 years ago
Rusty Russell 05ba976a41 lightningd: --dev-no-reconnect needs to always suppress reconnection. 7 years ago
ZmnSCPxj 2cee1ab20f peer_control: Make close wait for complete closure, with timeout. 7 years ago
ZmnSCPxj f83c4ff903 wallet: Add msatoshi_to_us_min and msatoshi_to_us_max statistics for channels. 7 years ago
Rusty Russell 6bb47276ce lightningd: put min/max feerates into db, struct channel. 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
ZmnSCPxj 234d67da34 channel_fail_permanent: Use a channel-level error, not an all-channels error. 7 years ago
Rusty Russell e63b7bb539 take: allocate temporary variables off NULL. 7 years ago
Rusty Russell 6c1233de44 channel: reserve a bip32 index as soon as channel is opened. 7 years ago