Upon further inspection it seems we don't need a mutex in the nonceDB due to the single-threaded nature of javascript. Care must be taken in the future: if the nonceDB uses IO operations (for instance, if it's backed by an on-disk DB), a mutex will probably be required.
Upon further inspection it seems we don't need a mutex in the nonceDB due to the single-threaded nature of javascript. Care must be taken in the future: if the nonceDB uses IO operations (for instance, if it's backed by an on-disk DB), a mutex will probably be required.