Main Menu

Dry Run 6: Great Scott!

Started by bytemaster, June 25, 2014, 08:56:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Saleh

Quote from: JeffreyLee on June 26, 2014, 08:15:12 AM
Quote from: Saleh on June 26, 2014, 08:11:35 AM
cmake -DCMAKE_PREFIX_PATH=/usr/local/ssl .
CMake Error at CMakeLists.txt:16 (include):
  include could not find load file:

    GetGitRevisionDescription


CMake Error at CMakeLists.txt:17 (get_git_head_revision):
  Unknown CMake command "get_git_head_revision".

Can anyone help?
Enviroument : Mac OS 10.9
I think you should upgrade your cmake to 2.8.12 or later.
Actually I used 2.8.12.2, the lastest is 3.0.0.
PTS:PdgL56dBh5fhL3qfk8BMEYEpUQcqGDHKhj
BTSX:bitcoiner

JeffreyLee

Quote from: Saleh on June 26, 2014, 08:11:35 AM
cmake -DCMAKE_PREFIX_PATH=/usr/local/ssl .
CMake Error at CMakeLists.txt:16 (include):
  include could not find load file:

    GetGitRevisionDescription


CMake Error at CMakeLists.txt:17 (get_git_head_revision):
  Unknown CMake command "get_git_head_revision".

Can anyone help?
Enviroument : Mac OS 10.9
I think you should upgrade your cmake to 2.8.12 or later.
BitShares-PTS:Pop8mPCmtzSLc1NXaJLSnE2gpvDvCZJgMd
Please give me a vote:wallet_approve_delegate sunshine.clerk 1

Saleh

cmake -DCMAKE_PREFIX_PATH=/usr/local/ssl .
CMake Error at CMakeLists.txt:16 (include):
  include could not find load file:

    GetGitRevisionDescription


CMake Error at CMakeLists.txt:17 (get_git_head_revision):
  Unknown CMake command "get_git_head_revision".

Can anyone help?
Enviroument : Mac OS 10.9
PTS:PdgL56dBh5fhL3qfk8BMEYEpUQcqGDHKhj
BTSX:bitcoiner

alt

2 forks after block 301

"586eb9370aaf245d4b019327ba6cc35030f35057" [label=<586eb<br/>193<br/>301<br/>init57>,style=filled,rank=193];
"586eb9370aaf245d4b019327ba6cc35030f35057" -> "3b31e276f7598de71e4882607c03151c496135c1";
"c64e9349b48009daa97e9a73c3ca23b462db3855" [label=<c64e9<br/>194<br/>302<br/>init59>,style=filled,rank=194];
"c64e9349b48009daa97e9a73c3ca23b462db3855" -> "586eb9370aaf245d4b019327ba6cc35030f35057";
"309247b1240947f11ec7fc2eeb4677895426309e" [label=<30924<br/>195<br/>303<br/>init97>,style=filled,rank=195];
"309247b1240947f11ec7fc2eeb4677895426309e" -> "c64e9349b48009daa97e9a73c3ca23b462db3855";
"e8011f7bd9d495bb5ff01388b27a6c10cad4c7dc" [label=<e8011<br/>196<br/>302<br/>xeldal>,style=filled,rank=196];
"e8011f7bd9d495bb5ff01388b27a6c10cad4c7dc" -> "586eb9370aaf245d4b019327ba6cc35030f35057";
"41a7881fecdb72bf7820c0ef96a7b79df5e640cd" [label=<41a78<br/>197<br/>304<br/>init50>,style=filled,rank=197];
"41a7881fecdb72bf7820c0ef96a7b79df5e640cd" -> "309247b1240947f11ec7fc2eeb4677895426309e";
"de84d614189a48db2ce53441ce8d3ea1629e18e9" [label=<de84d<br/>197<br/>302<br/>init6>,style=filled,rank=197];
"de84d614189a48db2ce53441ce8d3ea1629e18e9" -> "586eb9370aaf245d4b019327ba6cc35030f35057";
"0dcea468a3b1065de8f30fa0e02cc575ab8da7ea" [label=<0dcea<br/>198<br/>305<br/>init68>,style=filled,rank=198];
"0dcea468a3b1065de8f30fa0e02cc575ab8da7ea" -> "41a7881fecdb72bf7820c0ef96a7b79df5e640cd";
"cd925b7207af18c49738fe59834f0084435754e5" [label=<cd925<br/>198<br/>303<br/>vikram9>,style=filled,rank=198];
"cd925b7207af18c49738fe59834f0084435754e5" -> "de84d614189a48db2ce53441ce8d3ea1629e18e9";
"fcd0cd0b8ceed17e443ea1cdf336ae4917e71c94" [label=<fcd0c<br/>199<br/>306<br/>init86>,style=filled,rank=199];
"fcd0cd0b8ceed17e443ea1cdf336ae4917e71c94" -> "0dcea468a3b1065de8f30fa0e02cc575ab8da7ea";

CalabiYau

#94
Same here:

