Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tfn18001 committed Apr 22, 2022
2 parents 2ca1479 + a7d7693 commit 60b6261
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 66 deletions.
64 changes: 0 additions & 64 deletions CTng/GZip/GZipComp.go

This file was deleted.

16 changes: 16 additions & 0 deletions CTng/GZip/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# GZIP Implementation

## Contents:
- `Decode.go`: defines the decode and encode functions
- `GZipbyte.go`: contains the compress function
- `GZipDecomp.go`: contains the decompression function

## Decode.go:
- Decode takes in bytes, decompresses them, then returns the decoded string if successful, error if not
- Encode takes in bytes, compresses them, then returns an encoded string if successful, error if not

## GZipbyte.go:
- When given a bytes it will compress them and return compressed bytes

## GZipDecomp.go:
- Decompresses the the compressed bytes to readable data
4 changes: 2 additions & 2 deletions CTng/config/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Contents:
- `types.go`: defines the gossiper and monitor structs which will be be populated by config files (json files)
- `config_loaders.go`: implementation of k-of-n threshold signatures using a BLS library.
- `config/test`: Creates slightly simplified+application specific RSA functions from go's "crypto/rsa" library.
- `config_loaders.go`: contains functions that load configuration settings from json files
- `config/test`: contains the json files that are used for testing

## config_loaders.go:
- Loads the config files for both monitor and gossiper
Expand Down

0 comments on commit 60b6261

Please sign in to comment.