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: merge feature-dan into development #4965

Merged
merged 10 commits into from
Nov 28, 2022

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Nov 28, 2022

Description

Merges feature-dan branch into development
Includes updates to validator node registration (#4928)

Motivation and Context

Includes RFC-0313

How Has This Been Tested?

Existing tests pass

sdbondi and others added 9 commits November 17, 2022 14:50
…oject#4928)

* fix: updates for SafePassword API change (tari-project#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 (tari-project#4922)

Delete some unused methods

* v0.40.0

* fix: set wallet start scan height to birthday and not 0 (see issue tari-project#4807) (tari-project#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 tari-project#4807.

How Has This Been Tested?
---

* chore: fix naming of ffi functions and comments  (tari-project#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 (tari-project#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>
* 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)
* development:
  fix: config cleanup (tari-project#4938)
  fix(ci): update GHA release process (tari-project#4945)
Description
---
Sorts VN set by shard id before returning it

Motivation and Context
---
Ref tari-project/rfcs#73

How Has This Been Tested?
---
Tests updated
* feature-dan:
  fix(core)!: sort validate set by shard key (tari-project#4952)
  update validator signature
  feat!: implement validator node registration as per RFC-0313 (tari-project#4928)
stringhandler
stringhandler previously approved these changes Nov 28, 2022
@stringhandler stringhandler merged commit de54416 into tari-project:development Nov 28, 2022
@sdbondi sdbondi deleted the merge-feature-dan branch November 28, 2022 15:50
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