mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Introduce peer requirement announcement. (#156)
This commit is contained in:
committed by
GitHub
parent
beedfb2709
commit
fe24ef2388
@@ -305,6 +305,15 @@ namespace comm
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark the connection as a verified connection.
|
||||
*/
|
||||
void comm_session::mark_as_verified()
|
||||
{
|
||||
challenge_status = CHALLENGE_STATUS::CHALLENGE_VERIFIED;
|
||||
handle_on_verified();
|
||||
}
|
||||
|
||||
int comm_session::handle_connect()
|
||||
{
|
||||
return 0;
|
||||
@@ -319,4 +328,8 @@ namespace comm
|
||||
{
|
||||
}
|
||||
|
||||
void comm_session::handle_on_verified()
|
||||
{
|
||||
}
|
||||
|
||||
} // namespace comm
|
||||
Reference in New Issue
Block a user