Asynchronous connect. Fixes #7.

This commit is contained in:
Gav Wood 2014-02-01 15:00:17 +00:00
parent f0f391187d
commit 0bdbfae3b8

View File

@ -30,8 +30,17 @@ int stateTest();
int hexPrefixTest(); int hexPrefixTest();
int peerTest(int argc, char** argv); int peerTest(int argc, char** argv);
#include <BlockInfo.h>
using namespace eth;
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
/*RLPStream s;
BlockInfo::genesis().fillStream(s, false);
std::cout << RLP(s.out()) << std::endl;
std::cout << asHex(s.out()) << std::endl;
std::cout << sha3(s.out()) << std::endl;*/
// hexPrefixTest(); // hexPrefixTest();
// rlpTest(); // rlpTest();
trieTest(); trieTest();