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