Git Product home page Git Product logo

boolberry's People

Contributors

adobryn avatar clintar avatar cryptozoidberg avatar dave-andersen avatar hmel avatar jahrsg avatar lucasjones avatar mariu5 avatar nixman avatar pcdinh avatar pravaga avatar sowle avatar wnntaler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boolberry's Issues

Problem with connection start, with scaring red lines,

Appears on linux:

014-May-15 21:35:24.582790 [P2P4]ERROR /home/project/boolberry/contrib/epee/include/net/abstract_tcp_server2.inl:732[bool epee::net_utils::boosted_tcp_server<t_protocol_handler>::connect(const string&, const string&, uint32_t, epee::net_utils::boosted_tcp_server<t_protocol_handler>::t_connection_context&, const string&) [with t_protocol_handler = epee::levin::async_protocol_handlernodetool::p2p_connection_context_t<currency::currency_connection_context >; std::string = std::basic_string; uint32_t = unsigned int; epee::net_utils::boosted_tcp_server<t_protocol_handler>::t_connection_context = nodetool::p2p_connection_context_tcurrency::currency_connection_context]][sock -1] Failed to start connection, connections_count = 4

cannot compile BBR on Ubuntu 20.04 focal

@cryptozoidberg pls help, cannot compile BBR on Ubuntu 20.04 focal

using compile steps from:
https://github.com/cryptozoidberg/boolberry

during make daemon simplewallet step (same errors with Clang)

errors
#1 contrib/epee/include/net/abstract_tcp_server2.inl:173:20 error: ‘boost::asio::ip::tcp::socket’ {aka ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp’} has no member named ‘get_io_service’

#2 contrib/epee/include/net/abstract_tcp_server2.inl:277:28: error: ‘boost::asio::ip::tcp::socket’ {aka ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp’} has no member named ‘get_io_service’
277 | size_t cnt = socket_.get_io_service().run_one();

#3 contrib/epee/include/net/abstract_tcp_server2.inl:287:28: error: ‘boost::asio::ip::tcp::socket’ {aka ‘class boost::asio::basic_stream_socketboost::asio::ip::tcp’} has no member named ‘get_io_service’
287 | size_t cnt = socket_.get_io_service().poll_one();

Build fails on gcc7 with -Werror

Similar to a lot of other bytecoin-derived coins, the build fails on gcc7. The kludge is to remove -Werror. Up to you if you want to do something more substantive about it, but most rolling-release distros are on gcc7 now so it ought not just be ignored.

128 bit difficulty checks are buggy

While looking at Boolberry's 128 bit difficulty patch to use it in Monero, I noticed it has a few bugs. See monero-project/monero#5239 which hopefully is all fixed. Mostly:

  • hashVal << 64 should be hashVal <<= 64
  • hashVal <<= 64 should be swapped with the other line in the loop
  • hashVal * difficulty > max256bit should be hashVal * difficulty <= max256bit

I think that's it, but I did not build Boolberry so can't be sure. I also extended the tests to test the 128 bit area (see the PR above), which found all these. Feel free to copy.

strncpy should have size-1 as n

The compiler also throws an error:

boolberry/contrib/miniupnpc/minissdpc.c:66:2: error: ‘strncpy’ specified bound 108 equals destination size [-Werror=stringop-truncation]
  strncpy(addr.sun_path, socketpath, sizeof(addr.sun_path));
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

The "n-1" is needed because the final "0" needs to be there -- otherwise the final "0" is not written. This is a serious, memory overflow, bug.

Error when compiling source code (2014-05-23)

I got the following errors:

