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

feat: add network wire byte #6518

Merged

Conversation

hansieodendaal
Copy link
Contributor

@hansieodendaal hansieodendaal commented Sep 2, 2024

Description

Added network wire byte. This is now independent of the network as byte.

Note: This method in favour of #6502.

Motivation and Context

Base nodes and wallets maintained numerous connections from which they could not sync or obtain useful information. This caused base nodes to try and follow other base nodes that were on a higher proof of work but on a different genesis block, and caused wallets to query base nodes that supplied information from a different blockchain. This byte can now be changed every time the genesis block changes.

How Has This Been Tested?

Passed all unit tests.

What process can a PR reviewer use to test or verify this change?

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

Added network wire byte. This is now independent from the network as byte.
base_layer/p2p/src/lib.rs Outdated Show resolved Hide resolved
base_layer/p2p/src/lib.rs Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Sep 2, 2024

Test Results (CI)

    3 files    129 suites   38m 44s ⏱️
1 308 tests 1 308 ✅ 0 💤 0 ❌
3 910 runs  3 910 ✅ 0 💤 0 ❌

Results for commit 24b4055.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

Test Results (Integration tests)

 2 files  11 suites   29m 51s ⏱️
36 tests 35 ✅ 0 💤 1 ❌
37 runs  36 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 24b4055.

♻️ This comment has been updated with latest results.

@SWvheerden SWvheerden merged commit 78a4803 into tari-project:development Sep 2, 2024
16 of 17 checks passed
@hansieodendaal hansieodendaal deleted the ho_network_wire_byte branch September 3, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants