mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-19 18:10:42 +01:00
936f36b9fc
More symmetry between postgres and sqlite init. * define SqliteDatabases and PostgresDatabase Those classes implement traits `Databases`, `FileBackup` and `ExclusiveLock`. The goal is to have access to backend-specific attributes, particularly in tests. It arguably makes the `Databases` cleaner and simpler, with a nice symmetry between the `apply methods`. * replace 5s lock timeout by NOLOCK * use chaindir instead of datadir for jdbcurl file It is more consistent with sqlite, and makes sense because we don't want to mix up testnet and mainnet databases. * add tests on locks and jdbc url check |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |