From da2f0e1d4a67dd25060274ac1e13118e2f1d38fa Mon Sep 17 00:00:00 2001 From: Marko Simovic Date: Thu, 3 Apr 2014 11:01:03 -0400 Subject: Added new transaction tests for checking miner fees --- TestHelper.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'TestHelper.cpp') diff --git a/TestHelper.cpp b/TestHelper.cpp index e33c105b..54cb84cc 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -37,4 +37,13 @@ void mine(Client& c, int numBlocks) c.stopMining(); } +void connectClients(Client& c1, Client& c2) +{ + short c1Port = 20000; + short c2Port = 21000; + c1.startNetwork(c1Port); + c2.startNetwork(c2Port); + c2.connect("127.0.0.1", c1Port); +} + } -- cgit