Skip to content

0xkumar/Rust_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple_client

ABOUT

Simple Client runs two commads

simple --mode=cache --times=10
simple --mode=read

=> If the user gives command 1 as input the client listen the USD price of BTC for given number of times and stores the prices in a text file. => If the user gives the commad 2 as input the client fetches the data from the text file and displays on the terminal.

DEMO

  cargo run -- --simple --mode=cache --times=10
  cargo run -- --simple --mode=read

multi_client

ABOUT

In Multi client 5 client processes read values from the websockets for 10 seconds and computes the average and sends the average to the aggregator process. Then the aggregator process waits for the average values from all the 5 clients. After getting the values it computes the average again and displays it on the terminal.

DEMO

  cargo run

##sign_verification

ABOUT

In this sign_verification clients sign their average values and sends the value and signatures to the aggregator upon receiving the signatures the aggregator verfies the signatures.For this verification process ECDSA have been used.

  cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published