mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Use node_id everywhere for nodes.
I tried to just do gossipd, but it was uncontainable, so this ended up being a complete sweep. We didn't get much space saving in gossipd, even though we should save 24 bytes per node. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
b4455d517c
commit
a2fa699e0e
@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
|
||||
printf("expiry: %"PRIu64" (%s)\n",
|
||||
b11->expiry, fmt_time(ctx, b11->timestamp + b11->expiry));
|
||||
printf("payee: %s\n",
|
||||
type_to_string(ctx, struct pubkey, &b11->receiver_id));
|
||||
type_to_string(ctx, struct node_id, &b11->receiver_id));
|
||||
printf("payment_hash: %s\n",
|
||||
tal_hexstr(ctx, &b11->payment_hash, sizeof(b11->payment_hash)));
|
||||
printf("min_final_cltv_expiry: %u\n", b11->min_final_cltv_expiry);
|
||||
@@ -149,7 +149,7 @@ int main(int argc, char *argv[])
|
||||
printf("route: (node/chanid/fee/expirydelta) ");
|
||||
for (size_t n = 0; n < tal_count(b11->routes[i]); n++) {
|
||||
printf(" %s/%s/%u/%u/%u",
|
||||
type_to_string(ctx, struct pubkey,
|
||||
type_to_string(ctx, struct node_id,
|
||||
&b11->routes[i][n].pubkey),
|
||||
type_to_string(ctx, struct short_channel_id,
|
||||
&b11->routes[i][n].short_channel_id),
|
||||
|
||||
Reference in New Issue
Block a user