Introduce peer requirement announcement. (#156)

This commit is contained in:
Savinda Senevirathne
2020-11-20 16:01:46 +05:30
committed by GitHub
parent beedfb2709
commit fe24ef2388
15 changed files with 144 additions and 70 deletions

View File

@@ -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