When we have only a single member in a TLV (e.g. an optional u64), wrapping it in a struct is awkward. This changes it to directly access those fields. This is not only more elegant (60 fewer lines), it would also be more cache friendly. That's right: cache hot singles! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| test | ||
| connect_gossip_wire.csv | ||
| connect_wire.csv | ||
| connectd.c | ||
| connectd.h | ||
| handshake.c | ||
| handshake.h | ||
| Makefile | ||
| netaddress.c | ||
| netaddress.h | ||
| peer_exchange_initmsg.c | ||
| peer_exchange_initmsg.h | ||
| tor_autoservice.c | ||
| tor_autoservice.h | ||
| tor.c | ||
| tor.h | ||