Added new transaction tests for checking miner fees

This commit is contained in:
Marko Simovic
2014-04-03 11:01:03 -04:00
parent cae6132e35
commit da2f0e1d4a
3 changed files with 79 additions and 18 deletions
+9
View File
@@ -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);
}
}