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: add validator node registration #4507

Merged

Conversation

Cifko
Copy link
Contributor

@Cifko Cifko commented Aug 19, 2022

No description provided.

Copy link
Collaborator

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

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

A good start, we should also add a block validation rule that checks that the merkle root is correct.
We should also add a signature to the output features using the ValidatorNode Public key to prove that it is the actual VN creating the output and not someone else

@Cifko Cifko force-pushed the validator-node-registration branch 4 times, most recently from d911ab8 to e7bd719 Compare August 30, 2022 15:18
compute validator node merkle root

compute proper shard_key

add shard key -> public key mapping

add VN mmr validation, use mmr, change get vn grpc

apply timeout from consensus_constants

add validator node signature
@Cifko Cifko force-pushed the validator-node-registration branch from e7bd719 to 5f6d21f Compare August 30, 2022 15:29
@Cifko Cifko marked this pull request as ready for review September 2, 2022 08:44
@Cifko Cifko changed the title WIP feature: add validator node registration feature: add validator node registration Sep 2, 2022
@Cifko Cifko changed the title feature: add validator node registration feat: add validator node registration Sep 6, 2022
@stringhandler stringhandler merged commit 96a30c1 into tari-project:feature-dan Sep 6, 2022
sdbondi added a commit to sdbondi/tari that referenced this pull request Nov 14, 2022
* feature-dan: (21 commits)
  fix(core)!: remove unused get_committees call from base node (tari-project#4880)
  fix: correct value for validator_node_timeout consensus constant in localnet (tari-project#4879)
  feat: add block height to input request to get network consensus constants (tari-project#4856)
  fix: remove unused config for validator node (tari-project#4849)
  feat: add missing fields to grpc consensus constants interface (tari-project#4845)
  chore: merge development into feature-dan (tari-project#4815)
  refactor: split tari_base_node and tari_console_wallet into a lib component (tari-project#4818)
  fix(core)!: adds utxo and block info to get_template_registrations request (tari-project#4789)
  fix: computation of vn mmr (tari-project#4772)
  fix(wallet/grpc): add transaction id and template_address to template_reg response (tari-project#4788)
  fix: fix get shard key (tari-project#4744)
  feat(core): store and fetch templates from lmdb (tari-project#4726)
  fix: fix validator node registration logic (tari-project#4718)
  feat(base_node_grpc_client): add getActiveValidatorNodes method (tari-project#4719)
  fix after merge
  fix(core): bring validator node MR inline with other merkle root code (tari-project#4692)
  feat(core): add validator registration sidechain feature (tari-project#4690)
  fix merge issues
  feat: add grpc to get shard key for public key (tari-project#4654)
  feat: add validator node registration (tari-project#4507)
  ...
@Cifko Cifko deleted the validator-node-registration branch April 18, 2023 08:29
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.

None yet

2 participants