nspcc-dev / neofs-node

NeoFS is a decentralized distributed object storage integrated with the Neo blockchain
https://fs.neo.org
GNU General Public License v3.0
32 stars 38 forks source link

Extend neofs-adm morph capabilities #1769

Open fyrchik opened 2 years ago

fyrchik commented 2 years ago

It could be useful to fetch netmap directly from the contract. Maybe there are other things we could fetch.

cthulhu-rider commented 2 years ago

We can start by getting the number of nodes in the network map at the specified epoch.

It may also be useful to check the presence of a node in the network map using a public key.

What problems does this feature solve? The user normally communicates only with storage nodes, and does not affect the control layer in the form of Sidechain. Nodes simply interpret some data from the Sidechain. In some cases the data seems unexpected, and we want to distinguish incorrect data from incorrect interpretation. Such commands help you reach the goal.