Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile and test pbft? #1

Open
rupc opened this issue Jan 12, 2018 · 12 comments
Open

How to compile and test pbft? #1

rupc opened this issue Jan 12, 2018 · 12 comments

Comments

@rupc
Copy link

rupc commented Jan 12, 2018

Hi @vonwenm !
I want to test pbft in your repository, but I don't know how to.
Could you explain how to test and to compile your repository?

@manishkk
Copy link

manishkk commented Jan 15, 2018

@rupc even I am trying same from here PBFT but No success.
What about you?

@rupc
Copy link
Author

rupc commented Jan 15, 2018

@manishkk I actually tried this repository from here(See Software section), but failed to deploy. There were many compile errors due to possibly older version of compiler. It seems that this code base is quite old, so It could be hard to find a way to compile without any errors.

@manishkk
Copy link

Totally agree with you. I am also in same situation.

@manishkk
Copy link

@rupc are you trying any other BFT protocol?

@rupc
Copy link
Author

rupc commented Jan 15, 2018

@manishkk yeah, BFT-SMaRt is the recent PBFT-based BFT protocol which is well maintained by the developer. I succeeded at deploying BFT-SMaRt just following their instructions. You can also read the paper. But I'm looking for testing original version of PBFT.

@manishkk
Copy link

@rupc really? even I was trying BFT-SMaRT but can't run successfully.

@manishkk
Copy link

@rupc for BFT-SMaRT, I am getting run time exception and not able to connect to server.
Can you suggest me something?

@rupc
Copy link
Author

rupc commented Jan 15, 2018

@manishkk Sorry for that, I don't have any clue for your error case. You can ask the developer of the BFT-SMaRt.

@manishkk
Copy link

On one Terminal I am running Servers

./runscripts/smartrun.sh bftsmart.demo.counter.CounterServer 0 ./runscripts/smartrun.sh bftsmart.demo.counter.CounterServer 1 ./runscripts/smartrun.sh bftsmart.demo.counter.CounterServer 2 ./runscripts/smartrun.sh bftsmart.demo.counter.CounterServer 3

and on another terminal started client

./runscripts/smartrun.sh bftsmart.demo.counter.CounterClient 1001 1 1001

please correct me If I am following wrong way

@manishkk
Copy link

@rupc can you help me in running BFT-SMaRT? I am still struggling

@rupc
Copy link
Author

rupc commented Jan 18, 2018

@manishkk I don't know exactly your case, sorry for not being helpful. 😧 I'm not developer of BFT-SMaRt in the end, and I was successful few months ago, not now.

@manishkk
Copy link

Thanks @rupc
Working both now. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants