> Only GetTimeOffset() and AddTimeData() functions lock this mutex. They do not call itself recursively, and do not call each other either directly or indirectly. Therefore, the g_timeoffset_mutex could be a non-recursive mutex.
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/19189 | core#19189]]