59 Commits (cfebe66762d9c0ee7e8de979e9a12ea8f29b7c68)

Author SHA1 Message Date
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
Rusty Russell db372211c0 channeld: save shared secret for incoming htlc when it comes in. 7 years ago
Rusty Russell fc4a7cf103 channeld: return htlc from channel_add_htlc and channel_fail_htlc. 7 years ago
Rusty Russell 02411b04e4 channel: remove awaiting_revoke_and_ack flag. 7 years ago
Rusty Russell 2329820460 channeld: make sure we wait for revoke_and_ack after rexmit of commitment_signed 7 years ago
Rusty Russell c3cb7f1c85 channeld: don't assert that we're expecting revoke_and_ack. 7 years ago
Rusty Russell 6fac3438dd channeld: track feerates. 7 years ago
Rusty Russell 8999e2293a channeld: implement approx_max_feerate. 7 years ago
Rusty Russell f45d962a14 channeld: implement and refine fee-related functions. 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell f1e4cad9d4 feerate: use u32 everywhere. 7 years ago
Rusty Russell 0a131c6389 channel: use flag to indicate we're awaiting revoke_and_ack. 7 years ago