Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jik18001 authored Apr 21, 2022
1 parent bfab973 commit 9f2a681
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CTng/monitor/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9f2a681

Please sign in to comment.