Expand description
Batch chunk upload with wave-based pipelined EVM payments.
Groups chunks into waves of 64 and pays for each
wave in a single EVM transaction. Stores from wave N are pipelined
with quote collection for wave N+1 via tokio::join!.
Structs§
- Paid
Chunk - Chunk paid but not yet stored. Produced by
Client::batch_pay. - Payment
Intent - Payment data for external signing.
- Prepared
Chunk - Chunk quoted but not yet paid. Produced by
Client::prepare_chunk_payment. - Wave
Result - Result of storing a wave of paid chunks, with retry tracking.
Functions§
- finalize_
batch_ payment - Finalize a batch payment using externally-provided transaction hashes.