Skip to content

Conversation

@plebhash
Copy link
Member

based on #157

this PR is modifying the Sv2 Spec so that Group Channels can also contain Extended Channels

most changes should be (relatively) backward compatible, with one exception:

OpenExtendedMiningChannel.Success now has a new field group_channel_id


Prevhash is distributed whenever a new block is detected in the network by an upstream node or when a new downstream opens a channel.

This message MAY be shared by all downstream nodes (sent only once to each channel group).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This message MAY be shared by all downstream nodes (sent only once to each group channel).

Group Channel ID namespace is the same as Standard Channel ID namespace on a particular connection.
Whenever a Standard or Extended Channel is created, it is always put into some Group Channel identified by its `group_channel_id`.
Group Channel ID namespace is the same as Standard and Extended Channel ID namespace on a particular connection.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add some notes about the extranonce constraints when grouping extended channels?

I'm referring to what you pointed out in this comment: #157 (reply in thread)

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.

2 participants