示例#1
0
        public static void SendTransactionAndMine(CoreNode scSender, CoreNode scReceiver, WalletController senderWalletController, string responseHex)
        {
            senderWalletController.SendTransaction(new SendTransactionRequest
            {
                Hex = responseHex
            });
            TestHelper.WaitLoop(() => scReceiver.CreateRPCClient().GetRawMempool().Length > 0);

            scReceiver.GenerateStratisWithMiner(2);
            TestHelper.WaitLoop(() => TestHelper.AreNodesSynced(scReceiver, scSender));
        }