bee icon indicating copy to clipboard operation
bee copied to clipboard

reserve storage radius can fall below the reserve minimum radius safeguard

Open istae opened this issue 1 year ago • 1 comments

the localstore/reserve should be passed the reserve minimum radius option so that in the event of a radius drop, it does not fall below the minimum.

istae avatar Aug 21 '24 14:08 istae

the waitNetworkRFunc should also return

if local <= uint8(o.ReserveMinimumRadius) {
			return max(network, uint8(o.ReserveMinimumRadius)), nil
		} else {
			return local, nil
		}

istae avatar Aug 21 '24 16:08 istae