Use the new namecoin-cli command
This commit is contained in:
parent
dc2ae1ef07
commit
8f89f9a726
@ -6,8 +6,8 @@ import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import Data.ByteString.Lazy.Char8 (pack)
|
||||
|
||||
readCommand = readProcess "namecoind" ["name_list"] ""
|
||||
updateCommand n v = readProcessWithExitCode "namecoind" ["name_update", n, v] ""
|
||||
readCommand = readProcess "namecoin-cli" ["name_list"] ""
|
||||
updateCommand n v = readProcessWithExitCode "namecoin-cli" ["name_update", n, v] ""
|
||||
|
||||
data Name = Name { name :: String
|
||||
, value :: String
|
||||
|
Loading…
Reference in New Issue
Block a user