295 Commits (4b5cd5ff84ee3ae2961eaff221b41f226a87db59)

Author SHA1 Message Date
Rusty Russell 171006d17c lightnignd: peer addr is never NULL, adjust new_peer. 6 years ago
Rusty Russell c919551109 onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 6 years ago
Rusty Russell 604638712b jsonrpc: Only show total fees collected in getinfo. 6 years ago
Christian Decker 6d333f16cc wallet: Correctly handle forwards when channels or htlcs are deleted 6 years ago
Christian Decker facd7d16aa json-rpc: Add `listforwardings` command 6 years ago
Christian Decker 5b924a7eb7 wallet: Add primitives to add forwarded payments to the DB 6 years ago
Christian Decker 81f5b89fe3 wallet: Actually load wallet stats when asked to 6 years ago
Rusty Russell 0226ef0572 htlc: rename local flag to am_origin, add FIXME. 6 years ago
Rusty Russell 4146950496 lightningd: don't access htlc_in's failoutchannel on db restore. 6 years ago
Rusty Russell 79ebb8a92e db: save the failcode / failuremsg into db. 6 years ago
Rusty Russell 2293f4ce9e db: restore failuremsg/failcode from db. 6 years ago
Rusty Russell d85251ac6c db: fix up HTLCs which are missing failure information. 6 years ago
Rusty Russell 4040c53258 lightningd: handle case where incoming HTLC vanished before fulfilled outgoing. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Rusty Russell 0855422110 gossip_control: when searching for a txout, make sure it's not spent! 6 years ago
Rusty Russell cefb6925b2 db: save and restore last_sent_commit correctly. 6 years ago
Rusty Russell 168bec0974 lightningd: move channel/peer/htlc load into own function. 6 years ago
Rusty Russell 3e53a63cf2 wallet: do wallet_invoice init during preparation. 6 years ago
Rusty Russell a5ecc95c42 db: store claimed per_commitment_point from option_data_loss_protect. 6 years ago
Rusty Russell 5d23698665 wallet: expose function to confirm a tx. 6 years ago
Rusty Russell 27835df8fd wallet: add accessor getting close-info-needed unconfirmed UTXOs. 6 years ago
Rusty Russell 7c856470e2 wallet: add buildtime and runtime assertions on db enums. 6 years ago
practicalswift 0f7b11bdc2 Remove redundant code 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Christian Decker fbbc5899e4 invoices: Make the invoice_details more idiomatic 7 years ago
Christian Decker 7f45947523 wallet: Store the description in the database for invoices 7 years ago
Christian Decker 6bbe5b60f6 wallet: Extract the payment fields into a define 7 years ago
Christian Decker 60e0eec967 wallet: Store payment description in the database 7 years ago
Rusty Russell 722dd05e9d lightningd: keep features arrays for connected peers. 7 years ago
Rusty Russell 231f14e645 lightningd: get basepoints from hsmd, don't ever get seed. 7 years ago
Rusty Russell f456fdfab1 lightningd: keep local_basepoints and local_funding_pubkey. 7 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
William Casarin 4a1b68502e wallet: fix up semi-cryptic wallet error message 7 years ago
Jan Sarenik cb53ad0706 wallet/wallet.c: bind_null if (payment_key) 7 years ago
Jan Sarenik da80447ba3 wallet/wallet.com: bind_null if (out->preimage) 7 years ago
Jan Sarenik 5205de7b8e wallet/wallet.c: bind_null if (in->preimage) 7 years ago
Jan Sarenik 580b8ba8a9 wallet/wallet.c: bind_null if (chan->remote_shutdown_scriptpubkey) 7 years ago
Jan Sarenik 2090ddd1fa wallet/wallet.c: bind_null if (chan->scid) 7 years ago
Jan Sarenik 0640ac23cb wallet/wallet.c: Add missing bind_null 7 years ago
Christian Decker 024dca0fff wallet: Return both min and max block heights 7 years ago
Rusty Russell 1125682ceb wireaddr: new type, ADDR_INTERNAL_FORPROXY, use it if we can't/wont resolve. 7 years ago
Rusty Russell 5a0bc83b20 Tor: don't do seed queries if we're supposed to always use proxy. 7 years ago
Rusty Russell 52917ff6c9 More flexible address wildcards, only add wildcard if nothing else. 7 years ago
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
Rusty Russell 0f0c045aca wallet: fix statement leaks. 7 years ago
Rusty Russell ae17c64c4a db: full location tags for callers, make it implicit. 7 years ago
Rusty Russell b036948219 db: track open sqlite3_stmt in DEVELOPER mode. 7 years ago
Rusty Russell aa71a822b3 wallet: free sql statement in wallet_onchaind_channels. 7 years ago
Rusty Russell be1f33b265 gossipd: have master explicitly tell us when peer is disconnected. 7 years ago