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

Move map cleaner functionality into netmap contract #446

Open
roman-khimov opened this issue Nov 19, 2024 · 0 comments
Open

Move map cleaner functionality into netmap contract #446

roman-khimov opened this issue Nov 19, 2024 · 0 comments
Labels
feature Completely new functionality I2 Regular impact netmap Netmap contract related issue S2 Regular significance U4 Nothing urgent
Milestone

Comments

@roman-khimov
Copy link
Member

Is your feature request related to a problem? Please describe.

I'm always frustrated when I realize that ten lines in netmap contract can save us hundreds lines in IR. We've got a code in IR that tracks node heartbeats and forcibly removes inactive nodes (via additional transactions).

Describe the solution you'd like

This can be done automatically by the netmap contract since it knows precisely when addpeer/updatepeer happen and filter things out on epoch tick.

Additional context

#298
nspcc-dev/neofs-node#1914

@roman-khimov roman-khimov added netmap Netmap contract related issue U4 Nothing urgent S2 Regular significance I2 Regular impact feature Completely new functionality labels Nov 19, 2024
@roman-khimov roman-khimov added this to the v0.21.0 milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Completely new functionality I2 Regular impact netmap Netmap contract related issue S2 Regular significance U4 Nothing urgent
Projects
None yet
Development

No branches or pull requests

1 participant