Versions in this module Expand all Collapse all v0 v0.0.3 Apr 21, 2025 v0.0.2 Apr 21, 2025 Changes in this version + var ErrNoPush = errors.New("could not push chunk") + var ErrOutOfDepthStoring = errors.New("storing outside of the neighborhood") + var ErrShallowReceipt = errors.New("shallow receipt") + var ErrWarmup = errors.New("node warmup time not complete") + type PushSync struct + func New(address swarm.Address, networkID uint64, nonce []byte, ...) *PushSync + func (ps *PushSync) PushChunkToClosest(ctx context.Context, ch swarm.Chunk) (*Receipt, error) + func (s *PushSync) Close() error + func (s *PushSync) Metrics() []prometheus.Collector + func (s *PushSync) Protocol() p2p.ProtocolSpec + type PushSyncer interface + PushChunkToClosest func(ctx context.Context, ch swarm.Chunk) (*Receipt, error) + type Receipt struct + Address swarm.Address + Nonce []byte + Signature []byte + type Storer interface + ReservePutter func() storage.Putter