Skip to content

Commit

Permalink
Merge pull request #69 from ConcealNetwork/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
cryptokatz authored Apr 23, 2019
2 parents 18579ca + 4f02f38 commit c621602
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 114 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ miniupnpcstrings.h
compile_commands.json
*.ipch
*.bin
*.json
2 changes: 1 addition & 1 deletion src/CryptoNoteCore/Blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ bool Blockchain::getBlockByHash(const Crypto::Hash& blockHash, Block& b) {
return true;
}

logger(WARNING) << "<< Blockchain.cpp << " << blockHash;
logger(DEBUGGING) << "<< Blockchain.cpp << " << blockHash;

auto blockByHashIterator = m_alternative_chains.find(blockHash);
if (blockByHashIterator != m_alternative_chains.end()) {
Expand Down
6 changes: 3 additions & 3 deletions src/Daemon/Daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ int main(int argc, char* argv[])

logger(INFO) << "<< Daemon.cpp << " << "Starting core rpc server on address " << rpcConfig.getBindAddress();

/* set address for remote node fee */
/* Set address for remote node fee */
if (command_line::has_arg(vm, arg_set_fee_address)) {
std::string addr_str = command_line::get_arg(vm, arg_set_fee_address);
if (!addr_str.empty()) {
Expand All @@ -351,7 +351,8 @@ int main(int argc, char* argv[])
}
}

/* set secret view-key to confirm remote node fee */
/* This sets the view-key so we can confirm that
the fee is part of the transaction blob */
if (command_line::has_arg(vm, arg_set_view_key)) {
std::string vk_str = command_line::get_arg(vm, arg_set_view_key);
if (!vk_str.empty()) {
Expand All @@ -360,7 +361,6 @@ int main(int argc, char* argv[])
}
}


rpcServer.start(rpcConfig.bindIp, rpcConfig.bindPort);
logger(INFO) << "<< Daemon.cpp << " "Core rpc server started ok";

Expand Down
4 changes: 2 additions & 2 deletions src/P2p/NetNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ namespace CryptoNote
m_payload_handler.get_payload_sync_data(arg.payload_data);

if (!proto.invoke(COMMAND_HANDSHAKE::ID, arg, rsp)) {
logger(Logging::ERROR) << context << "Failed to invoke COMMAND_HANDSHAKE, closing connection.";
logger(Logging::DEBUGGING) << context << "Failed to invoke COMMAND_HANDSHAKE, closing connection.";
return false;
}

Expand Down Expand Up @@ -635,7 +635,7 @@ namespace CryptoNote
}

if (!handle_remote_peerlist(rsp.local_peerlist, rsp.local_time, context)) {
logger(Logging::ERROR) << context << "COMMAND_TIMED_SYNC: failed to handle_remote_peerlist(...), closing connection.";
logger(Logging::DEBUGGING) << context << "COMMAND_TIMED_SYNC: failed to handle_remote_peerlist(...), closing connection.";
return false;
}

Expand Down
Loading

0 comments on commit c621602

Please sign in to comment.