fix nigglies, as pointed out by moneromooo-monero

This commit is contained in:
Riccardo Spagni 2016-09-03 22:36:09 +02:00
parent df63e0704a
commit 011e42f337
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
2 changed files with 4 additions and 9 deletions

View File

@ -60,7 +60,7 @@ stop at block number
`--database <database type>#<flag(s)>` `--database <database type>#<flag(s)>`
database type: `lmdb, berkeley, memory` database type: `lmdb, memory`
flags: flags:
@ -77,17 +77,12 @@ LMDB flags (more than one may be specified):
`nosync, nometasync, writemap, mapasync, nordahead` `nosync, nometasync, writemap, mapasync, nordahead`
BerkeleyDB flags (takes one): ## Examples:
`txn_write_nosync, txn_nosync, txn_sync`
``` ```
## Examples:
$ monero-blockchain-import --database lmdb#fastest $ monero-blockchain-import --database lmdb#fastest
$ monero-blockchain-import --database berkeley#fastest
$ monero-blockchain-import --database lmdb#nosync $ 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
``` ```

View File

@ -280,7 +280,7 @@ namespace cryptonote
{ {
LOG_PRINT_RED_L0("Found old-style blockchain.bin in " << old_files.string()); 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("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."); LOG_PRINT_RED_L0("convert your existing blockchain.bin to the new format. See README.md for instructions.");
return false; return false;
} }