These functions doing the same things as WalletDatabase::Create,
CreateMock, and CreateDummy
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/19310 | core#19310]] [1/3]
https://github.com/bitcoin/bitcoin/pull/19310/commits/45c08f8a7b89dda6afb7d7cf9573a8ae8290ac92