[ 85%] Built target bts_wallet
Scanning dependencies of target bts_net
[ 86%] Building CXX object libraries/net/CMakeFiles/bts_net.dir/node.cpp.o
/home/calabiyau/bitshares_toolkit/libraries/net/node.cpp: In constructor
'bts::net::detail::node_impl::node_impl()':
/home/calabiyau/bitshares_toolkit/libraries/net/node.cpp:475:21: error: 'class fc::rate_limiting_group' has no member named 'set_actual_rate_time_constant'
(...)
/home/calabiyau/bitshares_toolkit/libraries/net/node.cpp:475:21: error: 'class
make[2]: *** [libraries/net/CMakeFiles/bts_net.dir/node.cpp.o] Error 1
make[1]: *** [libraries/net/CMakeFiles/bts_net.dir/all] Error 2
make: *** [all] Error 2

laow

same error, can't compile the latest code.
Quote from: xeroc on June 26, 2014, 06:59:46 AM
Current git-master is not compiling:
Quote
[ 86%] Building CXX object libraries/net/CMakeFiles/bts_net.dir/node.cpp.o
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp: In constructor 'bts::net::detail::node_impl::node_impl()':
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:475:21: error: 'class fc::rate_limiting_group' has no member named 'set_actual_rate_time_constant'
       _rate_limiter.set_actual_rate_time_constant(fc::seconds(2));
                     ^
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp: In member function 'void bts::net::detail::node_impl::bandwidth_monitor_loop()':
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:893:52: error: 'class fc::rate_limiting_group' has no member named 'get_actual_download_rate'
         uint32_t usage_this_second = _rate_limiter.get_actual_download_rate() + _rate_limiter.get_actual_upload_rate();
                                                    ^
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:893:95: error: 'class fc::rate_limiting_group' has no member named 'get_actual_upload_rate'
         uint32_t usage_this_second = _rate_limiter.get_actual_download_rate() + _rate_limiter.get_actual_upload_rate();
                                                                                               ^
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:905:22: warning: unused variable 'average_this_hour' [-Wunused-variable]
             uint32_t average_this_hour = (uint32_t)boost::accumulate(_average_network_usage_minutes, UINT64_C(0)) / _average_network_usage_minutes.size();
                      ^
make[2]: *** [libraries/net/CMakeFiles/bts_net.dir/node.cpp.o] Fehler 1
make[1]: *** [libraries/net/CMakeFiles/bts_net.dir/all] Fehler 2
make: *** [all] Fehler 2

BTS acount: laow

xeroc

Quote from: JeffreyLee on June 26, 2014, 07:04:49 AM
Quote from: xeroc on June 26, 2014, 06:59:46 AM
Current git-master is not compiling:
Quote
[ 86%] Building CXX object libraries/net/CMakeFiles/bts_net.dir/node.cpp.o
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp: In constructor
https://github.com/BitShares/bitshares_toolkit/issues/410

cd libraries/fc
git fetch --all
git pull
Thought so .. already compiling with fc-head

JeffreyLee

Quote from: xeroc on June 26, 2014, 06:59:46 AM
Current git-master is not compiling:
Quote
[ 86%] Building CXX object libraries/net/CMakeFiles/bts_net.dir/node.cpp.o
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp: In constructor
https://github.com/BitShares/bitshares_toolkit/issues/410

cd libraries/fc
git fetch --all
git pull
BitShares-PTS:Pop8mPCmtzSLc1NXaJLSnE2gpvDvCZJgMd
Please give me a vote:wallet_approve_delegate sunshine.clerk 1

xeroc

Current git-master is not compiling:
Quote
[ 86%] Building CXX object libraries/net/CMakeFiles/bts_net.dir/node.cpp.o
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp: In constructor 'bts::net::detail::node_impl::node_impl()':
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:475:21: error: 'class fc::rate_limiting_group' has no member named 'set_actual_rate_time_constant'
       _rate_limiter.set_actual_rate_time_constant(fc::seconds(2));
                     ^
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp: In member function 'void bts::net::detail::node_impl::bandwidth_monitor_loop()':
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:893:52: error: 'class fc::rate_limiting_group' has no member named 'get_actual_download_rate'
         uint32_t usage_this_second = _rate_limiter.get_actual_download_rate() + _rate_limiter.get_actual_upload_rate();
                                                    ^
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:893:95: error: 'class fc::rate_limiting_group' has no member named 'get_actual_upload_rate'
         uint32_t usage_this_second = _rate_limiter.get_actual_download_rate() + _rate_limiter.get_actual_upload_rate();
                                                                                               ^
/home/coin/coins/invictus/bitshares_toolkit/libraries/net/node.cpp:905:22: warning: unused variable 'average_this_hour' [-Wunused-variable]
             uint32_t average_this_hour = (uint32_t)boost::accumulate(_average_network_usage_minutes, UINT64_C(0)) / _average_network_usage_minutes.size();
                      ^
