diff options
author | Gav Wood <i@gavwood.com> | 2014-01-23 01:56:03 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-01-23 01:56:03 +0800 |
commit | 803e9920708a0e5824507c427920e478f300fbd3 (patch) | |
tree | 274d8bbe47dfe4cbbd088f7c2c9fabfbf6945ae2 | |
parent | 2b13a04f495a9e81bbf4665ea552e4cbfe766e2a (diff) | |
download | dexon-solidity-803e9920708a0e5824507c427920e478f300fbd3.tar.gz dexon-solidity-803e9920708a0e5824507c427920e478f300fbd3.tar.zst dexon-solidity-803e9920708a0e5824507c427920e478f300fbd3.zip |
Added client API & prototypal GUI.
-rw-r--r-- | peer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |