From 94f1686883e60c38bb9b3f892c29b991ace4c42f Mon Sep 17 00:00:00 2001 From: Sondre Date: Fri, 21 May 2021 13:06:52 +0200 Subject: [PATCH] Migrate to Blockcore.RocksDB - Replaces the existing RocksDB library that has not been updated since 2019. - Needs verification by others, please run and verify. --- .../Blockcore.Persistence.RocksDb.csproj | 5 ++--- src/Node/Blockcore.Node/Properties/launchSettings.json | 8 ++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/Features/Persistence/Blockcore.Persistence.RocksDb/Blockcore.Persistence.RocksDb.csproj b/src/Features/Persistence/Blockcore.Persistence.RocksDb/Blockcore.Persistence.RocksDb.csproj index 7a986d6a0..4f75cd4f2 100644 --- a/src/Features/Persistence/Blockcore.Persistence.RocksDb/Blockcore.Persistence.RocksDb.csproj +++ b/src/Features/Persistence/Blockcore.Persistence.RocksDb/Blockcore.Persistence.RocksDb.csproj @@ -1,4 +1,4 @@ - + RocksDb persistence common classes @@ -10,12 +10,11 @@ true + - - diff --git a/src/Node/Blockcore.Node/Properties/launchSettings.json b/src/Node/Blockcore.Node/Properties/launchSettings.json index 0ed803778..0b50353ce 100644 --- a/src/Node/Blockcore.Node/Properties/launchSettings.json +++ b/src/Node/Blockcore.Node/Properties/launchSettings.json @@ -24,6 +24,10 @@ "commandName": "Project", "commandLineArgs": "-server -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -datadir=nodedata" }, + "BTC (MAIN/LOCAL/ROCKSDB)": { + "commandName": "Project", + "commandLineArgs": "-server -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -dbtype=rocksdb -datadir=data" + }, "BTC (TEST/LOCAL)": { "commandName": "Project", "commandLineArgs": "-server -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -datadir=nodedata -testnet" @@ -112,6 +116,10 @@ "commandName": "Project", "commandLineArgs": "--chain=EXOS -server -whitelist=192.168.1.180 -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -datadir=nodedata" }, + "EXOS (MAIN/LOCAL/ROCKSDB)": { + "commandName": "Project", + "commandLineArgs": "--chain=EXOS -server -whitelist=192.168.1.180 -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -dbtype=rocksdb -datadir=data" + }, "RUTA (MAIN)": { "commandName": "Project", "commandLineArgs": "--chain=RUTA -server -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser"