core-lightning/wire
Christian Decker 05e951d748 wire: Correct the short channel id serialization to use 3+3+2
Fixes the `short_channel_id` being serialized as 4 bytes block height,
3 bytes transaction index and 1 byte output number, to use 3+3+2 as
the spec says.

The reordering in the unit test structs is mainly to be able to still
use `eq_upto` for tests.
2017-05-20 20:01:34 +09:30
..
test wire: Correct the short channel id serialization to use 3+3+2 2017-05-20 20:01:34 +09:30
fromwire.c wire: Correct the short channel id serialization to use 3+3+2 2017-05-20 20:01:34 +09:30
gen_onion_wire_csv Update to latest BOLT (hyphens changed to underscores). 2017-05-12 12:59:09 +02:00
gen_peer_wire_csv Update to latest BOLT (hyphens changed to underscores). 2017-05-12 12:59:09 +02:00
Makefile Update wire from spec ed107e4ef019f33a88aa5567adca7fbb944e93af 2017-04-01 23:59:46 +10:30
onion_defs.h wire: split onion messages from peer wire messages. 2017-01-06 13:40:35 +10:30
peer_wire.c wire: Correct the short channel id serialization to use 3+3+2 2017-05-20 20:01:34 +09:30
peer_wire.h wire: Correct the short channel id serialization to use 3+3+2 2017-05-20 20:01:34 +09:30
towire.c wire: Correct the short channel id serialization to use 3+3+2 2017-05-20 20:01:34 +09:30
wire_io.c fix: Header include order 2017-05-19 14:06:44 +02:00
wire_io.h wire/wire_io: support take() arg to io_write_wire(). 2017-03-10 21:45:55 +10:30
wire_sync.c wire/wire_sync: helper routines for direct read/write of messages. 2017-01-10 15:21:20 +10:30
wire_sync.h wire/wire_sync: helper routines for direct read/write of messages. 2017-01-10 15:21:20 +10:30
wire.h wire: Correct the short channel id serialization to use 3+3+2 2017-05-20 20:01:34 +09:30