I am relatively new to Blockchains and when I execute the following command I am getting an error.
contract mortal {
address owner;
function mortal() {
owner = msg.sender;
}
function kill() {
if(msg.sender == owner) suicide(owner);
}
}
contract greeter is mortal {
string greeting;
function greeter(string _greeting) public {
greeting = _greeting;
}
function greet() constant returns (string) {
return greeting;
}
}
web3.eth.compile.solidity(greeterSource)
Invalid JSON RPC response: undefined
at InvalidResponse (:-81076:-41)
at send (:-154580:-41)
at solidity (:-131712:-41)
at :1:1**
What is going wrong?