WIP: FrostFS is a decentralized distributed object storage integrated with the NEO Blockchain.
Find a file
Leonard Lyubich f64ae55806 [#1681] ir/netmap: Require MAINTENANCE mode to be allowed by network
There is a need to prevent limitless abuse of MAINTENANCE status of the
storage nodes. To do this, configuration of the NeoFS network is going
to be extended with the flag which allows the state. Until this is done,
it makes sense to prepare a site for this in the code.

Define `state.NetworkSettings` interface as an abstraction of global
network configuration within the `state` package. Make
`NetMapCandidateValidator` to depend on `NetworkSettings` and provide
corresponding field setter. Change `VerifyAndUpdate` method's behavior
to return an error for candidates with MAINTENANCE state if this state
is disallowed by the network configuration. Provide `NetworkSettings`
from the wrapper over Netmap contract's client on Inner Ring application
side. The provider is implemented to statically disallow MAINTENANCE
mode in order to save previous behavior.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-05 11:41:49 +03:00
.docker [#1250] go.mod: Bump supported go version to 1.17 2022-04-07 17:23:28 +03:00
.github [#1808] .github: Add changelog workflow 2022-09-23 10:20:25 +04:00
cmd [#1797] node/control: Verify states in SetNetmapStatus RPC server 2022-10-05 11:41:49 +03:00
config [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
docs docs: Improve release instructions 2022-09-14 17:52:49 +04:00
misc [#1592] Remove debug builds 2022-07-14 10:39:51 +03:00
pkg [#1681] ir/netmap: Require MAINTENANCE mode to be allowed by network 2022-10-05 11:41:49 +03:00
.dockerignore Initial commit 2020-07-10 17:45:00 +03:00
.gitattributes build: Better GitHub handling of auto-generated code 2020-08-04 12:17:09 +03:00
.gitignore [#1578] Reorder .gitignore 2022-07-06 10:00:19 +03:00
.golangci.yml [#1023] .golangci.yml: remove outdated govet settings 2022-01-31 13:01:58 +03:00
CHANGELOG.md [#1704] cli: Add force option to the command container create 2022-10-05 09:14:13 +03:00
CONTRIBUTING.md Minor typo fixes 2020-12-30 13:22:50 +03:00
CREDITS.md [#719] Update contributors list 2021-07-23 19:41:15 +03:00
go.mod [#1817] go.mod: Update neofs-sdk-go 2022-10-04 12:12:18 +03:00
go.sum [#1817] go.mod: Update neofs-sdk-go 2022-10-04 12:12:18 +03:00
help.mk [#1578] Minor Makefile fixes 2022-07-06 10:00:19 +03:00
LICENSE Initial commit 2020-07-10 17:45:00 +03:00
Makefile [#1756] make: Fix commit abbrev length in version 2022-09-06 10:53:38 +03:00
README.md Release v0.32.0 2022-09-14 17:52:49 +04:00
VERSION Release v0.32.0 2022-09-14 17:52:49 +04:00

NeoFS

NeoFS is a decentralized distributed object storage integrated with the NEO Blockchain.


Report GitHub release (latest SemVer) License

Overview

NeoFS Nodes are organized in a peer-to-peer network that takes care of storing and distributing user's data. Any Neo user may participate in the network and get paid for providing storage resources to other users or store their data in NeoFS and pay a competitive price for it.

Users can reliably store object data in the NeoFS network and have a transparent data placement process due to a decentralized architecture and flexible storage policies. Each node is responsible for executing the storage policies that the users select for geographical location, reliability level, number of nodes, type of disks, capacity, etc. Thus, NeoFS gives full control over data to users.

Deep Neo Blockchain integration allows NeoFS to be used by dApps directly from NeoVM on the Smart Contract code level. This way dApps are not limited to on-chain storage and can manipulate large amounts of data without paying a prohibitive price.

NeoFS has a native gRPC API and has protocol gateways for popular protocols such as AWS S3, HTTP, FUSE and sFTP allowing developers to integrate applications without rewriting their code.

Supported platforms

Now, we only support GNU/Linux on amd64 CPUs with AVX/AVX2 instructions. More platforms will be officially supported after release 1.0.

The latest version of neofs-node works with neofs-contract v0.15.5.

Building

To make all binaries you need Go 1.17+ and make:

make all

The resulting binaries will appear in bin/ folder.

To make a specific binary use:

make bin/neofs-<name>

See the list of all available commands in the cmd folder.

Building with Docker

Building can also be performed in a container:

make docker/all                     # build all binaries
make docker/bin/neofs-<name> # build a specific binary

Docker images

To make docker images suitable for use in neofs-dev-env use:

make images

Contributing

Feel free to contribute to this project after reading the contributing guidelines.

Before starting to work on a certain topic, create a new issue first, describing the feature/topic you are going to implement.

Credits

NeoFS is maintained by NeoSPCC with the help and contributions from community members.

Please see CREDITS for details.

License