delegate 自动重启钱包 [BitSuperLab 出品]

Started by alt, July 29, 2014, 01:26:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alt

Quote from: sfinder on July 29, 2014, 01:59:16 AM
小建议。要做"wallet_next_block_production_time": 检查。必须是大于5分钟才可以重启否则会在重启时丢块
原帖已更新,重启前增加了检查

dcchong

我的还好,运行几天没怎么丢块,就第一天连接数不稳定丢了一些块。 后来设置了--min-delegate-connection-count 3参数启动客户端,并启动后设置network_set_advanced_node_parameters {"desired_number_of_connections": 30}。 就一直没怎么丢块。
wallet_approve_delegate dc-delegate true
wallet_approve_delegate bitsharesx-delegate true

sfinder

小建议。要做"wallet_next_block_production_time": 检查。必须是大于5分钟才可以重启否则会在重启时丢块
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

abit

BitShares committee member: abit
BitShares witness: in.abit

HackFisher

Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

taoljj

BTS      Witness: delegate.taoljj


alt

#1
Quote from: alt on July 29, 2014, 01:20:30 AM
for now, delegate will miss blocks after long time running.
BM suggest to restart client every day.
here is a method for automatic restart.
1. run wallet with this expect script, you should change "wallet_name" and "command line"
this script will start client automatic while it's quit.
......

目前delegate长时间运行会大量丢块,BM建议每天重启一次钱包,所以我们提供了这个自动重启的方案。
接下去我们会把漏块检测和自动重启工具结合起来,提供更强大的自修复能力。