Skip to content

Commit

Permalink
Update output binaries to loki
Browse files Browse the repository at this point in the history
  • Loading branch information
Doy-lee committed Apr 10, 2018
1 parent 9b1d3a9 commit e9cf61b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/blockchain_utilities/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ target_link_libraries(blockchain_blackball

set_property(TARGET blockchain_blackball
PROPERTY
OUTPUT_NAME "monero-blockchain-blackball")
OUTPUT_NAME "loki-blockchain-blackball")
install(TARGETS blockchain_blackball DESTINATION bin)


Expand All @@ -184,6 +184,6 @@ target_link_libraries(blockchain_usage

set_property(TARGET blockchain_usage
PROPERTY
OUTPUT_NAME "monero-blockchain-usage")
OUTPUT_NAME "loki-blockchain-usage")
install(TARGETS blockchain_usage DESTINATION bin)

25 changes: 13 additions & 12 deletions src/blockchain_utilities/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Monero Blockchain Utilities
# Loki Blockchain Utilities

Copyright (c) 2014-2018, The Monero Project
Copyright (c) 2018, The Loki Project

## Introduction

Expand All @@ -12,16 +13,16 @@ See also each utility's "--help" option.

### Export an existing blockchain database

`$ monero-blockchain-export`
`$ loki-blockchain-export`

This loads the existing blockchain and exports it to `$MONERO_DATA_DIR/export/blockchain.raw`
This loads the existing blockchain and exports it to `$LOKI_DATA_DIR/export/blockchain.raw`

### Import the exported file

`$ monero-blockchain-import`
`$ loki-blockchain-import`

This imports blocks from `$MONERO_DATA_DIR/export/blockchain.raw` (exported using the
`monero-blockchain-export` tool as described above) into the current database.
This imports blocks from `$LOKI_DATA_DIR/export/blockchain.raw` (exported using the
`loki-blockchain-export` tool as described above) into the current database.

Defaults: `--batch on`, `--batch size 20000`, `--verify on`

Expand All @@ -30,14 +31,14 @@ Batch size refers to number of blocks and can be adjusted for performance based
Verification should only be turned off if importing from a trusted blockchain.

If you encounter an error like "resizing not supported in batch mode", you can just re-run
the `monero-blockchain-import` command again, and it will restart from where it left off.
the `loki-blockchain-import` command again, and it will restart from where it left off.

```bash
## use default settings to import blockchain.raw into database
$ monero-blockchain-import
$ loki-blockchain-import

## fast import with large batch size, database mode "fastest", verification off
$ monero-blockchain-import --batch-size 20000 --database lmdb#fastest --verify off
$ loki-blockchain-import --batch-size 20000 --database lmdb#fastest --verify off

```

Expand Down Expand Up @@ -80,9 +81,9 @@ LMDB flags (more than one may be specified):
## Examples:

```
$ monero-blockchain-import --database lmdb#fastest
$ loki-blockchain-import --database lmdb#fastest
$ monero-blockchain-import --database lmdb#nosync
$ loki-blockchain-import --database lmdb#nosync
$ monero-blockchain-import --database lmdb#nosync,nometasync
$ loki-blockchain-import --database lmdb#nosync,nometasync
```
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ namespace cryptonote
{
MWARNING("Found old-style blockchain.bin in " << old_files.string());
MWARNING("Monero now uses a new format. You can either remove blockchain.bin to start syncing");
MWARNING("the blockchain anew, or use monero-blockchain-export and monero-blockchain-import to");
MWARNING("the blockchain anew, or use loki-blockchain-export and loki-blockchain-import to");
MWARNING("convert your existing blockchain.bin to the new format. See README.md for instructions.");
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/ringct/rctSigs.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Loki Project
// Copyright (c) 2016, Monero Research Labs
//
// Author: Shen Noether <shen.noether@gmx.com>
//
Expand Down

0 comments on commit e9cf61b

Please sign in to comment.