Create pluggable storage abstraction for government blockchain deployments: pkg/storage/ - storage.go: Core Provider, BlockStorage, StateStorage interfaces - config.go: Configuration for NeoFS, Local, S3 backends - errors.go: Common storage error types - doc.go: Package documentation with compliance guidance pkg/storage/neofs/ - Adapter implementing Provider interface (placeholder for NeoFS SDK) pkg/storage/local/ - Full implementation for local filesystem storage - Content-addressed storage with SHA256 IDs - Metadata JSON sidecar files docs/storage.md: Comprehensive documentation covering: - Data sovereignty compliance (GDPR, China CSL, etc.) - Provider configuration examples - Interface reference - Security considerations This enables nations to choose compliant storage backends while maintaining a consistent API for block and state storage. |
||
|---|---|---|
| .. | ||
| cli.md | ||
| compiler.md | ||
| consensus.md | ||
| conventions.md | ||
| labels.md | ||
| neofs-blockstorage.md | ||
| node-configuration.md | ||
| notary.md | ||
| notifications.md | ||
| oracle.md | ||
| release-instruction.md | ||
| rpc.md | ||
| stateroots.md | ||
| storage.md | ||
| vm.md | ||