Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferentially peer with nodes enforcing BIP148 to avoid partitioning risk #24

Merged
merged 2 commits into from
Jul 2, 2017

Conversation

luke-jr
Copy link
Collaborator

@luke-jr luke-jr commented Jun 19, 2017

No description provided.

@@ -275,6 +275,9 @@ enum ServiceFlags : uint64_t {
// collisions and other cases where nodes may be advertising a service they
// do not actually support. Other service bits should be allocated via the
// BIP process.

// NODE_BIP148 means the node enforces BIP 148's mandatory Segwit activation beginning August 1, 2017
NODE_BIP148 = (1 << 27),

Choose a reason for hiding this comment

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

Shouldn't this require an addition to the BIP, or at the very least, a mail to bitcoin-dev as stated in the comment above it? Is choosing a temporary service bit a good idea?

Copy link
Member

Choose a reason for hiding this comment

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

I agree. A mail should be sent.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@achow101
Copy link

utACK 3edeff84a129b875a3e2e0f5af1166acd039557b

@luke-jr luke-jr mentioned this pull request Jun 20, 2017
Github-Pull: bitcoin#10532
Rebased-From: cd74a23fcf9588199e196ab31bc64972400c2027
… risk

Github-Pull: bitcoin#10532
Rebased-From: e42a2f6beb61df3e3a201804cf3bcce6b00c88ba
@luke-jr
Copy link
Collaborator Author

luke-jr commented Jun 20, 2017

Rebased

@mkwia
Copy link
Member

mkwia commented Jun 29, 2017

utACK

1 similar comment
@quentinlesceller
Copy link

utACK

@hsjoberg
Copy link

hsjoberg commented Jul 1, 2017

Straightforward.
utACK

@mkwia mkwia merged commit 8c6816f into UASF:0.14-BIP148 Jul 2, 2017
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.

5 participants