Expand description
File operations using streaming self-encryption.
Upload files directly from disk without loading them entirely into memory.
Uses stream_encrypt to process files in 8KB chunks, encrypting and
uploading each piece as it’s produced.
Encrypted chunks are spilled to a temporary directory during encryption so that peak memory usage is bounded to one wave (~256 MB for 64 × 4 MB chunks) regardless of file size.
For in-memory data uploads, see the data module.
Structs§
- File
Chunk Peer Report - Closest-peer GET results for one file chunk.
- File
Chunk Peer Report Peer - One peer result in a
FileChunkPeerReport. - File
Chunk Peer Sweep Report - One all-peer diagnostic GET sweep for a file chunk.
- File
Download With Peer Report - File download result when peer-health diagnostics are enabled.
- File
Upload Result - Result of a file upload: the
DataMapneeded to retrieve the file. - Prepared
Upload - Prepared upload ready for external payment.
- Upload
Cost Estimate - Estimated cost of uploading a file, returned by
Client::estimate_upload_cost.
Enums§
- Cost
Estimate Confidence - Confidence attached to an
UploadCostEstimate’sstorage_cost_atto. - Download
Event - Progress events emitted during file download for UI feedback.
- External
Payment Info - Payment information for external signing — either wave-batch or merkle.
- File
Chunk Peer Status - Peer-level file chunk GET diagnostic status.
- Upload
Event - Progress events emitted during file upload for UI feedback.
- Visibility
- Whether the data map is published to the network for address-based retrieval.