[ 81%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/test_protocol_pack.cpp.o
[ 82%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/test_format_utils.cpp.o
[ 83%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/alias_validating.cpp.o
[ 84%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/scratchpad_utils.cpp.o
[ 85%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/decompose_amount_into_digits.cpp.o
[ 86%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/epee_levin_protocol_handler_async.cpp.o
[ 88%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/epee_boosted_tcp_server.cpp.o
[ 89%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/test_peerlist.cpp.o
[ 90%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/block_reward.cpp.o
[ 91%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/serialization.cpp.o
[ 92%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/wallet_select_transfers_test.cpp.o
In file included from /home/user1/boolberry/src/currency_core/currency_basic.h:19:0,
                 from /home/user1/boolberry/src/currency_core/account.h:7,
                 from /home/user1/boolberry/src/wallet/wallet2.h:13,
                 from /home/user1/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:
/home/user1/boolberry/src/rpc/core_rpc_server_commands_defs.h: In static member function ‘static bool currency::alias_rpc_details::serialize_map(this_type&, t_storage&, typename t_storage::hsection)’:
/home/user1/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:36: error: ‘namespace_accessor’ was not declared in this scope
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                    ^
/home/user1/boolberry/src/rpc/core_rpc_server_commands_defs.h:477:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
/home/user1/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:36: note: suggested alternative:
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                    ^
/home/user1/boolberry/src/rpc/core_rpc_server_commands_defs.h:477:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
In file included from /home/user1/boolberry/src/currency_core/currency_basic.h:24:0,
                 from /home/user1/boolberry/src/currency_core/account.h:7,
                 from /home/user1/boolberry/src/wallet/wallet2.h:13,
                 from /home/user1/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:
/home/user1/boolberry/contrib/epee/include/misc_language.h:54:9: note:   ‘epee::namespace_accessor’
   class namespace_accessor: public base_class{};
         ^
In file included from /home/user1/boolberry/src/currency_core/currency_basic.h:19:0,
                 from /home/user1/boolberry/src/currency_core/account.h:7,
                 from /home/user1/boolberry/src/wallet/wallet2.h:13,
                 from /home/user1/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:
/home/user1/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:55: error: expected primary-expression before ‘decltype’
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                                       ^
/home/user1/boolberry/src/rpc/core_rpc_server_commands_defs.h:477:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
/home/user1/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:55: error: expected ‘;’ before ‘decltype’
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                                       ^
/home/user1/boolberry/src/rpc/core_rpc_server_commands_defs.h:477:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
In file included from /home/user1/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:0:
/home/user1/boolberry/src/wallet/wallet2.h: In member function ‘void tools::wallet2::transfer(const std::vector<currency::tx_destination_entry>&, size_t, uint64_t, uint64_t, T, const tools::tx_dust_policy&, currency::transaction&, uint8_t)’:
/home/user1/boolberry/src/wallet/wallet2.h:309:16: error: ‘net_utils’ has not been declared
       bool r = net_utils::invoke_http_bin_remote_command2(m_daemon_address + "/getrandom_outs.bin", req, daemon_resp, m_http_client, 200000);
                ^
/home/user1/boolberry/src/wallet/wallet2.h:405:9: error: ‘net_utils’ has not been declared
     r = net_utils::invoke_http_json_remote_command2(m_daemon_address + "/sendrawtransaction", req, daemon_send_resp, m_http_client, 200000);
         ^
make[3]: *** [tests/CMakeFiles/unit_tests.dir/unit_tests/wallet_select_transfers_test.cpp.o] Error 1
make[3]: Leaving directory `/home/user1/boolberry/build/release'
make[2]: *** [tests/CMakeFiles/unit_tests.dir/all] Error 2
make[2]: Leaving directory `/home/user1/boolberry/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user1/boolberry/build/release'
make: *** [build-release] Error 2

Reconnect does not work

When there is a long network outage, boolbd fails to automatically connect to nodes. print_cn shows zero nodes.

Build fails on gcc7 (Serialization macros)

/home/paul/sw/mining/bbr/src/boolberry/src/serialization/serialization.h: In member function ‘bool serializable_pair<first_type, second_type>::do_serialize_object(Archive&)’:
/home/paul/sw/mining/bbr/src/boolberry/src/serialization/serialization.h:110:11: error: ‘first’ was not declared in this scope
FIELD(first)

I looked at the preprocessor's output and I'm not sure how this ever compiled, so not sure how to fix. I'm not a c++ guy though.

Unable to compile on Windows 64 bit

Hi,

I use cmake to configure the project properly (boost 1.55, cmake 2.8, Visual Studio 11)

However, when I excuted make or (mingw32-make), I got the following output

D:\eclipseprojects\boolberry>make
mkdir -p build/release
The syntax of the command is incorrect.
Makefile:16: recipe for target 'cmake-release' failed
make: *** [cmake-release] Error 1

D:\eclipseprojects\boolberry>make
mkdir -p build/release
The syntax of the command is incorrect.
Makefile:16: recipe for target 'cmake-release' failed
make: *** [cmake-release] Error 1

Administrational Issue

Sorry for highjacking this issue.

There have been some people impersonating you on bbrproject.slack.com. I will ban anone assuming your identity. Contact me, when you want to join.

Unable to compile on Mac

Hi,

I just cloned the latest source code and try to compile on Mac. It failed

Here is part of log:

Scanning dependencies of target hash-tests
[ 42%] Building CXX object tests/CMakeFiles/hash-tests.dir/hash/main.cpp.o
Linking CXX executable hash-tests
[ 42%] Built target hash-tests
Scanning dependencies of target gtest
[ 43%] Building CXX object tests/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
4 warnings generated.
Linking CXX static library librpc.a
[ 43%] Built target rpc
[ 44%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/currency_basic_impl.cpp.o
In file included from /Users/dinhpham/coins/forceberry/tests/gtest/src/gtest-all.cc:42:
In file included from /Users/dinhpham/coins/forceberry/tests/gtest/src/gtest.cc:132:
/Users/dinhpham/coins/forceberry/tests/gtest/src/gtest-internal-inl.h:206:8: warning: private field 'pretty_' is not used [-Wunused-private-field]
  bool pretty_;
       ^
1 warning generated.
Linking CXX static library libgtest.a
[ 44%] Built target gtest
[ 46%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/currency_core.cpp.o
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_basic_impl.cpp:13:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:13:
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:68:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) {
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:103:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) 
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:105:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
      for (size_t i = 0; i < rsizw; i++)
                         ~ ^ ~~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:127:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < rsizw; i++)
                       ~ ^ ~~~~~
Scanning dependencies of target gtest_main
[ 47%] Building CXX object tests/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
4 warnings generated.
[ 48%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/currency_format_utils.cpp.o
Linking CXX static library libgtest_main.a
[ 48%] Built target gtest_main
[ 49%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/difficulty.cpp.o
In file included from /Users/dinhpham/coins/forceberry/src/wallet/wallet_rpc_server.cpp:9:
In file included from /Users/dinhpham/coins/forceberry/src/wallet/wallet_rpc_server.h:11:
In file included from /Users/dinhpham/coins/forceberry/src/wallet/wallet2.h:19:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:13:
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:68:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) {
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:103:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) 
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:105:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
      for (size_t i = 0; i < rsizw; i++)
                         ~ ^ ~~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:127:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < rsizw; i++)
                       ~ ^ ~~~~~
[ 50%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/miner.cpp.o
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_core.cpp:12:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_core.h:15:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/blockchain_storage.h:23:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:13:
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:68:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) {
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:103:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) 
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:105:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
      for (size_t i = 0; i < rsizw; i++)
                         ~ ^ ~~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:127:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < rsizw; i++)
                       ~ ^ ~~~~~
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.cpp:9:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:13:
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:68:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) {
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:103:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) 
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:105:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
      for (size_t i = 0; i < rsizw; i++)
                         ~ ^ ~~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:127:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < rsizw; i++)
                       ~ ^ ~~~~~
/Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.cpp:918:70: error: illegal character encoding in string literal [-Werror,-Winvalid-source-encoding]
    std::string proof = "The Times, May 10 2014: Great Recession wasn<92>t so bad . . . for lawyers, accountants and bankers";
                                                                     ^~~~
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/miner.cpp:16:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:13:
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:68:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) {
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:103:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) 
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:105:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
      for (size_t i = 0; i < rsizw; i++)
                         ~ ^ ~~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:127:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < rsizw; i++)
                       ~ ^ ~~~~~
4 warnings and 1 error generated.
make[3]: *** [src/CMakeFiles/currency_core.dir/currency_core/currency_format_utils.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
4 warnings generated.
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:103:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for ( ; inlen >= rsiz; inlen -= rsiz, in += rsiz) 
            ~~~~~ ^  ~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:152:5: note: in instantiation of function template specialization 'crypto::wild_keccak<crypto::mul_f, <lambda at
      /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:175:147> >' requested here
    wild_keccak<f_traits>(in, inlen, md, mdlen, cb);
    ^
/Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:175:13: note: in instantiation of function template specialization 'crypto::wild_keccak_dbl<crypto::mul_f,
      <lambda at /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:175:147> >' requested here
    crypto::wild_keccak_dbl<crypto::mul_f>(reinterpret_cast<const uint8_t*>(bd.data()), bd.size(), reinterpret_cast<uint8_t*>(&res), sizeof(res), [&](crypto::state_t_m& st, ...
            ^
/Users/dinhpham/coins/forceberry/src/currency_core/miner.cpp:362:7: note: in instantiation of function template specialization 'currency::get_blob_longhash<<lambda at
      /Users/dinhpham/coins/forceberry/src/currency_core/miner.cpp:362:48> >' requested here
      get_blob_longhash(block_blob, h, height, [&](uint64_t index) -> crypto::hash&
      ^
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/miner.cpp:16:
In file included from /Users/dinhpham/coins/forceberry/src/currency_core/currency_format_utils.h:13:
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:105:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
      for (size_t i = 0; i < rsizw; i++)
                         ~ ^ ~~~~~
/Users/dinhpham/coins/forceberry/src/crypto/wild_keccak.h:127:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < rsizw; i++)
                       ~ ^ ~~~~~
4 warnings generated.
Linking CXX static library libwallet.a
[ 50%] Built target wallet
7 warnings generated.
make[2]: *** [src/CMakeFiles/currency_core.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build-release] Error 2

scratchpad saving option

Hi, I'd like to have the ability to change the frequency or turn off blockchain saving, since it blocks access to daemon's rpc calls. I could run another daemon on a different machine that saves periodically and just sync that over instead.

Som warnings when being compiled on Mac

FYI

Scanning dependencies of target version
Scanning dependencies of target upnpc-static
Scanning dependencies of target common
Scanning dependencies of target currency_core
[  1%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/igd_desc_parse.c.o
[  1%] [  2%] Built target version
Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/miniupnpc.c.o
Scanning dependencies of target crypto
[  3%] Building C object src/CMakeFiles/crypto.dir/crypto/chacha8.c.o
[  4%] Building C object src/CMakeFiles/crypto.dir/crypto/crypto-ops-data.c.o
[  5%] Building C object src/CMakeFiles/crypto.dir/crypto/crypto-ops.c.o
[  6%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/minixml.c.o
[  7%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/minisoap.c.o
[  8%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/miniwget.c.o
[ 10%] Building CXX object src/CMakeFiles/crypto.dir/crypto/crypto.cpp.o
[ 11%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o
[ 12%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnpcommands.c.o
[ 13%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnpreplyparse.c.o
[ 14%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/upnperrors.c.o
[ 15%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/connecthostport.c.o
[ 16%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/portlistingparse.c.o
[ 17%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/receivedata.c.o
[ 19%] Building C object contrib/miniupnpc/CMakeFiles/upnpc-static.dir/minissdpc.c.o
Linking C static library libminiupnpc.a
In file included from /Users/dinhpham/coins/boolberry/src/crypto/crypto.cpp:16:
/Users/dinhpham/coins/boolberry/src/crypto/crypto.h:29:10: warning: private field 'data' is not used [-Wunused-private-field]
    char data[32];
         ^
1 warning generated.
[ 20%] Building C object src/CMakeFiles/crypto.dir/crypto/hash.c.o
[ 21%] Building C object src/CMakeFiles/crypto.dir/crypto/keccak.c.o
[ 22%] [ 22%] Built target upnpc-static
Building C object src/CMakeFiles/crypto.dir/crypto/random.c.o
[ 23%] Building C object src/CMakeFiles/crypto.dir/crypto/tree-hash.c.o
[ 24%] Building CXX object src/CMakeFiles/crypto.dir/crypto/wild_keccak.cpp.o
Scanning dependencies of target rpc
In file included from /Users/dinhpham/coins/boolberry/src/crypto/wild_keccak.cpp:11:
In file included from /Users/dinhpham/coins/boolberry/src/crypto/wild_keccak.h:13:
/Users/dinhpham/coins/boolberry/src/crypto/crypto.h:25:10: warning: private field 'data' is not used [-Wunused-private-field]
    char data[32];
         ^
/Users/dinhpham/coins/boolberry/src/crypto/crypto.h:29:10: warning: private field 'data' is not used [-Wunused-private-field]
    char data[32];
         ^
2 warnings generated.
Linking CXX static library libcrypto.a
[ 24%] Built target crypto
Scanning dependencies of target wallet
[ 25%] Building CXX object src/CMakeFiles/common.dir/common/base58.cpp.o
[ 26%] Building CXX object src/CMakeFiles/wallet.dir/wallet/wallet2.cpp.o
[ 28%] Building CXX object src/CMakeFiles/rpc.dir/rpc/core_rpc_server.cpp.o
[ 29%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/account.cpp.o
In file included from /Users/dinhpham/coins/boolberry/src/common/base58.cpp:14:
In file included from /Users/dinhpham/coins/boolberry/src/common/util.h:11:
/Users/dinhpham/coins/boolberry/src/crypto/crypto.h:29:10: warning: private field 'data' is not used [-Wunused-private-field]
    char data[32];
         ^
1 warning generated.
[ 30%] Building CXX object src/CMakeFiles/common.dir/common/command_line.cpp.o
[ 31%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/blockchain_storage.cpp.o
[ 32%] Building CXX object src/CMakeFiles/common.dir/common/util.cpp.o
[ 33%] Building CXX object src/CMakeFiles/wallet.dir/wallet/wallet_rpc_server.cpp.o
Linking CXX static library librpc.a
[ 34%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/checkpoints.cpp.o
[ 34%] Built target rpc
Scanning dependencies of target crypto-tests
[ 35%] Building C object tests/CMakeFiles/crypto-tests.dir/crypto/crypto-ops-data.c.o
[ 37%] Building C object tests/CMakeFiles/crypto-tests.dir/crypto/crypto-ops.c.o
In file included from /Users/dinhpham/coins/boolberry/src/common/util.cpp:10:
In file included from /Users/dinhpham/coins/boolberry/src/common/util.h:11:
/Users/dinhpham/coins/boolberry/src/crypto/crypto.h:29:10: warning: private field 'data' is not used [-Wunused-private-field]
    char data[32];
         ^
[ 38%] Building CXX object tests/CMakeFiles/crypto-tests.dir/crypto/crypto.cpp.o
In file included from /Users/dinhpham/coins/boolberry/tests/crypto/crypto.cpp:5:
In file included from /Users/dinhpham/coins/boolberry/src/crypto/crypto.cpp:16:
/Users/dinhpham/coins/boolberry/src/crypto/crypto.h:29:10: warning: private field 'data' is not used [-Wunused-private-field]
    char data[32];
         ^
1 warning generated.
1 warning generated.
Linking CXX static library libcommon.a
[ 39%] Building C object tests/CMakeFiles/crypto-tests.dir/crypto/hash.c.o
[ 40%] Building CXX object tests/CMakeFiles/crypto-tests.dir/crypto/main.cpp.o
[ 40%] Built target common
Scanning dependencies of target hash-tests
[ 41%] Building CXX object tests/CMakeFiles/hash-tests.dir/hash/main.cpp.o
Linking CXX executable hash-tests
[ 42%] Building C object tests/CMakeFiles/crypto-tests.dir/crypto/random.c.o
Linking CXX executable crypto-tests
[ 43%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/currency_basic_impl.cpp.o
[ 43%] Built target hash-tests
Scanning dependencies of target gtest
[ 44%] Building CXX object tests/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 44%] Built target crypto-tests
[ 46%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/currency_core.cpp.o
In file included from /Users/dinhpham/coins/boolberry/tests/gtest/src/gtest-all.cc:42:
In file included from /Users/dinhpham/coins/boolberry/tests/gtest/src/gtest.cc:132:
/Users/dinhpham/coins/boolberry/tests/gtest/src/gtest-internal-inl.h:206:8: warning: private field 'pretty_' is not used [-Wunused-private-field]
  bool pretty_;
       ^
1 warning generated.
Linking CXX static library libgtest.a
[ 46%] Built target gtest
Scanning dependencies of target gtest_main
[ 47%] Building CXX object tests/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
Linking CXX static library libgtest_main.a
[ 47%] Built target gtest_main
[ 48%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/currency_format_utils.cpp.o
[ 49%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/difficulty.cpp.o
[ 50%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/miner.cpp.o
[ 51%] Building CXX object src/CMakeFiles/currency_core.dir/currency_core/tx_pool.cpp.o
Linking CXX static library libwallet.a
[ 51%] Built target wallet
Linking CXX static library libcurrency_core.a
[ 51%] Built target currency_core
Scanning dependencies of target connectivity_tool
Scanning dependencies of target daemon
Scanning dependencies of target core_proxy
Scanning dependencies of target simplewallet
[ 52%] Building CXX object tests/CMakeFiles/core_proxy.dir/core_proxy/core_proxy.cpp.o
Linking CXX executable core_proxy
[ 52%] Built target core_proxy
Scanning dependencies of target coretests
[ 53%] Building CXX object src/CMakeFiles/connectivity_tool.dir/connectivity_tool/conn_tool.cpp.o
[ 55%] Building CXX object src/CMakeFiles/simplewallet.dir/simplewallet/password_container.cpp.o
[ 56%] Building CXX object src/CMakeFiles/daemon.dir/daemon/daemon.cpp.o
[ 57%] Building CXX object src/CMakeFiles/simplewallet.dir/simplewallet/simplewallet.cpp.o
[ 58%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/alias_tests.cpp.o
[ 59%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/block_reward.cpp.o
Linking CXX executable connectivity_tool
Linking CXX executable simplewallet
[ 60%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/block_validation.cpp.o
[ 60%] Built target connectivity_tool
Scanning dependencies of target difficulty-tests
[ 61%] Building CXX object tests/CMakeFiles/difficulty-tests.dir/difficulty/difficulty.cpp.o
Linking CXX executable difficulty-tests
[ 61%] Built target difficulty-tests
[ 62%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/chain_split_1.cpp.o
Linking CXX executable boolbd
[ 62%] Built target simplewallet
Scanning dependencies of target functional_tests
[ 64%] Building CXX object tests/CMakeFiles/functional_tests.dir/functional_tests/main.cpp.o
[ 65%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/chain_switch_1.cpp.o
Scanning dependencies of target hash-target-tests
[ 66%] Building CXX object tests/CMakeFiles/hash-target-tests.dir/hash-target.cpp.o
Linking CXX executable hash-target-tests
[ 66%] Built target hash-target-tests
Scanning dependencies of target net_load_tests_clt
[ 67%] Building CXX object tests/CMakeFiles/net_load_tests_clt.dir/net_load_tests/clt.cpp.o
[ 68%] Building CXX object tests/CMakeFiles/functional_tests.dir/functional_tests/miniupnp_test.cpp.o
[ 69%] Building CXX object tests/CMakeFiles/functional_tests.dir/functional_tests/transactions_flow_test.cpp.o
In file included from /Users/dinhpham/coins/boolberry/tests/net_load_tests/clt.cpp:19:
/Users/dinhpham/coins/boolberry/tests/net_load_tests/net_load_tests.h:175:14: warning: private field 'm_open_request_target' is not used [-Wunused-private-field]
    uint64_t m_open_request_target;
             ^
[ 70%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/chaingen.cpp.o
[ 70%] Built target daemon
Scanning dependencies of target net_load_tests_srv
[ 71%] Building CXX object tests/CMakeFiles/net_load_tests_srv.dir/net_load_tests/srv.cpp.o
1 warning generated.
Linking CXX executable net_load_tests_clt
[ 73%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/chaingen001.cpp.o
[ 74%] Building CXX object tests/CMakeFiles/functional_tests.dir/functional_tests/transactions_generation_from_blockchain.cpp.o
[ 74%] Built target net_load_tests_clt
Scanning dependencies of target performance_tests
[ 75%] Building CXX object tests/CMakeFiles/performance_tests.dir/performance_tests/main.cpp.o
In file included from /Users/dinhpham/coins/boolberry/tests/net_load_tests/srv.cpp:12:
/Users/dinhpham/coins/boolberry/tests/net_load_tests/net_load_tests.h:175:14: warning: private field 'm_open_request_target' is not used [-Wunused-private-field]
    uint64_t m_open_request_target;
             ^
Linking CXX executable performance_tests
1 warning generated.
Linking CXX executable net_load_tests_srv
[ 75%] Built target performance_tests
[ 76%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/chaingen_main.cpp.o
[ 77%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/double_spend.cpp.o
Linking CXX executable functional_tests
[ 77%] Built target net_load_tests_srv
Scanning dependencies of target unit_tests
[ 78%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/base58.cpp.o
[ 79%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/basic_struct_packing.cpp.o
[ 80%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/block_reward.cpp.o
[ 80%] Built target functional_tests
[ 82%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/integer_overflow.cpp.o
[ 83%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/ring_signature_1.cpp.o
[ 84%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/chacha8.cpp.o
[ 85%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/decompose_amount_into_digits.cpp.o
[ 86%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/epee_boosted_tcp_server.cpp.o
[ 87%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/transaction_tests.cpp.o
[ 88%] Building CXX object tests/CMakeFiles/coretests.dir/core_tests/tx_validation.cpp.o
[ 89%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/epee_levin_protocol_handler_async.cpp.o
[ 91%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/get_xtype_from_string.cpp.o
[ 92%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/main.cpp.o
[ 93%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/mul_div.cpp.o
[ 94%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/parse_amount.cpp.o
[ 95%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/scratchpad_utils.cpp.o
[ 96%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/serialization.cpp.o
Linking CXX executable coretests
[ 97%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/test_format_utils.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/test_peerlist.cpp.o
[100%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/test_protocol_pack.cpp.o
In file included from /Users/dinhpham/coins/boolberry/tests/unit_tests/test_peerlist.cpp:7:
In file included from /Users/dinhpham/coins/boolberry/src/common/util.h:11:
/Users/dinhpham/coins/boolberry/src/crypto/crypto.h:29:10: warning: private field 'data' is not used [-Wunused-private-field]
    char data[32];
         ^
1 warning generated.
Linking CXX executable unit_tests

Blockchain database

It would be great if BoolBerry can store blockchain into an embedded database like Sophia, the fatest one at the moment https://github.com/pmwkaa/sophia (much faster than LevelDB).

The problem with our current data store is that the Boost serialization is not cross platform compatible.

Sophia will make cross platform compatibility a breeze. Also, there is some third party libraries for Sophia already, which helps developers build apps on top of it easily. It should expand BoolBerry ecosystem a lot.

Ref: http://sphia.org/get.html

Wallet throws an error

I'm getting Status: Failed to initialize core when starting the app after it tries to sync for 5 seconds. Is there a flag or anything I can add to the shortcut to trigger re-sync ? Any other solution to this issue ?

Not running any firewalls or antivirus software that might be blocking the connection. It did fully sync yesterday without any trouble.

Double spending vulnerability

The double spending vulnerability addressed in 47b0694 does not appear to be resolved.

In crypto.cpp there is this code:

bool crypto_ops::validate_key_image(const key_image& ki)
 +  {
 +    if (!(scalarmult_key(ki, L) == I))
 +    {
 +      return false;
 +    }
 +    return true;
 +  }  

If I change return true; to return false it should fail to verify any transactions however this does not happen.

If I change this:

const unsigned char L_[32] = { 0xed, 0xd3, 0xf5, 0x5c, 0x1a, 0x63, 0x12, 0x58, 0xd6, 0x9c, 0xf7, 0xa2, 0xde, 0xf9, 0xde, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10 };

to anything else, it also doesn't fail.

I could be mistaken of course, but I think this suggests that the patch isn't actually doing anything and the vulnerability still exists.

Compiling error on Ubuntu 13 - Azure

I got those error

make[3]: Leaving directory `/usr/src/boolberry/build/release'
[ 94%] Built target coretests
[ 95%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/test_peerlist.cpp.o
[ 96%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/wallet_select_transfers_test.cpp.o
[ 97%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests/serialization.cpp.o
In file included from /usr/src/boolberry/src/currency_core/currency_basic.h:19:0,
                 from /usr/src/boolberry/src/currency_core/account.h:7,
                 from /usr/src/boolberry/src/wallet/wallet2.h:13,
                 from /usr/src/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:
/usr/src/boolberry/src/rpc/core_rpc_server_commands_defs.h: In static member function ‘static bool currency::alias_rpc_details::serialize_map(this_type&, t_storage&, typename t_storage::hsection)’:
/usr/src/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:36: error: ‘namespace_accessor’ was not declared in this scope
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                    ^
/usr/src/boolberry/src/rpc/core_rpc_server_commands_defs.h:471:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
/usr/src/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:36: note: suggested alternative:
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                    ^
/usr/src/boolberry/src/rpc/core_rpc_server_commands_defs.h:471:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
In file included from /usr/src/boolberry/src/currency_core/currency_basic.h:24:0,
                 from /usr/src/boolberry/src/currency_core/account.h:7,
                 from /usr/src/boolberry/src/wallet/wallet2.h:13,
                 from /usr/src/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:
/usr/src/boolberry/contrib/epee/include/misc_language.h:54:9: note:   ‘epee::namespace_accessor’
   class namespace_accessor: public base_class{};
         ^
In file included from /usr/src/boolberry/src/currency_core/currency_basic.h:19:0,
                 from /usr/src/boolberry/src/currency_core/account.h:7,
                 from /usr/src/boolberry/src/wallet/wallet2.h:13,
                 from /usr/src/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:
/usr/src/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:55: error: expected primary-expression before ‘decltype’
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                                       ^
/usr/src/boolberry/src/rpc/core_rpc_server_commands_defs.h:471:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
/usr/src/boolberry/contrib/epee/include/serialization/keyvalue_serialization.h:88:55: error: expected ‘;’ before ‘decltype’
 #define KV_CHAIN_MAP(variable_obj) namespace_accessor<decltype(this_ref.variable_obj)>::template serialize_map<is_store>(this_ref.details, stg, hparent_section);
                                                       ^
/usr/src/boolberry/src/rpc/core_rpc_server_commands_defs.h:471:7: note: in expansion of macro ‘KV_CHAIN_MAP’
       KV_CHAIN_MAP(details)
       ^
In file included from /usr/src/boolberry/tests/unit_tests/wallet_select_transfers_test.cpp:10:0:
/usr/src/boolberry/src/wallet/wallet2.h: In member function ‘void tools::wallet2::transfer(const std::vector<currency::tx_destination_entry>&, size_t, uint64_t, uint64_t, T, const tools::tx_dust_policy&, currency::transaction&, uint8_t)’:
/usr/src/boolberry/src/wallet/wallet2.h:309:16: error: ‘net_utils’ has not been declared
       bool r = net_utils::invoke_http_bin_remote_command2(m_daemon_address + "/getrandom_outs.bin", req, daemon_resp, m_http_client, 200000);
                ^
/usr/src/boolberry/src/wallet/wallet2.h:405:9: error: ‘net_utils’ has not been declared
     r = net_utils::invoke_http_json_remote_command2(m_daemon_address + "/sendrawtransaction", req, daemon_send_resp, m_http_client, 200000);
         ^
make[3]: *** [tests/CMakeFiles/unit_tests.dir/unit_tests/wallet_select_transfers_test.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/src/boolberry/build/release'
make[2]: *** [tests/CMakeFiles/unit_tests.dir/all] Error 2
make[2]: Leaving directory `/usr/src/boolberry/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/boolberry/build/release'
make: *** [build-release] Error 2

Issues with wallet and testnet on 17 May 2014

The wallet can not connect to daemond. Daemon - miner console shows a lot of errors

id: <8e95fdc3d857d39b440b2ea75154e7cfbb423e272401ef1f44cffe8efb052ab1>, 
expected: <e991bb1bd0ae82991e7d42c17bbfadc515a078eda677b97165e5cbe71ee8a2f0>,
 dropping connection
2014-May-17 12:06:00.303094 [RPC0]ERROR c:\home\projects\boolberry\src\rpc\core_rpc_server.h:36[currency::core_rpc_server::handle_http_request_map]Failed to on_get_blocks()
2014-May-17 12:06:00.339096 [RPC0]ERROR ..\..\src\currency_core\blockchain_storage.cpp:1214[currency::blockchain_storage::find_blockchain_supplement]Client sent wrong NOTIFY_REQUEST_CHAIN: genesis block missmatch: 
id: <8e95fdc3d857d39b440b2ea75154e7cfbb423e272401ef1f44cffe8efb052ab1>, 
expected: <e991bb1bd0ae82991e7d42c17bbfadc515a078eda677b97165e5cbe71ee8a2f0>,
 dropping connection
2014-May-17 12:06:00.430102 [RPC0]ERROR c:\home\projects\boolberry\src\rpc\core_rpc_server.h:36[currency::core_rpc_server::handle_http_request_map]Failed to on_get_blocks()
2014-May-17 12:06:00.464104 [RPC0]ERROR ..\..\src\currency_core\blockchain_storage.cpp:1214[currency::blockchain_storage::find_blockchain_supplement]Client sent wrong NOTIFY_REQUEST_CHAIN: genesis block missmatch: 
id: <8e95fdc3d857d39b440b2ea75154e7cfbb423e272401ef1f44cffe8efb052ab1>, 
expected: <e991bb1bd0ae82991e7d42c17bbfadc515a078eda677b97165e5cbe71ee8a2f0>,
 dropping connection
2014-May-17 12:06:00.555109 [RPC0]ERROR c:\home\projects\boolberry\src\rpc\core_rpc_server.h:36[currency::core_rpc_server::handle_http_request_map]Failed to on_get_blocks()
2014-May-17 12:06:00.582110 [RPC1]ERROR ..\..\src\currency_core\blockchain_storage.cpp:1214[currency::blockchain_storage::find_blockchain_supplement]Client sent wrong NOTIFY_REQUEST_CHAIN: genesis block missmatch: 
id: <8e95fdc3d857d39b440b2ea75154e7cfbb423e272401ef1f44cffe8efb052ab1>, 
expected: <e991bb1bd0ae82991e7d42c17bbfadc515a078eda677b97165e5cbe71ee8a2f0>,
 dropping connection
2014-May-17 12:06:00.643114 [RPC1]ERROR c:\home\projects\boolberry\src\rpc\core_rpc_server.h:36[currency::core_rpc_server::handle_http_request_map]Failed to on_get_blocks()
2014-May-17 12:06:23.065396 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Any roadmap?

Hi,

The development is very active now. It is great because it shows commitment. 5 stars

However, because everything looks fluid now. Any roadmap for it? E.x: What you will do, want to do, think that you can do or contributors can do it ....

Linux binary release fails on Ivy Bridge CPU

The binary release for Linux fails on an Ivy Bridge cpu. Did you compile it with --march=native by mistake?

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
stepping : 9
microcode : 0x12
cpu MHz : 3920.709
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti retpoline tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts
bugs : cpu_meltdown spectre_v1 spectre_v2
bogomips : 7037.17
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Segmentation fault on opening GUI

I downloaded the GUI from the most recent stable release. When I run ./Boolberry I get

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
1   0x7f3ede9011ed /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5(+0x12e81ed) [0x7f3ede9011ed]
2   0x7f3eded57a6a /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5(+0x173ea6a) [0x7f3eded57a6a]
3   0x7f3eded5c78f /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5(+0x174378f) [0x7f3eded5c78f]
4   0x7f3edc222f92 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0xe2) [0x7f3edc222f92]
5   0x7f3edcd5e4a1 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x81) [0x7f3edcd5e4a1]
6   0x7f3edcd65ae0 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x210) [0x7f3edcd65ae0]
7   0x7f3edc1f9499 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x179) [0x7f3edc1f9499]
8   0x7f3edc1fc48b /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1cb) [0x7f3edc1fc48b]
9   0x7f3edc24bb23 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2bdb23) [0x7f3edc24bb23]
10  0x7f3ed9b52c3e /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2ae) [0x7f3ed9b52c3e]
11  0x7f3ed9b52ed8 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4ded8) [0x7f3ed9b52ed8]
12  0x7f3ed9b52f6c /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f3ed9b52f6c]
13  0x7f3edc24b143 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x63) [0x7f3edc24b143]
14  0x7f3ed51c0e51 /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0xd7e51) [0x7f3ed51c0e51]
15  0x7f3edc1f816b /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x13b) [0x7f3edc1f816b]
16  0x7f3edc2002e2 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x92) [0x7f3edc2002e2]
17  0x551090 ./Boolberry(main+0x1a0) [0x551090]
18  0x7f3edd2c609b /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f3edd2c609b]
19  0x552939 ./Boolberry(_start+0x29) [0x552939]
Segmentation fault (core dumped)

Error during synchronization. Orphan block

2018-Feb-21 18:42:56.511637 [P2P7][88.99.228.50:10101 OUT]Sync data returned unknown top block: 791532 -> 983888 [192356 blocks (267 days) behind]
SYNCHRONIZATION started
2018-Feb-21 18:42:56.511858 [P2P7][88.99.228.50:10101 OUT] COMMAND_HANDSHAKE INVOKED OK
2018-Feb-21 18:42:56.512423 [P2P6]Connecting to 193.111.239.66:10101(white=0, last_seen: d78.h11.m41.s27)...
2018-Feb-21 18:42:58.008330 [P2P7]ERROR /home/ubuntu/boolberry/src/currency_core/blockchain_storage.cpp:921[bool currency::blockchain_storage::complete_timestamps_vector(uint64_t, std::vector&)]internal error: passed start_height = 791532 not less then m_blocks.size()=791532
2018-Feb-21 18:42:58.008499 [P2P7]ERROR /home/ubuntu/boolberry/src/currency_core/blockchain_storage.cpp:1006[bool currency::blockchain_storage::handle_alternative_block(const currency::block&, const crypto::hash&, currency::block_verification_context&)]INTERNAL ERROR: Wrong bei.scratch_offset==0 in handle_alternative_block
2018-Feb-21 18:42:58.008644 [P2P7]Block recognized as orphaned and rejected, id =
2018-Feb-21 18:42:58.008752 [P2P7][5.9.44.190:10101 OUT]Block received at sync phase was marked as orphaned, dropping connection
2018-Feb-21 18:42:58.008860 [P2P7]Ip 5.9.44.190 blocked.
2018-Feb-21 18:42:58.502135 [P2P8]ERROR /home/ubuntu/boolberry/src/currency_core/blockchain_storage.cpp:921[bool currency::blockchain_storage::complete_timestamps_vector(uint64_t, std::vector&)]internal error: passed start_height = 791532 not less then m_blocks.size()=791532
2018-Feb-21 18:42:58.502304 [P2P8]ERROR /home/ubuntu/boolberry/src/currency_core/blockchain_storage.cpp:1006[bool currency::blockchain_storage::handle_alternative_block(const currency::block&, const crypto::hash&, currency::block_verification_context&)]INTERNAL ERROR: Wrong bei.scratch_offset==0 in handle_alternative_block
2018-Feb-21 18:42:58.502445 [P2P8]Block recognized as orphaned and rejected, id =
2018-Feb-21 18:42:58.502549 [P2P8][88.99.228.50:10101 OUT]Block received at sync phase was marked as orphaned, dropping connection

Resetting up a wallet

Wallet file was deleted. I want to setup another wallet and/or use multi wallets.

Wallets tab on a Mac shows greyed out.

How would we setup a new wallet and/or multi wallets?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.