make[2]: *** [libraries/net/CMakeFiles/bts_net.dir/node.cpp.o] Fehler 1
make[1]: *** [libraries/net/CMakeFiles/bts_net.dir/all] Fehler 2
make: *** [all] Fehler 2


alt

Quote from: alt on June 26, 2014, 06:20:57 AM
I have make 1000 + 1000 + 1000 + 10,000 transactions from 1:30 pm
begin from block 259
not finish yet, no fork appear.
after I post, forks begin.
276 by delegate-baozi
278 by vikram3

JeffreyLee

wallet_transfer 20 XTS jeffreylee jeffreyleefordelegate
but jeffreyleefordelegate balance is 0,20XTS become transfer fee.
mywallet (unlocked) >>> wallet_account_transaction_history
BLK    .TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    187.2    2014-06-26T02:34:00 chinese             jeffreylee          mmmmm                                     111.00000 XTS         0.00000 XTS        fd30a9bf
    190.1    2014-06-26T02:40:00 jeffreylee          jeffreylee          register jeffreylee                         0.00000 XTS         0.10001 XTS        9c4a79e0
    192.0    2014-06-26T02:44:00 jeffreylee          jeffreylee          register jeffreyleefordelegate ...          0.00000 XTS        19.76081 XTS        7a2ddf6d
BitShares-PTS:Pop8mPCmtzSLc1NXaJLSnE2gpvDvCZJgMd
Please give me a vote:wallet_approve_delegate sunshine.clerk 1

alt

I have make 1000 + 1000 + 1000 + 10,000 transactions from 1:30 pm
begin from block 259
not finish yet, no fork appear.

emski

#86
Quote from: bytemaster on June 25, 2014, 11:45:04 PM

I'll look into it. Are you running a delegate in same client. 
Quote from: emski on June 25, 2014, 10:51:09 PM

wallet_account_transaction_history:
    79.154  2014-06-25T22:39:30 emski               emski-rcv                                                       1.00000 XTS         0.10000 XTS        933b267a
     81.1    2014-06-25T22:43:03 emski               emski               register emski-rcv                          0.00000 XTS         0.10001 XTS        69a86aa7
     82.0    2014-06-25T22:44:38 emski               emski-rcv                                                     100.00000 XTS         0.10000 XTS        4e38faae
emski (unlocked) >>> wallet_account_balance emski-rcv
emski-rcv:
    0.00000 XTS
emski (unlocked) >>> wallet_list
wallet_list                        wallet_list_accounts               wallet_list_favorite_accounts      wallet_list_my_accounts            wallet_list_unregistered_accounts  wallet_list_unspent_balances
emski (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       TRUSTED
angel *                            XTS7WWaciMqLoK1aSeLuMru22hG124Z4VY2gQUinvxhKsxRPa2E3o 2014-06-25T21:28:00   NO             1
emski                              XTS8BCmrghaHK7zrJ5TyDPx5xg2X6faGphpFooEgJjFVUN1ixarWL           NO                    NO             0
emski-delegate3 *                  XTS6RHp3PDriNdicMLNq5aqsTZwd4tGTiGynmDt7yeMpehS5Smowv 2014-06-25T21:30:00   NO             1
emski-delegate4 *                  XTS5P9WiF4eDpDM74o9PME4ZDuPstG6zkXXamatX5zL9iWmt5mKJB           2014-06-25T21:34:00   NO             1
emski-rcv                          XTS6bvihV7fRsAPyNp7FDDzhY9W5fiWfKt45ZfWMcuNTYQdTMBuRN           NO                    NO             0
immortal *                         XTS536iiaXHNkQZxsxDGuQZFze8vjmbJd9nDn3CoAoG7NGqGsrebH 2014-06-25T21:28:00   NO             1


Why emski-rcv has no XTS when the transaction (82.0    2014-06-25T22:44:38 emski               emski-rcv                                                     100.00000 XTS         0.10000 XTS        4e38faae) is completed?


Sent from my iPhone using Tapatalk

Everything runs in the same client. I can give you logs or direct access to the server.

EDIT: hmm seems normal accounts and delegates from the same wallet were supposed to behave this way in this test run. I should've read more carefully.
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

alt

Quote from: bytemaster on June 26, 2014, 04:09:49 AM
Quote from: alt on June 26, 2014, 04:08:15 AM
Quote from: bytemaster on June 26, 2014, 03:41:02 AM

Based upon the log file, it appears that at some point in the life of your delegate ntp_error_seconds was different?   

I just checked in an update to the NTP code that moves it to its own dedicated thread and checks for any major errors due to CPU load and network latency.  IE: I filter all NTP requests that take over 1 second to execute.

This error msg is not right?

20140625T221020.467325       th_a            read_loop ] disconnected 0 exception: unspecified
Bad file descriptor
    {"message":"Bad file descriptor"}
    asio  asio.cpp:28 read_write_handler

    {"len":16}
    th_a  stcp_socket.cpp:73 readsome                   message_oriented_connection.cpp:144

It just loop again and again

It isn't pretty, but is harmless.
I can't reproduce it after restart client. with the same version.