We need the former for marshalling, the latter for build_utxos and funding_tx. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Except for the trivial case of u8 arrays, have the generator create the loop code for the array iteration. This removes some trivial helpers, and avoids us having to write more. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>