Skip to content

This repo comprises of implementation of various proof types using crypto algorithms. Proof of work is a protocol that has the main goal of deterring cyber-attacks such as a distributed denial-of-service attack (DDoS) which has the purpose of exhausting the resources of a computer system by sending multiple fake requests. Proof of stake will mak…

Notifications You must be signed in to change notification settings

sriharikapu/cryptoalgorthims

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptoalgorthims

POW

Implimentataion of the Proof of work Algorithm using GO Lang

USAGE

  • spew pretty prints your blockchain in Terminal

  • godotenv read your environmental variables from a .env file in your root directory.

run cmd go run pow.go

call function using curl with a pulse rate of 120

POS

Implimentataion of the Proof of stake mining algorithm using GO Lang

USAGE

  • git clone https://github.com/sriharikapu/cryptoalgorthims.git

  • download the go package.

  • run the pos.go file go run pos.go

  • open the new terminal run "ns localhost:9000" for connecting the TCP server.

     Enter the stake  :(Stake to participate in validator pool)
     Enter the BPM :  (bit pulse per min)
    

About

This repo comprises of implementation of various proof types using crypto algorithms. Proof of work is a protocol that has the main goal of deterring cyber-attacks such as a distributed denial-of-service attack (DDoS) which has the purpose of exhausting the resources of a computer system by sending multiple fake requests. Proof of stake will mak…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages