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!: new tari address scheme #6353

Merged
merged 7 commits into from
May 30, 2024

Conversation

SWvheerden
Copy link
Collaborator

Description

Changes the tari address scheme to support view keys and spend keys.
Makes network and features human-readable

Motivation and Context

This allows Tari to support stealth one-sided transactions via Hardware devices.
Makes features and network human readable.

How Has This Been Tested?

@SWvheerden SWvheerden requested a review from a team as a code owner May 23, 2024 16:17
Copy link

github-actions bot commented May 23, 2024

Test Results (Integration tests)

 2 files  11 suites   23m 0s ⏱️
34 tests 31 ✅ 0 💤 3 ❌
39 runs  32 ✅ 0 💤 7 ❌

For more details on these failures, see this check.

Results for commit 2872f71.

♻️ 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 May 23, 2024
Copy link

github-actions bot commented May 23, 2024

Test Results (CI)

    3 files    120 suites   42m 29s ⏱️
1 294 tests 1 293 ✅ 0 💤 1 ❌
3 874 runs  3 873 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 2872f71.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@brianp brianp left a comment

Choose a reason for hiding this comment

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

Does this change also make it so in the case of ledger wallets, ledger will now be required to spend coinbases? Because that's a win if I'm reading it correctly.

@ghpbot-tari-project ghpbot-tari-project added the CR-too_long Changes Requested - Your PR is too long label May 24, 2024
@SWvheerden SWvheerden changed the title [wip]feat!: New tari address scheme feat!: New tari address scheme May 24, 2024
@SWvheerden SWvheerden changed the title feat!: New tari address scheme feat!: new tari address scheme May 24, 2024
Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

Hi there. Looking good. I have comments about applicability of the address types.

base_layer/common_types/src/tari_address/dual_address.rs Outdated Show resolved Hide resolved
base_layer/wallet/src/wallet.rs Outdated Show resolved Hide resolved
base_layer/wallet/src/wallet.rs Outdated Show resolved Hide resolved
base_layer/wallet/src/wallet.rs Show resolved Hide resolved
base_layer/wallet/src/wallet.rs Show resolved Hide resolved
SWvheerden added a commit that referenced this pull request May 28, 2024
Description
---
split message to have dedicated to and from fields

Motivation and Context
---
This is needed for #6353 
When a chat client receives a message, it needs to know the complete
address of the receiver, not just a part of it. This allows the user to
get the complete address by saving what the sender said their address is

---------

Co-authored-by: Hansie Odendaal <39146854+hansieodendaal@users.noreply.github.com>
SWvheerden and others added 5 commits May 30, 2024 11:55
Co-authored-by: Hansie Odendaal <39146854+hansieodendaal@users.noreply.github.com>
Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

utACK

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label May 30, 2024
@SWvheerden SWvheerden merged commit 4c0ce46 into tari-project:development May 30, 2024
13 of 16 checks passed
@SWvheerden SWvheerden deleted the sw_tari_address branch May 30, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR-too_long Changes Requested - Your PR is too long P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants