splice: Add start_batch and an internal wire type
We add `start_batch` to match t-bast’s splicing spec and we add a new internal wire type `WIRE_PROTOCOL_BATCH_ELEMENT` using the type number 0 Changelog-Added: support for `start_batch`
This commit is contained in:
committed by
Rusty Russell
parent
f265a956c7
commit
07f4bc39b1
@@ -1799,6 +1799,8 @@ const void *gossmap_stream_next(const tal_t *ctx,
|
||||
case WIRE_UPDATE_FULFILL_HTLC:
|
||||
case WIRE_UPDATE_FAIL_HTLC:
|
||||
case WIRE_UPDATE_FAIL_MALFORMED_HTLC:
|
||||
case WIRE_PROTOCOL_BATCH_ELEMENT:
|
||||
case WIRE_START_BATCH:
|
||||
case WIRE_COMMITMENT_SIGNED:
|
||||
case WIRE_REVOKE_AND_ACK:
|
||||
case WIRE_UPDATE_FEE:
|
||||
|
||||
@@ -167,6 +167,8 @@ static u8 *read_next_msg(const tal_t *ctx,
|
||||
case WIRE_UPDATE_FULFILL_HTLC:
|
||||
case WIRE_UPDATE_FAIL_HTLC:
|
||||
case WIRE_UPDATE_FAIL_MALFORMED_HTLC:
|
||||
case WIRE_PROTOCOL_BATCH_ELEMENT:
|
||||
case WIRE_START_BATCH:
|
||||
case WIRE_COMMITMENT_SIGNED:
|
||||
case WIRE_REVOKE_AND_ACK:
|
||||
case WIRE_UPDATE_FEE:
|
||||
@@ -821,6 +823,8 @@ char *process_interactivetx_updates(const tal_t *ctx,
|
||||
case WIRE_UPDATE_FULFILL_HTLC:
|
||||
case WIRE_UPDATE_FAIL_HTLC:
|
||||
case WIRE_UPDATE_FAIL_MALFORMED_HTLC:
|
||||
case WIRE_PROTOCOL_BATCH_ELEMENT:
|
||||
case WIRE_START_BATCH:
|
||||
case WIRE_COMMITMENT_SIGNED:
|
||||
case WIRE_REVOKE_AND_ACK:
|
||||
case WIRE_UPDATE_FEE:
|
||||
|
||||
Reference in New Issue
Block a user