Skip to content

Commit

Permalink
Log nodeid and public base58.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrippled committed Aug 8, 2024
1 parent 798c00b commit 0a61a0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion include/xrpl/protocol/STValidation.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ class STValidation final : public STObject, public CountedObject<STValidation>
<< " is_valid: " << isValid()
<< " is_full: " << isFull()
<< " is_trusted: " << isTrusted()
<< " signing_hash: " << getSigningHash();
<< " signing_hash: " << getSigningHash()
<< " base58: " << toBase58(TokenType::NodePublic, getSignerPublic());
return ss.str();
}

Expand Down
2 changes: 1 addition & 1 deletion src/xrpld/app/misc/NetworkOPs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2303,13 +2303,13 @@ NetworkOPsImp::recvValidation(
std::shared_ptr<STValidation> const& val,
std::string const& source)
{
JLOG(m_journal.debug()) << "VALIDATION: " << val->render();
JLOG(m_journal.trace())
<< "recvValidation " << val->getLedgerHash() << " from " << source;

handleNewValidation(app_, val, source);

pubValidation(val);
JLOG(m_journal.debug()) << "VALIDATION: " << val->render();

// We will always relay trusted validations; if configured, we will
// also relay all untrusted validations.
Expand Down
3 changes: 2 additions & 1 deletion src/xrpld/consensus/ConsensusProposal.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ class ConsensusProposal
<< " position: " << position_
<< " close_time: " << to_string(closeTime_)
<< " now: " << to_string(time_)
<< " is_bow_out:" << isBowOut();
<< " is_bow_out:" << isBowOut()
<< " node_id: " << nodeID_;
return ss.str();
}

Expand Down

0 comments on commit 0a61a0c

Please sign in to comment.