Giter Site home page Giter Site logo

lightx's Introduction

LighTx

LighTx, a cost-effective and scalable transaction logging system. The system builds on the top of Probabilistic Byzantine Reliable broadcast primitive to concurrently and securely commit transactions without relying on consensus protocols.

A Proof-of-Bandwidth protocol in combination with a reputation system are included for public version of LighTx to make it robust against Sybil attack.

This is a TCP-based version of LighTx.

ProbabilisticBroadcast, ProbabilisticConsistentBroadcast and ProbabilisticSecureBroadcast are the three building blocks of Probabilistic Byzantine Reliable broadcast the underlying mechanism for LighTx.

PoB is a basic method we use to measure bandwidth fluctuations for adversaries (Sybil nodes.)

ReputationScoreSystem is a scoring system that determines the global reputation score for peers of the network by taking into account the opinions of all other peers with whom they interact.

Parameters.

To modify the algorithm parameters edit Converter.java. It includes the network size (nodesNbr​), and the different samples sizes (E_SIZE, R_SIZE, D_SIZE..) and the path to transactions' folder (TX_PATH), the convergence thresholds (EPSILON, E_HAT, R_HAT, D_HAT..) and other parameters.

Transactions file.

Each node have a file of transactions to submit. The application parses the file and broadcasts the transactions concurrently.

The transactions are in the form : <recipient ID : Amount>

The transaction file's name should be named after the transaction's sender ID.

Add transactions folder path to (TX_PATH) in Converter.java

Run.

To run the project launch the main function in Launcher.java

lightx's People

Contributors

imaneelabid avatar

Watchers

Karim Boubouh avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.