aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-01-23 01:56:03 +0800
committerGav Wood <i@gavwood.com>2014-01-23 01:56:03 +0800
commit803e9920708a0e5824507c427920e478f300fbd3 (patch)
tree274d8bbe47dfe4cbbd088f7c2c9fabfbf6945ae2
parent2b13a04f495a9e81bbf4665ea552e4cbfe766e2a (diff)
downloaddexon-solidity-803e9920708a0e5824507c427920e478f300fbd3.tar.gz
dexon-solidity-803e9920708a0e5824507c427920e478f300fbd3.tar.zst
dexon-solidity-803e9920708a0e5824507c427920e478f300fbd3.zip
Added client API & prototypal GUI.
-rw-r--r--peer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/peer.cpp b/peer.cpp
index 64998fd5..14bf790e 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -20,6 +20,7 @@
* Peer Network test functions.
*/
+#include <BlockChain.h>
#include <PeerNetwork.h>
using namespace std;
using namespace eth;
@@ -44,7 +45,8 @@ int peerTest(int argc, char** argv)
remoteHost = argv[i];
}
- PeerServer pn(0, listenPort);
+ BlockChain ch("/tmp");
+ PeerServer pn(ch, 0, listenPort);
if (!remoteHost.empty())
pn.connect(remoteHost, remotePort);