Skip to content

Commit

Permalink
rename: monero-blockchain -> graft-blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
LenyKholodov committed May 13, 2019
1 parent 4dadb33 commit 2e2d3cb
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/blockchain_utilities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This loads the existing blockchain and exports it to `$MONERO_DATA_DIR/export/bl
`$ graft-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.
`graft-blockchain-export` tool as described above) into the current database.

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

Expand All @@ -34,10 +34,10 @@ the `graft-blockchain-import` command again, and it will restart from where it l

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

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

```

Expand Down
2 changes: 1 addition & 1 deletion src/blockchain_utilities/blockchain_ancestry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ int main(int argc, char* argv[])
return 1;
}

mlog_configure(mlog_get_default_log_path("monero-blockchain-ancestry.log"), true);
mlog_configure(mlog_get_default_log_path("graft-blockchain-ancestry.log"), true);
if (!command_line::is_arg_defaulted(vm, arg_log_level))
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else
Expand Down
2 changes: 1 addition & 1 deletion src/blockchain_utilities/blockchain_blackball.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ int main(int argc, char* argv[])
return 1;
}

mlog_configure(mlog_get_default_log_path("monero-blockchain-find-spent-outputs.log"), true);
mlog_configure(mlog_get_default_log_path("graft-blockchain-find-spent-outputs.log"), true);
if (!command_line::is_arg_defaulted(vm, arg_log_level))
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else
Expand Down
2 changes: 1 addition & 1 deletion src/blockchain_utilities/blockchain_depth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int main(int argc, char* argv[])
return 1;
}

mlog_configure(mlog_get_default_log_path("monero-blockchain-depth.log"), true);
mlog_configure(mlog_get_default_log_path("graft-blockchain-depth.log"), true);
if (!command_line::is_arg_defaulted(vm, arg_log_level))
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else
Expand Down
2 changes: 1 addition & 1 deletion src/blockchain_utilities/blockchain_export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ int main(int argc, char* argv[])
return 1;
}

mlog_configure(mlog_get_default_log_path("monero-blockchain-export.log"), true);
mlog_configure(mlog_get_default_log_path("graft-blockchain-export.log"), true);
if (!command_line::is_arg_defaulted(vm, arg_log_level))
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else
Expand Down
2 changes: 1 addition & 1 deletion src/blockchain_utilities/blockchain_import.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ int main(int argc, char* argv[])
m_config_folder = command_line::get_arg(vm, cryptonote::arg_data_dir);
db_arg_str = command_line::get_arg(vm, arg_database);

mlog_configure(mlog_get_default_log_path("monero-blockchain-import.log"), true);
mlog_configure(mlog_get_default_log_path("graft-blockchain-import.log"), true);
if (!command_line::is_arg_defaulted(vm, arg_log_level))
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else
Expand Down
2 changes: 1 addition & 1 deletion src/blockchain_utilities/blockchain_usage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int main(int argc, char* argv[])
return 1;
}

mlog_configure(mlog_get_default_log_path("monero-blockchain-usage.log"), true);
mlog_configure(mlog_get_default_log_path("graft-blockchain-usage.log"), true);
if (!command_line::is_arg_defaulted(vm, arg_log_level))
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else
Expand Down
2 changes: 1 addition & 1 deletion src/supernode/FSN_Servant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ crypto::public_key get_tx_gen_pub_key(const transaction &tx)
}


// copied code from monero-blockchain-explorer
// copied code from graft-blockchain-explorer
// TODO: optimize it for the purpose
crypto::public_key get_tx_pub_key_from_received_outs(const transaction &tx)
{
Expand Down

0 comments on commit 2e2d3cb

Please sign in to comment.