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 +