We use libsecp256k1 to convert signatures to DER; we were creating a temporary one, but we really should be handing the one we have in dstate through. This does that, everywhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
No meat; it doesn't encrypt as yet, but the API to wrap/unwrap routes is here. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>