Skip to content

smite-ir: implement ChannelUpdateGenerator#114

Draft
devvaansh wants to merge 2 commits into
morehouse:masterfrom
devvaansh:channel-update-generator
Draft

smite-ir: implement ChannelUpdateGenerator#114
devvaansh wants to merge 2 commits into
morehouse:masterfrom
devvaansh:channel-update-generator

Conversation

@devvaansh

@devvaansh devvaansh commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Generates programs that build and send correctly-signed channel_update messages to the target.

The signing key, chain hash, and short channel id are drawn via pick_variable so they can be shared with other gossip messages (e.g. a preceding channel_announcement) when generators are composed in the future.

message_flags and channel_flags are exposed as plain U8 variables so that OperationParamMutator can flip individual bits, including must_be_one, direction, and disable.

Note: fee_base_msat and fee_proportional_millionths are currently typed as Amount until the ForwardingFee variable type lands in #99.

Depends on #110 (BuildChannelUpdate operation) and #99 (ForwardingFee variable type).

Ref: #71

@devvaansh devvaansh force-pushed the channel-update-generator branch 4 times, most recently from 7013579 to 82d9aa6 Compare June 7, 2026 01:59
@devvaansh devvaansh force-pushed the channel-update-generator branch from 82d9aa6 to e1af2c0 Compare June 7, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant