From 011e42f3377b9fa727c419113e683ffada15ae88 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Sat, 3 Sep 2016 22:36:09 +0200 Subject: [PATCH] fix nigglies, as pointed out by moneromooo-monero --- src/blockchain_utilities/README.md | 11 +++-------- src/cryptonote_core/cryptonote_core.cpp | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/blockchain_utilities/README.md b/src/blockchain_utilities/README.md index 0a62bf908..809df3bfa 100644 --- a/src/blockchain_utilities/README.md +++ b/src/blockchain_utilities/README.md @@ -60,7 +60,7 @@ stop at block number `--database #` -database type: `lmdb, berkeley, memory` +database type: `lmdb, memory` flags: @@ -77,17 +77,12 @@ LMDB flags (more than one may be specified): `nosync, nometasync, writemap, mapasync, nordahead` -BerkeleyDB flags (takes one): - -`txn_write_nosync, txn_nosync, txn_sync` +## Examples: ``` -## Examples: $ monero-blockchain-import --database lmdb#fastest -$ monero-blockchain-import --database berkeley#fastest $ monero-blockchain-import --database lmdb#nosync -$ monero-blockchain-import --database lmdb#nosync,nometasync -$ monero-blockchain-import --database berkeley#txn_nosync +$ monero-blockchain-import --database lmdb#nosync,nometasync ``` diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 7a4feeac4..c289f297b 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -280,7 +280,7 @@ namespace cryptonote { LOG_PRINT_RED_L0("Found old-style blockchain.bin in " << old_files.string()); LOG_PRINT_RED_L0("Monero now uses a new format. You can either remove blockchain.bin to start syncing"); - LOG_PRINT_RED_L0("the blockchain anew, or use monero-blockchain-import and monero-blockchain-export to"); + LOG_PRINT_RED_L0("the blockchain anew, or use monero-blockchain-export and monero-blockchain-import to"); LOG_PRINT_RED_L0("convert your existing blockchain.bin to the new format. See README.md for instructions."); return false; }