diff options
author | Gav Wood <i@gavwood.com> | 2014-01-23 07:18:12 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-01-23 07:18:12 +0800 |
commit | 7c9a1238b76d4dd9180a198e243750a35f732a32 (patch) | |
tree | 30fdd76963a150b4ec109603b49ff5e68523fa04 /peer.cpp | |
parent | 803e9920708a0e5824507c427920e478f300fbd3 (diff) | |
download | dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar.gz dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar.bz2 dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar.lz dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar.xz dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.tar.zst dexon-solidity-7c9a1238b76d4dd9180a198e243750a35f732a32.zip |
GUI & network stuff.
Diffstat (limited to 'peer.cpp')
-rw-r--r-- | peer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,7 +46,7 @@ int peerTest(int argc, char** argv) } BlockChain ch("/tmp"); - PeerServer pn(ch, 0, listenPort); + PeerServer pn("Test", ch, 0, listenPort); if (!remoteHost.empty()) pn.connect(remoteHost, remotePort); @@ -54,7 +54,7 @@ int peerTest(int argc, char** argv) for (int i = 0; ; ++i) { usleep(100000); - pn.process(); + pn.process(ch); if (!(i % 10)) pn.pingAll(); } |