-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
34 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Gossip Package | ||
|
||
## Contents | ||
- `process_object.go`: Functions for processing a new object (valid, invalid, or duplicate) | ||
- `gossiper.go`: Functions for actions that the Gossiper can complete as a client | ||
- Sending to Owner | ||
- Gossiping to connections | ||
- Accusing (unused currently) | ||
- `gossip_object.go`: Functions for working with Gossip Objects | ||
- `accusations.go`: Describes the system for keeping track of accusations of each entity (with `accusation_validation.go` calls). | ||
- Note that many calls are made between these files and the HTTP server. in the future, more gossiper logic could be moved from the server package to this one. | ||
|
||
## `Types.go` | ||
- Defines the Gossip Object and explains some design choices with Gossip_object_IDs. | ||
- Defines constants for the field types of CTng | ||
- Defines the Gossiper Context object for managing server state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters