Closed nerdcorenet closed 3 years ago
May have to refactor the code a little bit to match the different interfaces.
commit 84bdccbfc2b17a598e424316fd32066a9724fcf2 resolves some of these issues though I cannot guarantee the resolution is correct or sane. ;)
Getting the following issues when trying to launch litedoged:
$ ./litedoged -datadir=/mnt/chains/litedogetest -testnet
Error: Error initializing wallet database environment /mnt/chains/litedogetest/testnet!
$ cat /mnt/chains/litedogetest/testnet/debug.log
LiteDoge version v3.5.0.0LiteDoge (2021-01-09 22:56:31 -0500)
Using OpenSSL version OpenSSL 1.1.1f 31 Mar 2020
Using BerkeleyDB version Berkeley DB 5.3.28: (September 9, 2013)
Startup time: 03/13/21 17:51:40
Default data directory /home/mike/.litedoge
Used data directory /mnt/chains/litedogetest/testnet
init message: Verifying database integrity...
dbenv.open LogDir=/mnt/chains/litedogetest/testnet/database ErrorFile=/mnt/chains/litedogetest/testnet/db.log
ERROR: CDB() : error Invalid argument (22) opening database environment
Moved old /mnt/chains/litedogetest/testnet/database to /mnt/chains/litedogetest/testnet/database.1615657900.bak. Retrying.
dbenv.open LogDir=/mnt/chains/litedogetest/testnet/database ErrorFile=/mnt/chains/litedogetest/testnet/db.log
ERROR: CDB() : error Invalid argument (22) opening database environment
: Error initializing wallet database environment /mnt/chains/litedogetest/testnet!
Shutdown : In progress...
StopNode()
Shutdown : done
OS: Ubuntu 20.04 CPU: amd64 OpenSSL: 1.1.1f Boost: 1.71
I checked out tags/3.5.0.0 received the following error during
make -f makefile.unix
:This seems to require an update from OpenSSL 1.0.2 to 1.1.1 which reached EOL at the end of 2019. This commit from CureCoin seems useful: https://github.com/cygnusxi/CurecoinSource/commit/6b93af07005b90e4f6c5785c60c10c36fa52a333
I started to apply those changes but I'm not sure what to do about this:
I'm not sure what to do with https://github.com/nerdcorenet/LDOGE/blob/ssl%2Bboost/src/rpcclient.cpp#L44
For reference, the Boost 1.70 doc for ssl::context::context is here