mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Add validator token to config (RIPD-1386)
This commit is contained in:
@@ -365,6 +365,13 @@ ValidatorList::trustedPublisher (PublicKey const& identity) const
|
||||
return identity.size() && publisherLists_.count (identity);
|
||||
}
|
||||
|
||||
PublicKey
|
||||
ValidatorList::localPublicKey () const
|
||||
{
|
||||
boost::shared_lock<boost::shared_mutex> read_lock{mutex_};
|
||||
return localPubKey_;
|
||||
}
|
||||
|
||||
bool
|
||||
ValidatorList::removePublisherList (PublicKey const& publisherKey)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user