common/channel_id: move channel_id into its own file.

The definition was in wire/wire.h, and helper functions in fromwire.c!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-05-15 19:59:53 +09:30
committed by Christian Decker
parent f02c464c2e
commit fda5f0b427
42 changed files with 211 additions and 41 deletions

View File

@@ -2,6 +2,7 @@
#include <bitcoin/short_channel_id.h>
#include <ccan/ccan/str/hex/hex.h>
#include <common/amount.h>
#include <common/channel_id.h>
#include <common/json_helpers.h>
#include <common/node_id.h>
#include <errno.h>