"...common/src/git@git.duniter.org:nodes/rust/duniter-v2s.git" did not exist on "fe298c11e86f6e2cef2e9e37eab67afbfce70c19"
change trait `IsDistanceOk` to `CheckDistanceOk`
Right now, the IsDistanceOk
trait returns a boolean. This mean that check_idty_allowed_to_claim_membership
and check_idty_allowed_to_renew_membership
can only return an error like DistanceNotOK
which could be improved reflect whether it is DistanceNotAvailable
or DistanceKO
.
We should change this trait to something like CheckDistanceOk
returning a DispatchError
instead of a bool
.