Skip to content

Feature/per layer count#628

Merged
futurechimp merged 4 commits intodevelopfrom
feature/per-layer-count
Jun 7, 2021
Merged

Feature/per layer count#628
futurechimp merged 4 commits intodevelopfrom
feature/per-layer-count

Conversation

@jstuczyn
Copy link
Copy Markdown
Contributor

@jstuczyn jstuczyn commented Jun 1, 2021

This pull request should make it easier and faster to initialise mixnode. Rather than pulling entire topology, parsing it and figuring out which layer has fewest nodes, now the contract will hold a single struct containing the layer distribution that can be easily queried by the nodes.

Note that mixnode run will still take the same time as the node has to query for the entire list in order to figure out if another node with the same announce address exists.

Closes #610

@jstuczyn jstuczyn added this to the 0.10.2 milestone Jun 1, 2021
@jstuczyn jstuczyn requested a review from futurechimp June 1, 2021 09:47
@futurechimp futurechimp merged commit 50f65aa into develop Jun 7, 2021
@futurechimp futurechimp deleted the feature/per-layer-count branch June 7, 2021 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Update mixnode init to not query for entire topology

2 participants