cln/devtools
Rusty Russell 262e4c840f sphinx: use struct secret for shared secret.
Generally I prefer structures over u8, since the size is enforced at
runtime; and in several places we were doing conversions as the code
using Sphinx does treat struct secret as type of the secret.

Note that passing an array is the same as passing the address, so
changing from 'u8 secret[32]' to 'struct secret secret' means various
'secret' parameters change to '&secret'.  Technically, '&secret' also
would have worked before, since '&' is a noop on array, but that's
always seemed a bit weird.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-01-24 10:01:44 +10:30
..
.gitignore devtools/.gitignore: Ignore create-gossipstore checkchannels mkquery lightning-checkmessage 2019-10-29 12:18:27 -05:00
bolt11-cli.c common/bolt11: add secret support. 2019-11-24 23:33:17 +00:00
changelog.py tools: Fix changelog script to be case insensitive and support auth 2019-12-12 00:15:23 +01:00
checkchannels.c lightningd: change config-dir from plugin / wallet / hsm POV into <network> subdir 2019-11-23 22:42:34 +00:00
create-gossipstore.c JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids. 2019-09-06 14:19:14 +02:00
credit devtools: fix credit script. 2019-07-30 17:38:11 +08:00
decode-iolog devtools/decode-iolog: tool to decode hexstrings from io logging. 2019-05-31 18:36:38 +02:00
decodemsg.c common: rename decode_short_channel_ids.{c,h} to decode_array.{c.h} 2019-09-27 02:32:53 +00:00
dump-gossipstore.c gossipd: handle a "push" marker into the gossip_store. 2019-11-04 17:50:58 +01:00
gossipwith.c Init commit to be able to create a tor static service on the fly. 2019-12-03 23:35:18 +01:00
lightning-checkmessage.c devtools: lightning-lightning-checkmessage to validate zbase32 node sigs 2019-10-14 18:58:44 -05:00
Makefile common: use struct onionreply. 2020-01-23 16:17:42 +10:30
mkclose.c common: allow subdaemons to specify the node_id in status messages. 2019-11-18 04:50:22 +00:00
mkcommit.c devtools: fix example at top of mkcommit. 2019-12-12 22:15:48 +01:00
mkencoded.c common: rename decode_short_channel_ids.{c,h} to decode_array.{c.h} 2019-09-27 02:32:53 +00:00
mkfunding.c devtools: fixup chainparams crash (global now) 2019-11-21 01:17:33 +00:00
mkgossip.c devtools: add privkey+hash printing to mkcommit/mkgossip 2019-11-21 01:17:33 +00:00
mkquery.c devtools/mkquery: tool to generate gossip query messages. 2019-09-30 07:08:07 +00:00
onion.c sphinx: use struct secret for shared secret. 2020-01-24 10:01:44 +10:30
print_wire.c common: rename decode_short_channel_ids.{c,h} to decode_array.{c.h} 2019-09-27 02:32:53 +00:00
print_wire.h wire: handle bigsize/varint fields. 2019-07-27 21:19:57 -05:00
sql-rewrite.py Fix syntax error in sql-rewrite.py 2019-11-02 16:11:28 +01:00