From 9f2a6812164a8b6c6188d14cdd7406381bc1b9f9 Mon Sep 17 00:00:00 2001 From: Jie Kong Date: Thu, 21 Apr 2022 14:47:20 -0400 Subject: [PATCH] Update Readme.md --- CTng/monitor/Readme.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CTng/monitor/Readme.md b/CTng/monitor/Readme.md index ba0c66c..ffb0794 100644 --- a/CTng/monitor/Readme.md +++ b/CTng/monitor/Readme.md @@ -18,7 +18,8 @@ - `Send_to_gossiper`: send the input gossip object to the gossiper ## monitor_process.go -- `process_valid_object`: - if the logger sends the sth to the monitor,this function will send the raw version to the gossiper, wait for gossip_wait_time, check its updated PoM database, - if the signer of this sth/revocation information is not in it, threshold sign this sth and send it to the gossiper - Same thing applies to revocation information and CA it will store all the valid gossip object from its own gossiper, including different types of PoMs and fully signed sths and revocation information +- `process_valid_object`: + if the monitor receives a valid sth from a logger or valid revocation information from a CA (both needs to be in the form of a gossip object), + this function will send the raw version of the gossip object to the gossiper, wait for gossip_wait_time, check its updated PoM database, + if the signer of this sth/revocation information is not in it, threshold sign this sth and send it to the gossiper +