core-lightning/channeld
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
..
test common: use struct onionreply. 2020-01-23 16:17:42 +10:30
channel_wire.csv channeld: use wirestring for failure strings. 2020-01-23 16:17:42 +10:30
channeld.c sphinx: use struct secret for shared secret. 2020-01-24 10:01:44 +10:30
channeld_htlc.h common: use struct onionreply. 2020-01-23 16:17:42 +10:30
commit_tx.c channeld: remove chainparams local parameter. 2019-11-20 20:41:53 +01:00
commit_tx.h channeld: remove chainparams local parameter. 2019-11-20 20:41:53 +01:00
full_channel.c common: use struct onionreply. 2020-01-23 16:17:42 +10:30
full_channel.h lightningd: save the fee_states into the database. 2019-12-12 22:15:48 +01:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
Makefile common: use struct onionreply. 2020-01-23 16:17:42 +10:30