nspcc-dev / nspcc-dev/neofs-node

Why Alphabet nodes vote for the validators on their startup?

Open
#2,394 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

config enhancement I3 neofs-ir S4 U4
Dominant language
Go
Stars
38
Forks
51
Avg merge
1d 20h
Merged PRs (30d)
38

Description

What I have read:

The question: why do we need it? What is the purpose of such voting? Why can't it be done on network start (e.g. in neofs-amd as a separate step)?
It makes the alphabet contracts to be the winners of the voting and get more GAS. But it really needs to be done once on network startup and once every time IR is changed. Initial voting can be done in neofs-adm (or any managing procedure), and all the following can be done externally or by the IR's control service.

Where am I wrong?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with cmd/neofs-adm/internal/modules/morph/initialize.go around lines 81-89, then read the referenced governance documentation, PRs, and issue. Compare the startup and recurring voting responsibilities; done means a maintainer-backed decision or design is recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain, go
Domain
blockchain, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.