Semaphore ensuring only one batch writes to the database at a time.
Declared in <wallet/sqlite.h>
<wallet/sqlite.h>
std::binary_semaphore m_write_semaphore;