GithubHelp home page GithubHelp logo

chrisnc / tangaroa Goto Github PK

View Code? Open in Web Editor NEW
112.0 112.0 15.0 111 KB

A toy implementation of the Raft protocol in Haskell, with an experimental BFT variant.

Home Page: http://www.scs.stanford.edu/14au-cs244b/labs/projects/copeland_zhong.pdf

License: BSD 3-Clause "New" or "Revised" License

Haskell 98.26% Shell 1.74%

tangaroa's People

Contributors

chrisnc avatar hongxia 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

tangaroa's Issues

Error when compiling the Tangaroa on Windows7 64-Bit

I have Haskell-platform Version 8.0
and i Downloaded the last Tangaroa-Master in 15 Jun, but when run command "cabal install" on the tangarao.cabal it Replied by the next Error:

cabal: Error: some packages failed to install:
network-2.6.2.1 failed during the configure step. The exception was:
ExitFailure 77

Would you give a hand for this Issue please

Error when compiling the Tangaroa

I downloaded the last version which modified in 2016 05 30 , but the compilation is not completed and i got :
network-2.6.2.1 failed during the configure step. The exception was: ExitFailure 77 network-2.6.2.1

I use Windows 7 with 64-Bit

About using Tangaroa

I am Hatem Salama, i am going to get my degree in using consensus in securing MANET network using my simulator.

I installed Tangaroa on windows 7 64-bit and it is working very well, but when calling the bftraft client it gets the command from the stdIn using "cmd <- getLine" in infinite loop as follows (Client.hs):

getCommand :: IO CommandType
getCommand = do
cmd <- getLine
case words cmd of
["insert", k, v] -> return (Insert k v)
["delete", k] -> return (Delete k)
["set", k, v] -> return (Set k v)
["get", k] -> return (Get k)
_ -> do

But really i need to run client using as taking the different commands from ready created text file which is output of simulator, so that each line contains well defined command of the 4 commands (insert - delete - set - get) and i need to get the output recorded in another text file

Note : I am not powerful in Haskell but i need this modification for my simulator.

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.