Skip to content

Anconia is a blockchain implementation that uses Avalanche consensus protocol

Notifications You must be signed in to change notification settings

kenchangh/Anconia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anconia

Implementation of the Avalanche consensus protocol. Avalanche is a performant, leaderless, secure consensus protocol.

Setup & Installation

The use of virtualenv is needed to run the project. The project uses Python3.6+.

virtualenv -p python3.6 venv

Then, install the dependencies

pip install -r requirements.txt

Running the testnet

The src/testnet.sh script will spawns a Redis server and local processes that will interact with each other in a peer-to-peer fashion.

These nodes will randomly generate transactions to fill up the blockchain.

cd src
./testnet.sh

# add MAX_NODES to increase the number of nodes in the local network
MAX_NODES=15 ./testnet.sh

Running tests

From the root directory, run the command:

python -m pytest tests

About

Anconia is a blockchain implementation that uses Avalanche consensus protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published