nspcc-dev / neofs-api

NeoFS API documentation and proto files declaration
Apache License 2.0
10 stars 15 forks source link

API inconsistency in netmap #257

Open roman-khimov opened 1 year ago

roman-khimov commented 1 year ago

One can get network settings or node info via the netmap service, but there is no way to change any of them. API tries to hide blockchain details, but fails to do that because changes require good old Neo transactions via JSON-RPC connections.

cthulhu-rider commented 4 months ago

also https://github.com/nspcc-dev/neofs-api/blob/dcead71f810afa7043e48476fdf3b70025fce751/netmap/service.proto#L37-L43 allows to request only the current network map, while https://pkg.go.dev/github.com/nspcc-dev/neofs-contract@v0.19.1/netmap#SnapshotByEpoch is time-based