Fabcoin Core  0.16.2
P2P Digital Currency
main.cpp
Go to the documentation of this file.
1 /*
2  This file is part of cpp-ethereum.
3 
4  cpp-ethereum is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  cpp-ethereum is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>.
16 */
23 #include <boost/test/unit_test.hpp>
24 
25 int trieTest();
26 int rlpTest();
27 int daggerTest();
28 int cryptoTest();
29 int stateTest();
30 int vmTest();
31 int hexPrefixTest();
32 int peerTest(int argc, char** argv);
33 
34 #include <libdevcore/Log.h>
35 #include <libethcore/BlockHeader.h>
36 using namespace std;
37 using namespace dev;
38 using namespace dev::eth;
39 
40 //BOOST_AUTO_TEST_CASE(basic_tests)
41 //{
42 /* RLPStream s;
43  BlockHeader::genesis().streamRLP(s, false);
44  std::cout << RLP(s.out()) << std::endl;
45  std::cout << toHex(s.out()) << std::endl;
46  std::cout << sha3(s.out()) << std::endl;*/
47 
48 // int r = 0;
49 // r += daggerTest();
50 // r += stateTest();
51 // r += peerTest(argc, argv);
52 // BOOST_REQUIRE(!r);
53 //}
54 
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
Definition: Arith256.cpp:15
int hexPrefixTest()
int trieTest()
std::hash for asio::adress
Definition: Common.h:323
int cryptoTest()
int rlpTest()
int peerTest(int argc, char **argv)
Definition: peer.cpp:308
int vmTest()
int daggerTest()
int stateTest()