Author Topic: delegate 自动重启钱包 [BitSuperLab 出品]  (Read 8343 times)

0 Members and 1 Guest are viewing this topic.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
小建议。要做"wallet_next_block_production_time": 检查。必须是大于5分钟才可以重启否则会在重启时丢块
原帖已更新,重启前增加了检查

Offline dcchong

  • Sr. Member
  • ****
  • Posts: 203
    • View Profile
我的还好,运行几天没怎么丢块,就第一天连接数不稳定丢了一些块。 后来设置了--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

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
小建议。要做"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

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
BitShares committee member: abit
BitShares witness: in.abit

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
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.

Offline taoljj

  • Full Member
  • ***
  • Posts: 177
    • View Profile
BTS      Witness: delegate.taoljj


Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
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建议每天重启一次钱包,所以我们提供了这个自动重启的方案。
接下去我们会把漏块检测和自动重启工具结合起来,提供更强大的自修复能力。
« Last Edit: July 30, 2014, 05:36:13 am by alt »