Example #1
0
        public static bool VerifyMessage()
        {
            Console.WriteLine("Starting VerifyMessage tests...");

            // Note that this depends on SignMessage having been run...

            Console.WriteLine("VerifyMessage: " + Bitcoind.VerifyMessage("mmx8vJ6F4sBcBuhbEF1UAGevAMmyaSfLxx", _helloSigned, "Hello world"));
            Console.WriteLine("VerifyMessage: " + Bitcoind.VerifyMessage("n1dPhwHRC8jNwUEJD7jThf4RkFVvcYLqmz", _genesisSigned, "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"));

            return(true);
        }