70 Commits (4e0c3f098c8df534f24c7c3fd6219d09d00984e2)

Author SHA1 Message Date
Rusty Russell ee3480e56b derive_keyset: don't rotate key for remote iff option_static_remotekey. 5 years ago
Rusty Russell 87f0ee6351 channeld: set option_static_remotekey when negotiated. 5 years ago
darosior 0b0ad4c22d transition from status_trace() to status_debug 5 years ago
darosior 0504a51211 channeld/full_channel: use louder warning when peer is about to be failed 5 years ago
Rusty Russell aca2e4f722 common/memleak: add dynamic hooks for assisting memleak. 5 years ago
Rusty Russell 2600a6ed2e channeld: get current block height when an HTLC fails. 5 years ago
Rene Pickhardt dfac1d15a2 included feedback by Rusty to check the max_concurrent_htlc value for both peers of a channel 5 years ago
Christian Decker 9288a7906b tx: Add chainparams to struct bitcoin_tx as context 5 years ago
Rusty Russell 54ce4ed1cf pytest: fail tests if we get any LOG_BROKEN level messages, unless flagged. 5 years ago
Rusty Russell 1275928fa2 channeld: don't add HTLCs if that would drive us negative. 5 years ago
Michael Schmoock 9e98d01d02 feat: pass htlc amount exceeded to exception 5 years ago
trueptolemy 92b40cb68a fix:Add infor about how many blocks needed until funding is confirmed 6 years ago
Rusty Russell 6765423393 Documentation: Update to BOLT v1.0. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 0d30b89043 channeld: use amount_msat for struct htlc amount. 6 years ago
Rusty Russell 3412c5d392 commit_tx & htlc_tx: use amount_sat/amount_msat. 6 years ago
Rusty Russell bb00deeea4 channeld: use amount_sat/amount_msat. 6 years ago
Rusty Russell 93dcd5fed7 channeld: avoid overflow in reloading of channel from db. 6 years ago
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 85b8b25749 bitcoin/chainparams: use amount_sat / amount_msat 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Rusty Russell 72b68845ca commit_tx: make fee msat vs sat explicit. 6 years ago
Rusty Russell a8e0e1709a channeld: fix fee calculation. 6 years ago
Rusty Russell 22858f35f9 struct channel: keep a copy of configs, not just pointers. 6 years ago
Rusty Russell b5a96765d8 struct channel: remove most helpers. 6 years ago
practicalswift a46d712154 Avoid applying the unary minus operator to an unsigned value 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Christian Decker 0128bc7362 channeld: Use the chainparams to check msatoshi and funding_satoshi 6 years ago
Christian Decker 2402c524cc channeld: Keep track of the chainparams for the chain we are using 6 years ago
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell 1119dd5577 channeld: always receive and maintain short_channel_id of failing channel. 6 years ago
Rusty Russell dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 6 years ago
Rusty Russell 68a8eeea21 htlc_wire: rename malformed to failcode in struct failed_htlc. 6 years ago
Rusty Russell 5a184c24e8 channeld: add extra check to channel_force_htlcs. 6 years ago
Rusty Russell efee948d3a channeld: handle HTLCs failed by failcode uniformly. 6 years ago
Rusty Russell 8155bfcf18 channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell b40b6240ce channeld: fix up BOLT references. 6 years ago
nicolas.dorier 620e199cb3 Make dump_htlcs SUPERVERBOSE 6 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
Rusty Russell 8640a5c329 channeld: keep billboard uptodate. 7 years ago
Rusty Russell e17b0ebcb4 channeld: map htlc add/remove errors to names. 7 years ago
Rusty Russell fcffbd0f20 channeld: rename new_channel to new_full_channel. 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
practicalswift 307e8c0180 Avoid NULL pointer dereference when new_initial_channel(...) fails 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago