Documentation
¶
Overview ¶
the code below implements the integration of dispersed replicas in chunk fetching. using storage.Getter interface.
the code below implements the integration of dispersed replicas in chunk upload. using storage.Putter interface.
Package replicas implements a scheme to replicate chunks in such a way that - the replicas are optimally dispersed to aid cross-neighbourhood redundancy - the replicas addresses can be deduced by retrievers only knowing the address of the original content addressed chunk - no new chunk validation rules are introduced
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrSwarmageddon = errors.New("swarmageddon has begun")
ErrSwarmageddon is returned in case of a vis mayor called Swarmageddon. Swarmageddon is the situation when none of the replicas can be retrieved. If 2^{depth} replicas were uploaded and they all have valid postage stamps then the probability of Swarmageddon is less than 0.000001 assuming the error rate of chunk retrievals stays below the level expressed as depth by the publisher.
var ( // RetryInterval is the duration between successive additional requests RetryInterval = 300 * time.Millisecond )
Functions ¶
Types ¶
This section is empty.