bitcoin v0.7 doesn't work with getmemorypool anymore, and getblocknumber was replaced with getblockcount
bitcoin v0.7 doesn't work with getmemorypool anymore, and getblocknumber was replaced with getblockcount