From 4f762e6142bf329c9bd07852b12f34b90af82e02 Mon Sep 17 00:00:00 2001 From: Jie Kong Date: Mon, 18 Apr 2022 21:21:16 -0400 Subject: [PATCH 1/5] Create Readme.md --- CTng/PoM/Readme.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 CTng/PoM/Readme.md diff --git a/CTng/PoM/Readme.md b/CTng/PoM/Readme.md new file mode 100644 index 0000000..26e0f1f --- /dev/null +++ b/CTng/PoM/Readme.md @@ -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 function for the gossiper to use to process accusations. From 85831661c985834646ef22aded41fc561c859d24 Mon Sep 17 00:00:00 2001 From: Jie Kong Date: Mon, 18 Apr 2022 21:21:44 -0400 Subject: [PATCH 2/5] Update Readme.md --- CTng/PoM/Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTng/PoM/Readme.md b/CTng/PoM/Readme.md index 26e0f1f..df957d6 100644 --- a/CTng/PoM/Readme.md +++ b/CTng/PoM/Readme.md @@ -1,2 +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 function for the gossiper to use to process accusations. +This file also contains the process accusations function for the gossiper to invoke. From 7181b83d63c1d9b7e41f5540ed8cd34562ee36d4 Mon Sep 17 00:00:00 2001 From: Jie Kong Date: Mon, 18 Apr 2022 21:23:28 -0400 Subject: [PATCH 3/5] Update Readme.md --- CTng/HTTP/Readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CTng/HTTP/Readme.md b/CTng/HTTP/Readme.md index 668a908..12671d5 100644 --- a/CTng/HTTP/Readme.md +++ b/CTng/HTTP/Readme.md @@ -23,8 +23,7 @@ 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_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 From 7e738ff277926e6df489470ee90d0d259d3de8af Mon Sep 17 00:00:00 2001 From: Jie Kong Date: Mon, 18 Apr 2022 21:23:54 -0400 Subject: [PATCH 4/5] Update Readme.md --- CTng/HTTP/Readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CTng/HTTP/Readme.md b/CTng/HTTP/Readme.md index 12671d5..2da4895 100644 --- a/CTng/HTTP/Readme.md +++ b/CTng/HTTP/Readme.md @@ -20,8 +20,10 @@ 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 // Same thing applies to revocation information and CA From c67de955ffd1cb9ea916fb5b6725628c97b300c5 Mon Sep 17 00:00:00 2001 From: Jie Kong Date: Mon, 18 Apr 2022 21:24:17 -0400 Subject: [PATCH 5/5] Update Readme.md --- CTng/HTTP/Readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CTng/HTTP/Readme.md b/CTng/HTTP/Readme.md index 2da4895..28b2f0b 100644 --- a/CTng/HTTP/Readme.md +++ b/CTng/HTTP/Readme.md @@ -22,8 +22,10 @@ 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_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 // Same thing applies to revocation information and CA