irc: Added alias handling for node announcements

Aliases seem to be popular among users wanting to show off their node,
so let's add them :-)
This commit is contained in:
Christian Decker
2016-10-28 16:40:27 +02:00
parent 94fd82dc81
commit f9a4af62e3
3 changed files with 13 additions and 3 deletions

View File

@@ -37,6 +37,9 @@ struct node {
/* Where that came from. */
struct node_connection *prev;
} bfg[ROUTING_MAX_HOPS+1];
/* UTF-8 encoded alias as tal_arr, not zero terminated */
u8 *alias;
};
struct lightningd_state;