Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jik18001 committed Apr 19, 2022
2 parents 6fd9b8d + c67de95 commit 0b2ab60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 7 additions & 4 deletions CTng/HTTP/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ and update the Timer_CArs_LastCheckIn.

Monitor_ng.go

func Monitor_accuseEntity(c *crypto.CryptoConfig, Accused string) (gossip.Gossip_object, error) //this function accuses the entity if its URL is provided
func Monitor_send_to_gossiper(c *MonitorContext, g gossip.Gossip_object) //this function send the input gossip object to the gossiper
func Monitor_accuseEntity(c *crypto.CryptoConfig, Accused string) (gossip.Gossip_object, error)
//this function accuses the entity if its URL is provided

func Monitor_send_to_gossiper(c *MonitorContext, g gossip.Gossip_object)
//this function send the input gossip object to the gossiper

func Monitor_process_valid_object(c *MonitorContext, g gossip.Gossip_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 is not in it, threshold sign this sth and send it to the gossiper
//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 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

Expand Down
2 changes: 2 additions & 0 deletions CTng/PoM/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This file mainly deals with Proof of Misbehavior generated after receiving threshold number of accusations (as part of the process accusations).
This file also contains the process accusations function for the gossiper to invoke.

0 comments on commit 0b2ab60

Please sign in to comment.