bolt: update to BOLT spec changes (extract format + type specifications)

updates the bolt version to 6639cef095a2ecc7b8f0c48c6e7f2f906fbfbc58.

this requires us to use the new bolt parser at generate-bolt.py
and updates to all of the type specifications (ie. from u8 -> byte)
This commit is contained in:
lisa neigut
2019-07-15 18:20:37 -05:00
committed by Rusty Russell
parent 6c240ab589
commit 5c07afac7d
16 changed files with 315 additions and 288 deletions

View File

@@ -464,11 +464,11 @@ u8 *create_onionreply(const tal_t *ctx, const struct secret *shared_secret,
* the following fields:
*
* 1. data:
* * [`32`:`hmac`]
* * [`2`:`failure_len`]
* * [`failure_len`:`failuremsg`]
* * [`2`:`pad_len`]
* * [`pad_len`:`pad`]
* * [`32*byte`:`hmac`]
* * [`u16`:`failure_len`]
* * [`failure_len*byte`:`failuremsg`]
* * [`u16`:`pad_len`]
* * [`pad_len*byte`:`pad`]
*/
towire_u16(&payload, msglen);
towire(&payload, failure_msg, msglen);