Distributed rail traffic management under moving-block signalling