Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sfinder

Pages: 1 ... 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 ... 81
256
厉害了,都不会技术的人怎么抱团呢?有没有300勇士来组个团,一人出点资金。

愿意和我一起组团的请PM我。。。。。我技术不缺就是缺时间和推广。人在北美,需要有人在我睡觉时还醒。


257
还要补充一点,昨天晚上我的 slave 由于长时间运行,又遇到老问题,连接数降到很低,导致收包出问题,出现了不少误判,生成了好几个 orphan block
所以 slave 上可以让程序定期自动重启,我刚增加了每12小时重启一次
你的重启script好像要expert??支持。 具体要如何操作。
ALT你的documentation没有达到北美软件业的水平 :'( :'( :'( :'(。还是中国的方式

258
中文 (Chinese) / Re: 100%出块,连续4个小时没丢块了
« on: July 30, 2014, 10:20:28 pm »


ALT会出下面这个问题吗
This will likely cause you to sign 2 different blocks.
How you ensure that they will not sign 2 different blocks ?

259
中文 (Chinese) / Re: 100%出块,连续4个小时没丢块了
« on: July 30, 2014, 07:51:38 pm »
alt老弟,这个slave客户端只要加“ next_slot_time += 5;”这行代码后编译,是吗?

slave可以和master同时开机而不会相互影响吗?一个代表运行在2个不同的结点是否是BM所允许的。

你做过多少测试?


hi, delegates. we have a solution for hot standby.

set up delegate wallet in 2 machines. one is master, and the other is slave.
master run  delegate_loop task at seconds 0,10,20 ....
slave run the task with 5 seconds delay, at 5, 15, 25 .....
Normally master will generate block in time, slave will receive the block less than 5 seconds, than slave will not generate block.
If for some reason, master missed generation, slave didn't receive block from master in 5 seconds, slave will generate.

here is the patch for slave program:
Code: [Select]
--- a/libraries/client/client.cpp
+++ b/libraries/client/client.cpp
@@ -729,6 +729,7 @@ config load_config( const fc::path& datadir )
 
           uint32_t slot_number = blockchain::get_slot_number( now );
           time_point_sec next_slot_time = blockchain::get_slot_start_time( slot_number + 1 );
+          next_slot_time += 5;
           ilog( "Rescheduling delegate loop for time: ${t}", ("t",next_slot_time) );
 
           time_point scheduled_time = next_slot_time;

260
alt老弟,这个slave客户端只要加“ next_slot_time += 5;”这行代码后编译,是吗?

slave可以和master同时开机而不会相互影响吗?一个代表运行在2个不同的结点是否是BM所允许的。

你做过多少测试?


hi, delegates. we have a solution for hot standby.

set up delegate wallet in 2 machines. one is master, and the other is slave.
master run  delegate_loop task at seconds 0,10,20 ....
slave run the task with 5 seconds delay, at 5, 15, 25 .....
Normally master will generate block in time, slave will receive the block less than 5 seconds, than slave will not generate block.
If for some reason, master missed generation, slave didn't receive block from master in 5 seconds, slave will generate.

here is the patch for slave program:
Code: [Select]
--- a/libraries/client/client.cpp
+++ b/libraries/client/client.cpp
@@ -729,6 +729,7 @@ config load_config( const fc::path& datadir )
 
           uint32_t slot_number = blockchain::get_slot_number( now );
           time_point_sec next_slot_time = blockchain::get_slot_start_time( slot_number + 1 );
+          next_slot_time += 5;
           ilog( "Rescheduling delegate loop for time: ${t}", ("t",next_slot_time) );
 
           time_point scheduled_time = next_slot_time;

261
does the port need to be opened behind the firewall?

262
nice.i will try this out
hi, delegates. we have a solution for hot standby.

set up delegate wallet in 2 machines. one is master, and the other is slave.
master run  delegate_loop task at seconds 0,10,20 ....
slave run the task with 5 seconds delay, at 5, 15, 25 .....
Normally master will generate block in time, slave will receive the block less than 5 seconds, than slave will not generate block.
If for some reason, master missed generation, slave didn't receive block from master in 5 seconds, slave will generate.

here is the patch for slave program:
Code: [Select]
--- a/libraries/client/client.cpp
+++ b/libraries/client/client.cpp
@@ -729,6 +729,7 @@ config load_config( const fc::path& datadir )
 
           uint32_t slot_number = blockchain::get_slot_number( now );
           time_point_sec next_slot_time = blockchain::get_slot_start_time( slot_number + 1 );
+          next_slot_time += 5;
           ilog( "Rescheduling delegate loop for time: ${t}", ("t",next_slot_time) );
 
           time_point scheduled_time = next_slot_time;

263
一天平均出60块报酬是1.4BT SX大概7分。一天到晚大概连电费都无法支付。目前的代表都是一些有贡献精神的粉。自掏腰包,希望能在将来有所回报

264
中文 (Chinese) / Re: 逍遥游
« on: July 30, 2014, 01:39:19 pm »
停车做爱枫林晚,霜叶红于二月花

265
中文 (Chinese) / Re: Dpos的优化设想
« on: July 29, 2014, 02:27:34 pm »
有个简单的办法,就是把消费小额钱包寄存云服务器,就如我设置的那个演示钱包类似。

266
It would be nice if your script can  monitor connection number every 10minutes and alert with sendmail if connection drop to  less than 7

267
小建议。要做"wallet_next_block_production_time": 检查。必须是大于5分钟才可以重启否则会在重启时丢块

268
script needs to check "next block time" before restart. to be safe , "next block time" should be greater than 5 minutes

269
General Discussion / Re: Delegates please Use Sub-Accounts
« on: July 28, 2014, 09:08:23 pm »
as an owner of "beal", I am not able to register "how.to.support.beal". any comments ?

Code: [Select]
wallet_account_register how.to.support.beal demo.twitter

20006 unknown_account: unknown account
Unknown local account name!
    {"account_name":"to.support.beal"}
    th_a  wallet.cpp:1270 get_account

    {}
    th_a  wallet.cpp:1288 get_account

    {"account_to_register":"how.to.support.beal","public_data":null,"pay_with_account_name":"demo.twitter","delegate_pay_rate":255}
    th_a  wallet.cpp:2448 register_account

    {"account_name":"how.to.support.beal","data":null}
    th_a  client.cpp:2711 wallet_account_register

    {}
    th_a  common_api_client.cpp:979 wallet_account_register

270
Hi BM,
i got the same problem for one of my wallet. please download my p2p log for reviewing

https://dl.dropboxusercontent.com/u/20690563/p2p.zip

Pages: 1 ... 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 ... 81