Skip to content

Commit

Permalink
Vocabulary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tfn18001 committed Apr 25, 2022
1 parent 91be863 commit bc40113
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CTng/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ ___

**`ctng.go`**: A commandline interface for running a Monitor, Gossiper, fakeLogger, or fakeCA.

**`monitorTest.sh`**: run as `sh monitorTest.sh [N]`, where N is which monitor you want to run
**`monitorTest.sh`**: run as `sh monitorTest.sh [N]`, where N is which # monitor you want to run from the testData folder

**`gossiperTest.sh`**: run as `sh gossiperTest.sh [N]`, where N is which # monitor you want to run from the testData folder

# Running the code

Expand Down
2 changes: 1 addition & 1 deletion CTng/gossip/accusations.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func Process_Accusation(new_acc Gossip_object, accs *AccusationDB, c *crypto.Cry
//check if the accusation is a duplicate (from an existing accuser)
for _, x := range val.Accusers {
if x == new_acc.Signer {
return nil, false, errors.New("Recieved Duplicate Accusation")
return nil, false, errors.New("Accusation already Stored")
}
}
//update the number of accusations and the list of accusers
Expand Down
4 changes: 2 additions & 2 deletions CTng/testData/monitorNetworkTest/monitor_pub_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"All_CA_URLs": ["localhost:9100", "localhost:9101", "localhost:9102"],
"All_Logger_URLs": ["localhost:9000", "localhost:9001", "localhost:9002"],
"Gossip_wait_time": 3,
"MMD": 5,
"MRD": 5,
"MMD": 10,
"MRD": 10,
"Http_vers": ["2","1","3"]
}

0 comments on commit bc40113

Please sign in to comment.