Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Macros | Functions
eip-8.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <libp2p/NodeTable.h>
#include <libp2p/Host.h>
#include <libp2p/RLPXSocket.h>
#include <libp2p/RLPxHandshake.h>
#include <test/libtesteth/TestHelper.h>
Include dependency graph for eip-8.cpp:

Go to the source code of this file.

Classes

class  TestHandshake
 

Macros

#define throwErrorCode(what, error)   { if (error) BOOST_THROW_EXCEPTION(Exception(what + _ec.message())); }
 

Functions

 BOOST_AUTO_TEST_CASE (test_discovery_packets)
 
 BOOST_AUTO_TEST_CASE (test_handshake_plain_auth)
 
 BOOST_AUTO_TEST_CASE (test_handshake_eip8_auth1)
 
 BOOST_AUTO_TEST_CASE (test_handshake_eip8_auth2)
 
 BOOST_AUTO_TEST_CASE (test_handshake_eip8_ack_plain)
 
 BOOST_AUTO_TEST_CASE (test_handshake_eip8_ack1)
 
 BOOST_AUTO_TEST_CASE (test_handshake_eip8_ack2)
 

Macro Definition Documentation

#define throwErrorCode (   what,
  error 
)    { if (error) BOOST_THROW_EXCEPTION(Exception(what + _ec.message())); }

Definition at line 347 of file eip-8.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( test_discovery_packets  )

Definition at line 37 of file eip-8.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( test_handshake_plain_auth  )

Definition at line 160 of file eip-8.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( test_handshake_eip8_auth1  )

Definition at line 187 of file eip-8.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( test_handshake_eip8_auth2  )

Definition at line 217 of file eip-8.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( test_handshake_eip8_ack_plain  )

Definition at line 248 of file eip-8.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( test_handshake_eip8_ack1  )

Definition at line 274 of file eip-8.cpp.

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( test_handshake_eip8_ack2  )

Definition at line 307 of file eip-8.cpp.

Here is the call graph for this function: