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

fix!: peer sync #657

Merged
merged 1 commit into from
Aug 15, 2023
Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Aug 14, 2023

Description

Fix peer sync and announce by correctly handling peer signature claims

Motivation and Context

Peer sync and announce worked only when a single address is used, when multiple addresses are added (this happens whenever an address is changed), the identity signature validation fails.

How Has This Been Tested?

100 validator nodes which local address changes on each startup, able to peer sync and receiving valid announces

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

Change the validator node address and check that the network can receive the updated address

Breaking Changes

  • None
  • Requires data directory to be deleted
  • Other - peer sync and announce messages have breaking changes

@github-actions
Copy link

github-actions bot commented Aug 14, 2023

Test Results (CI)

127 tests  ±0   127 ✔️ ±0   1h 15m 58s ⏱️ - 18m 33s
  42 suites ±0       0 💤 ±0 
    2 files   ±0       0 ±0 

Results for commit 8d32b1c. ± Comparison against base commit 507c726.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@Cifko Cifko left a comment

Choose a reason for hiding this comment

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

tested, 5 VNs, stop and start with new address, process TX, works
nice

@stringhandler stringhandler added this pull request to the merge queue Aug 15, 2023
Merged via the queue into tari-project:development with commit d9b11b4 Aug 15, 2023
9 checks passed
sdbondi added a commit to sdbondi/tari-dan that referenced this pull request Aug 16, 2023
* development:
  fix!: peer sync (tari-project#657)
  fix(vn/ui): committee bucket information (tari-project#656)
  fix(engine): return engine error from instruction invocation  (tari-project#655)
  fix(walletd): fix race condition causing transaction to be marked as invalid (tari-project#654)
  ci: double test timeout
  fix(vn-webui): fix incorrect jsonrpc address (tari-project#645)
  fix: add feeclaim_xxx address parsing (tari-project#648)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants