tools/generate-wire.py: wirestring type for handing strings.

A convenient alias for char *, though we don't allow control characters
so our logs can't be fooled with embedded \n.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-02-08 11:55:12 +10:30
committed by Christian Decker
parent 9a6c36a568
commit b7db06b577
4 changed files with 32 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ varlen_structs = [
'failed_htlc',
'utxo',
'bitcoin_tx',
'wirestring',
]
class FieldType(object):