bolt-gen: use 'enum' instead of 'e:' prefix for enums

use 'enum ' in wirespec instead of 'e:' as an indicator
that a field is an enum.
This commit is contained in:
lisa neigut
2019-07-23 23:20:04 -05:00
committed by Rusty Russell
parent b6d4c372bb
commit 46cbca97ea
7 changed files with 15 additions and 15 deletions

View File

@@ -22,7 +22,7 @@ msgdata,onchain_init,remote_scriptpubkey_len,u16,
msgdata,onchain_init,remote_scriptpubkey,u8,remote_scriptpubkey_len
msgdata,onchain_init,ourwallet_pubkey,pubkey,
# We need these two for commit number obscurer
msgdata,onchain_init,funder,e:side,
msgdata,onchain_init,funder,enum side,
msgdata,onchain_init,local_basepoints,basepoints,
msgdata,onchain_init,remote_basepoints,basepoints,
msgdata,onchain_init,tx,bitcoin_tx,
@@ -49,7 +49,7 @@ msgtype,onchain_init_reply,5101
# onchaind->master: Send out a tx.
msgtype,onchain_broadcast_tx,5003
msgdata,onchain_broadcast_tx,tx,bitcoin_tx,
msgdata,onchain_broadcast_tx,type,e:wallet_tx_type,
msgdata,onchain_broadcast_tx,type,enum wallet_tx_type,
# master->onchaind: Notifier that an output has been spent by input_num of tx.
msgtype,onchain_spent,5004
@@ -106,4 +106,4 @@ msgdata,onchain_dev_memleak_reply,leak,bool,
# transactions.
msgtype,onchain_transaction_annotate,5034
msgdata,onchain_transaction_annotate,txid,bitcoin_txid,
msgdata,onchain_transaction_annotate,type,e:wallet_tx_type,
msgdata,onchain_transaction_annotate,type,enum wallet_tx_type,
1 #include <common/derive_basepoints.h>
22 msgdata,onchain_init,ourwallet_pubkey,pubkey,
23 # We need these two for commit number obscurer
24 msgdata,onchain_init,funder,e:side, msgdata,onchain_init,funder,enum side,
25 msgdata,onchain_init,local_basepoints,basepoints,
26 msgdata,onchain_init,remote_basepoints,basepoints,
27 msgdata,onchain_init,tx,bitcoin_tx,
28 msgdata,onchain_init,tx_blockheight,u32,
49 # master->onchaind: Notifier that an output has been spent by input_num of tx.
50 msgtype,onchain_spent,5004
51 msgdata,onchain_spent,tx,bitcoin_tx,
52 msgdata,onchain_spent,input_num,u32,
53 msgdata,onchain_spent,blockheight,u32,
54 # master->onchaind: We will receive more than one of these, as depth changes.
55 msgtype,onchain_depth,5005
106
107
108
109