the section on lock-free distributed transactions on our design document[1] should answer your question, specifically the sub-section on hybrid logical clocks.
[1]: https://github.com/cockroachdb/cockroach/blob/master/docs/de...
[1]: https://github.com/cockroachdb/cockroach/blob/master/docs/de...