Well the code is pretty nasty, but that's conflict detection using vclocks - no tests