Coder Social home page Coder Social logo

dsn's Introduction

Decentralized Storage Network (untitled)

Description

A decentralized storage network built on a blockchain and P2P network.

Usage

Clone the repo

Build

While inside the main directory of the project, type:

./setup.sh

Running

Perform these steps in order

Open three terminals, and they will be refered to as "terminal 1", "terminal 2", and "terminal 3" respectively.

In terminal 2:

cd node2
./node
>> 3333
>> 0
>> n

In terminal 3:

cd node3
./node
>> 4444
>> 0
>> n

In terminal 1:

cd node1
./FAT/fat
>> 1
>> 2 
>> 3
>> 11 -> To see the Blockchain
>> 12 -> Check if the Blockchain is valid (checks proof-of-work, whether the block's hash is valid, and if current block's previous hash equals the previous block's hash)
>> 13 -> Export blockchain for distribution
>> 9
CTRL+C
./node
>> 2222
>> 127.0.0.1
>> 3333
>> 127.0.0.1
>> 4444
>> 0
>> y

From any active node:

>> fetch
>> one

This will demonstrate the features currently implemented. CTRL+C to exit any of the nodes.

dsn's People

Contributors

hjiang4332 avatar earacena avatar erjiale avatar jbalina avatar

Watchers

James Cloos 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.