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

new Wallet starts scanning at height 0 and not birthday #4807

Closed
SWvheerden opened this issue Oct 14, 2022 · 0 comments
Closed

new Wallet starts scanning at height 0 and not birthday #4807

SWvheerden opened this issue Oct 14, 2022 · 0 comments
Assignees
Labels
A-wallet Area - related to the wallet C-enhancement Category - New feature or request E-good_first_issue Experience Level - Good for newcomers

Comments

@SWvheerden
Copy link
Collaborator

When a new wallet is started the UTXO scanning service starts scanning at height 0, it should start scanning at the birthday.

DEBUG Scanning UTXO's from height = 0 to current tip_height = 22593 (starting header_hash: 967c4051737b2148edeed2746dba443376738bfb3c6452942c24623943e54cd2)"
@SWvheerden SWvheerden moved this to Bugs in Tari Esme Testnet Oct 14, 2022
@stringhandler stringhandler added C-enhancement Category - New feature or request E-good_first_issue Experience Level - Good for newcomers A-wallet Area - related to the wallet labels Oct 31, 2022
@stringhandler stringhandler added this to the Stagenet Freeze milestone Oct 31, 2022
@jorgeantonio21 jorgeantonio21 self-assigned this Nov 8, 2022
@sdbondi sdbondi moved this from Bugs to In Progress in Tari Esme Testnet Nov 14, 2022
stringhandler pushed a commit that referenced this issue Nov 16, 2022
) (#4911)

Description
---
When wallet starts new UTXO scanning service it should start at the birthday. Currently, it starts at height 0. This PR addresses this issue

Motivation and Context
---
Addresses #4807.

How Has This Been Tested?
---
@stringhandler stringhandler moved this from In Progress to In Review in Tari Esme Testnet Nov 17, 2022
Repository owner moved this from In Review to Done in Tari Esme Testnet Nov 17, 2022
stringhandler added a commit that referenced this issue Nov 17, 2022
* fix: updates for SafePassword API change (#4927)

Description
---
Minor updates for a corresponding [change](tari-project/tari_utilities#52) to the `SafePassword` API.

Motivation and Context
---
A pending change in `tari_utilities` to the handling of sensitive data includes a new implementation of `SafePassword`. One change removes derived traits for equality testing in favor of equality testing on references to the underlying passphrase data. This work makes the minor but necessary changes to address this API change.

How Has This Been Tested?
---
Tests pass after applying the linked `tari_utilities` PR. Note that tests will pass using the current `SafePassword` API as well, as the dependency change PR restricts the API.

* chore: remove unused methods (#4922)

Delete some unused methods

* v0.40.0

* fix: set wallet start scan height to birthday and not 0 (see issue #4807) (#4911)

Description
---
When wallet starts new UTXO scanning service it should start at the birthday. Currently, it starts at height 0. This PR addresses this issue

Motivation and Context
---
Addresses #4807.

How Has This Been Tested?
---

* chore: fix naming of ffi functions and comments  (#4930)

Description
---
Fixing the comments of one function in the wallet FFI.
Fixes the names of 4 functions in the wallet FFI.

* chore: fix depreciated timestamp clippy (#4929)

Description
---
Fixes depreciated timestamp warnings

* feat: implement validator node lmdb store

* feat: add stateless vn reg utxo validation rules and merkle root

* rename vn validaty period consensus constant

* use commitment instead of block hash so that lmdb uses canonical ordering

* DRY up vn_mmr calculation, add vn reg utxo validations

* fix clippies

* wallet: use amount from consensus constants for VN reg

* adds validator node signature to common types

This is to allow the validator node to use the same signature

* remove commitment from signature for now

* Remove unneeded validator node kernel feature

* ad epoch_length to grpc consensus constants

* fix epoch interval check and add test

* reduce target time for igor

* clippy

* change shard key hash label

Co-authored-by: Aaron Feickert <66188213+AaronFeickert@users.noreply.github.com>
Co-authored-by: stringhandler <mikethetike@tari.com>
Co-authored-by: jorgeantonio21 <matroid@outlook.com>
Co-authored-by: SW van Heerden <swvheerden@gmail.com>
sdbondi added a commit to sdbondi/tari that referenced this issue Nov 23, 2022
* development:
  fix: add hidden types and seed words to key manager (tari-project#4925)
  feat: timestamp validation (tari-project#4887)
  fix: deleted_txo_mmr_position_to_height_index  already exists error (tari-project#4924)
  feat: add default grpc for localnet (tari-project#4937)
  first commit (tari-project#4926)
  v0.40.2
  fix(dht): use limited ban period for invalid peer (tari-project#4933)
  feat: upgrade tari_crypto sign api (tari-project#4932)
  v0.40.1
  chore: fix depreciated timestamp clippy (tari-project#4929)
  chore: fix naming of ffi functions and comments  (tari-project#4930)
  fix: set wallet start scan height to birthday and not 0 (see issue tari-project#4807) (tari-project#4911)
  v0.40.0
  chore: remove unused methods (tari-project#4922)
  fix: updates for SafePassword API change (tari-project#4927)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-wallet Area - related to the wallet C-enhancement Category - New feature or request E-good_first_issue Experience Level - Good for newcomers
Projects
Archived in project
Development

No branches or pull requests

3 participants