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

refactor(comms/dht)!: remove node id destination (ref #4139) #4570

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Aug 30, 2022

Description

  • removes NodeId destination variant from DHT protocol
  • use public key destination for join message
  • use public key destination for wallet-to-wallet transaction messages

Motivation and Context

Ref #4139 - because any node id can be used the recipient is not necessarily bound in the signature.
NodeId destination was not particularly useful and not required for messaging. It was used for DHT join messages and wallet-to-wallet transaction messages.

How Has This Been Tested?

Existing tests updated and pass
Memorynet passes
Cucumber tests pass
Manually, sending a transaction via SAF

@sdbondi sdbondi changed the title refactor(comms/dht): remove node id destination (ref #4139) refactor(comms/dht)!: remove node id destination (ref #4139) Aug 30, 2022
@stringhandler stringhandler merged commit 58749be into tari-project:development Aug 30, 2022
@sdbondi sdbondi deleted the dht-remove-node-id-destination branch August 30, 2022 08:32
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