Coder Social home page Coder Social logo

james-qiuhaoran / structured-p2p-overlay-network Goto Github PK

View Code? Open in Web Editor NEW
24.0 8.0 5.0 58.1 MB

Final Year Project @HKU Department of Computer Science | HGFRR includes a new peer-to-peer network protocol that improves communication efficiency and security among peers, and an implementation of a fast, secure blockchain system on top of this P2P network.

Home Page: https://i.cs.hku.hk/fyp/2018/fyp18006/

License: GNU General Public License v3.0

Go 2.45% Dockerfile 0.08% Makefile 0.20% Shell 13.13% Python 39.65% C 0.12% C++ 31.16% CMake 0.46% TeX 12.75% Batchfile 0.01%
blockchain sgx sgx-enclave bitcoin peer-to-peer p2p p2p-network ethereum byzantine distributed-systems

structured-p2p-overlay-network's Introduction

Augmenting Blockchain System Efficiency and Security with the Intel SGX Facilitated P2P Overlay Network

Final Year Project @ Department of Computer Science, HKU

Team Member: Haoran Qiu, Tao Ji

Supervisor: Dr. Heming Cui

Introduction

Blockchain is essentially a public decentralized ledger that securely records transactions between parties anonymously. The key component is to reach agreement among a group of nodes, i.e., consensus. However, based on current Peer-to-Peer network, the broadcast operation is inefficient. Increasing transaction rate leads to traffic congestion.

Intel SGX is a technology which protects code and execution integrity from hardware perspective. It provides chances to modify the network protocol and store some routing information, in order to reduce as many messages as possible and meanwhile retain the properties required by the blockchain application on top of the network.

This project targets this weakness of the P2P network under blockchain systems, designing and implementing a new protocol in the Peer-to-Peer network which achieves effciency and do not sacrifice any security or any other required properties.

Implementation

C++ version implementation of the p2p network, see libgfrp2p.

Miscellaneous

structured-p2p-overlay-network's People

Contributors

chris-tkwang avatar dependabot[bot] avatar jitaogithub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

structured-p2p-overlay-network's Issues

testing

how do you get these values

23d506be-3ac6-4ac5-b57c-7332dd2d2d2f
can you send the steps we need to follow to find this values for creating the graphs .

2246e935-df97-4a0a-a160-5f38ea0402b3

Hgfr.txt is not found in docker

We executed the shell programs in docker but when we try to execute eval.sh we found some error the main one is its calling a file named hgfr*.tex but it's not fond .can u help us to find it . And how can we implement a communication between server and client with docker.

How we genarate a hgfr.txt
IMG_20210506_130612
IMG_20210506_140911

fring argument

app_eth eval_client eval_server. what is the use of this command how it works
WhatsApp Image 2021-04-12 at 10 39 31

how to use the command #deploy.sh

we run the command
deploy.sh 180

but we get some error message
am attaching the screenshot with this

can u tell me the steps we follow to use it in the correct way and use of it
f2a369ce-27ac-4558-8fc2-5eb7c3736f29

how to deploy

how we use the command deploy.sh
235ffaf7-8393-43fe-84e2-21cc03c995a3
can you explain the working of this program and use of it and step we need to follow to work this properly

steps of command to use

#sudo apt install bc
is not working
#5

can u sent the steps of command
how to generate "hgfr" files for analysis

sir can u sent the steps and commend we need to use to work this in proper way and the inputs and out puts

sir
we created 3 docker environments in docker (sever ,client and another one ). we run the command
WhatsApp Image 2021-05-07 at 12 44 29 PM (1)
WhatsApp Image 2021-05-07 at 12 44 29 PM
WhatsApp Image 2021-05-07 at 12 44 28 PM (2)
WhatsApp Image 2021-05-07 at 12 44 28 PM (3)
WhatsApp Image 2021-05-07 at 12 44 28 PM (4)

we run this in client container
first we run this command
 ./bootstrap.shand 

WhatsApp Image 2021-05-07 at 12 44 27 PM (1)

we get a log named
2021-05-07-06-17-36

then we run the
./eval.sh 10
the input is 10
WhatsApp Image 2021-05-07 at 12 44 27 PM

am attaching the out puts we get with it
when we run the second command we get also a error message
./eval.sh: line 38: bc: command not found

.
if u don't mind can u tell the steps we need to follow to run it in correct way
i know you rare a bc person .can u help us

the commands we need to use in odder
and in proper way

Originally posted by @thoufeeqmaheen in #5 (comment)

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.