mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
df: rename 'funder' to 'opener'
Previously we've used the term 'funder' to refer to the peer paying the fees for a transaction; v2 of openchannel will make this no longer true. Instead we rename this to 'opener', or the peer sending the 'open_channel' message, since this will be universally true in a dual-funding world.
This commit is contained in:
committed by
Rusty Russell
parent
964a3583c4
commit
0e20e3c5e7
@@ -938,7 +938,7 @@ int main(void)
|
||||
tx = newtx;
|
||||
} while (tx->wtx->num_outputs > 1);
|
||||
|
||||
/* Now make sure we cover case where funder can't afford the fee;
|
||||
/* Now make sure we cover case where opener can't afford the fee;
|
||||
* its output cannot go negative! */
|
||||
for (;;) {
|
||||
struct amount_sat base_fee
|
||||
@@ -959,7 +959,7 @@ int main(void)
|
||||
assert(feerate_per_kw == 9651936);
|
||||
|
||||
printf("\n"
|
||||
"name: commitment tx with fee greater than funder amount\n"
|
||||
"name: commitment tx with fee greater than opener amount\n"
|
||||
"to_local_msat: %"PRIu64"\n"
|
||||
"to_remote_msat: %"PRIu64"\n"
|
||||
"local_feerate_per_kw: %u\n",
|
||||
|
||||
Reference in New Issue
Block a user