Skip to content

A key value store system backed by blockchain and implements multi-paxos agreement

Notifications You must be signed in to change notification settings

torrancecui/Blockchain-Dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain-Dictionary

A simplified key value store backed by a blockchain.

The program can support up to 5 different servers and up to 3 clients. Consensus among the 5 severs is reached through Multipaxos.

Program execution:

Starting a server from root folder:

//start up server with process id 1
python3 server.py 1

Starting a client from root folder:

//start up client with id 1
python3 client.py 1

Supported commands:

connect

Connects server or client to other running nodes.

put <key> <value>

Inputs key/value pair into the dictionary.

get <key>

Retreives value of given key from dictionary.

failLink <src> <dest>

Simulates a link failure between two server nodes.

fixLink <src> <dest>

Fixes the link failure between two server nodes.

Known Bugs:

User may have to restart environment to avoid "address already in use" error.

Developed by Torrance Cui 2021

About

A key value store system backed by blockchain and implements multi-paxos agreement

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages