Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

DKG Evidence#205

Merged
jinmannwong merged 12 commits into
fetchai:masterfrom
jinmannwong:improvements/dkg_evidence
Oct 14, 2020
Merged

DKG Evidence#205
jinmannwong merged 12 commits into
fetchai:masterfrom
jinmannwong:improvements/dkg_evidence

Conversation

@jinmannwong
Copy link
Copy Markdown
Contributor

@jinmannwong jinmannwong commented Oct 13, 2020

  • Create DKG evidence type
  • DKG submits evidence on failing due to insufficient encryption keys or qual size

Note: collection of complaint answers has changed and node's now have to wait for their own message to appear in a block before they include it. This is to ensure that everyone generates evidence at the same height.

Comment thread beacon/beacon_setup_service.cpp Outdated
return true;
}

bool BeaconSetupService::InQual(Identifier index) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What type is Identifier here? It's being copied into the function, I also am not sure of what the reason is for constructing set from the set that comes back from beacon->qual(). BaseDkg already has an InQual method?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's the validator index so uint32 which is why I didn't bother passing it by reference. Thanks, I didn't realise BaseDkg has a InQual method. I will change it so that it uses that.

@jinmannwong jinmannwong merged commit 38f8096 into fetchai:master Oct 14, 2020
@jinmannwong jinmannwong deleted the improvements/dkg_evidence branch October 14, 2020 09:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants