rgb-cln/test-cli
Rusty Russell 3260fb2ed1 protocol: add commitment fee logic.
Both sides elect a commitment fee, and the lowest is chosen.  That means
you can't game the other side (but if you offer too low, then can error
out of course).

Fees are split 50-50 if possible: originally the whole fee has to be
paid by the (single) funder.  Neither side can withdraw funds which
would make them unable to pay fees.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2015-07-29 16:16:24 +09:30
..
scripts protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
HOWTO-USE.md Remove signature leaking. 2015-07-03 14:00:54 +09:30
check-commit-sig.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
close-channel.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
create-anchor-tx.c protocol: switch to single-funder anchor model. 2015-07-29 16:14:28 +09:30
create-close-tx.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
create-commit-spend-tx.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
create-commit-tx.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
create-steal-tx.c protocol: switch to single-funder anchor model. 2015-07-29 16:14:28 +09:30
gather_updates.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
gather_updates.h protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
get-anchor-depth.c protocol: switch to single-funder anchor model. 2015-07-29 16:14:28 +09:30
leak-anchor-sigs.c pkt: add pkt_totlen() helper. 2015-06-12 13:06:33 +09:30
open-channel.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
open-commit-sig.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
txid-of.c test-cli/txid-of: simple helper to get txid. 2015-07-24 16:00:10 +09:30
update-channel-accept.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
update-channel-complete.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
update-channel-signature.c protocol: add commitment fee logic. 2015-07-29 16:16:24 +09:30
update-channel.c protocol: switch to single-funder anchor model. 2015-07-29 16:14:28 +09:30