Exemplo n.º 1
0
    void run ()
    {
        testVersion ();
        testValues ();
        testStringVersion ();
        testVersionPacking ();

        auto const current_protocol = BuildInfo::getCurrentProtocol ();
        auto const minimum_protocol = BuildInfo::getMinimumProtocol ();

        expect (current_protocol >= minimum_protocol);

        log << "   Divvy Version: " << BuildInfo::getVersionString();
        log << " Protocol Version: " << to_string (current_protocol);
    }
Exemplo n.º 2
0
    void run ()
    {
        testValues ();
        testStringVersion ();
        testVersionPacking ();

        auto const current_protocol = BuildInfo::getCurrentProtocol ();
        auto const minimum_protocol = BuildInfo::getMinimumProtocol ();

        BEAST_EXPECT(current_protocol >= minimum_protocol);

        log <<
            "   Ripple Version: " << BuildInfo::getVersionString() << '\n' <<
            " Protocol Version: " << to_string (current_protocol) << std::endl;
    }