V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
fcicq
V2EX  ?  Bitcoin

在客户端 Pool Hopping

  •  
  •   fcicq · 2011-07-04 13:31:10 +08:00 · 4841 次点击
    这是一个创建于 4682 天前的主题,其中的信息可能已经有所发展或是发生改变。
    可能有些人知道 multipool 了. 如果客户端支持自动切换(而不是增加一个可能出问题的新层), 且所用的所有帐户都是自己的(而不需要有人从中抽成), 有没有人对此感兴趣?

    注: 此为一次性付费服务(包括 poclbm 代码的修改, 对当前最优 pool 的推荐服务), 预计价格 0.5 BTC 左右. 预期收入增加比例为 10%-30%. 推荐服务有可能以 apikey 形式按个数收费.
    20 条回复  ?  1970-01-01 08:00:00 +08:00
    fcicq
        1
    fcicq  
    OP
       2011-07-04 22:20:11 +08:00
    目前应该是 deepbit 欢乐时间. 现在 deepbit 还没有出数据, 立此日志为据.

    pit.deepbit.net:8332 04/07/2011 21:53:15, long poll: new block 00000353c1250231
    pit.deepbit.net:8332 04/07/2011 21:53:18, Bestpool: deepbit (LP: True)
    pit.deepbit.net:8332 04/07/2011 21:55:46, long poll: new block 000006f21cb00d3a
    pit.deepbit.net:8332 04/07/2011 21:55:51, Bestpool: deepbit (LP: True)
    pit.deepbit.net:8332 04/07/2011 22:01:37, long poll: new block 00000a6786187495
    pit.deepbit.net:8332 04/07/2011 22:01:42, Bestpool: deepbit (LP: True)
    pit.deepbit.net:8332 04/07/2011 22:07:21, long poll: new block 000007aa7a67e1f3
    pit.deepbit.net:8332 04/07/2011 22:07:25, Bestpool: deepbit (LP: True)
    pit.deepbit.net:8332 04/07/2011 22:16:42, long poll: new block 00000068c419d368
    pit.deepbit.net:8332 04/07/2011 22:16:45, Bestpool: deepbit (LP: True)
    fcicq
        2
    fcicq  
    OP
       2011-07-04 22:43:48 +08:00
    增补
    pit.deepbit.net:8332 04/07/2011 22:23:29, long poll: new block 00000887f021b17a
    pit.deepbit.net:8332 04/07/2011 22:23:31, Bestpool: deepbit (LP: True)
    pit.deepbit.net:8332 04/07/2011 22:27:18, long poll: new block 000004124af6a27d
    pit.deepbit.net:8332 04/07/2011 22:27:20, Bestpool: deepbit (LP: True)
    pit.deepbit.net:8332 04/07/2011 22:39:42, long poll: new block 00000825300b8bfe
    pit.deepbit.net:8332 04/07/2011 22:39:44, Bestpool: deepbit (LP: True)
    fcicq
        3
    fcicq  
    OP
       2011-07-04 23:15:34 +08:00
    验证: 21:53, 21:55, 22:07 三块是 deepbit 的. 22:01 的属于 bitcoins.lc
    mewking
        4
    mewking  
       2011-07-05 00:55:23 +08:00
    俺有兴趣,昨天收到你的邮件还没捐助呐,估计明后天才能捐助。你给的代码还不会折腾,不是程序员,之前几台矿机都是按照指南搞的,囧
    fcicq
        5
    fcicq  
    OP
       2011-07-05 07:25:43 +08:00
    目前情况: 服务端算法不良导致错过了 deepbit 的一小波高潮. 已修正.
    cmkr
        6
    cmkr  
       2011-07-05 21:10:35 +08:00
    如果有相当的计算能力,比如几百m甚至上g的话,这个跳跃应该还是相当可观的。之前我也想到了,但不知道咋算法,个人菜了点,呵呵。推荐有计算能力的朋友试试,我自己就算了,只有一块破显卡~~
    fcicq
        7
    fcicq  
    OP
       2011-07-05 21:59:52 +08:00
    广告时间...

    以下为本人专业 poclbm 大修例子.

    锲而不舍:
    bitcoins.lc:8080 [HOP][+LP] 05/07/2011 13:44:46, afd294fa, ERROR (will resend)
    bitcoins.lc:8080 [HOP][+LP] 05/07/2011 13:44:48, afd294fa, ERROR (will resend)
    bitcoins.lc:8080 [HOP][+LP] 05/07/2011 13:44:49, afd294fa, ERROR (will resend)
    bitcoins.lc:8080 [HOP][+LP] 05/07/2011 13:44:51, afd294fa, ERROR (will resend)
    bitcoins.lc:8080 [HOP][+LP] 05/07/2011 13:44:53, afd294fa, ERROR (will resend)
    bitcoins.lc:8080 [HOP][+LP] 05/07/2011 13:44:54, afd294fa, ERROR (will resend)
    bitcoins.lc:8080 [HOP][+LP] 05/07/2011 13:44:57, afd294fa, accepted

    怕 DDOS?
    bitcoins.lc:8080 [+LP] 05/07/2011 12:54:32, Hopping is disabled due to the pool outage. Failing back to normal mode
    de.btcguild.com:8332 [+LP] 05/07/2011 12:54:32, Setting pool --- @ de.btcguild.com:8332
    de.btcguild.com:8332 [+LP] 05/07/2011 12:54:33, Problems communicating with bitcoin RPC 0 2
    de.btcguild.com:8332 [+LP] 05/07/2011 12:54:34, Problems communicating with bitcoin RPC 1 2
    de.btcguild.com:8332 [+LP] 05/07/2011 12:54:36, Problems communicating with bitcoin RPC 2 2
    de.btcguild.com:8332 [+LP] 05/07/2011 12:54:37, Problems communicating with bitcoin RPC 3 2
    pit.deepbit.net:8332 [+LP] 05/07/2011 12:54:37, Setting pool --- @ pit.deepbit.net:8332

    自动选 pool
    05/07/2011 09:09:34, bitcoins.lc: bitcoins.lc:8080
    05/07/2011 09:09:34, btcguild: de.btcguild.com:8332
    05/07/2011 09:09:34, deepbit: pit.deepbit.net:8332
    [HOP] 05/07/2011 09:09:34, Hopping Enabled
    [HOP] 05/07/2011 09:09:34, Checking the best pool
    [HOP] 05/07/2011 09:09:35, Bestpool: btcguild (LP: False)
    [HOP] 05/07/2011 09:09:35, Hopping Pool
    de.btcguild.com:8332 [HOP] 05/07/2011 09:09:35, Setting pool ---- @ de.btcguild.com:8332
    de.btcguild.com:8332 [HOP] 05/07/2011 09:09:36, LP connected to de.btcguild.com:8332/LP
    fcicq
        8
    fcicq  
    OP
       2011-07-05 22:04:05 +08:00
    cont.
    每有 long polling 送来新 block 的时候, 就会自动查询新的 best pool. 此外每 300s 查询一次, 以减少 shares 浪费.

    pit.deepbit.net:8332 [HOP]05/07/2011 14:00:57, Checking the best pool
    pit.deepbit.net:8332 [HOP]05/07/2011 14:00:57, long poll: new block 000001fc7a299483
    pit.deepbit.net:8332 [HOP][+LP] 05/07/2011 14:00:59, Bestpool: deepbit (LP: True)
    jiangchun9981
        9
    jiangchun9981  
       2011-07-06 09:36:43 +08:00
    这个提高的原理是什么? 感觉像是提高工作队列的效率?
    fcicq
        10
    fcicq  
    OP
       2011-07-06 10:12:56 +08:00
    那只是提升之一. 独家的 pool 推荐算法, 客户端支持 hopping 缺一不可. 重复提交(从其他分支移植来)减少网络损失, failback 功能(已进入官方版本, 但 hopping 与其有冲突, 做了大量的修改以保留该功能) 让人安心不怕 DDOS...

    虽然话说如此, 服务端暂时稳定性还不够, 被 deepbit 和 btcguild 搞的挺难受的...
    fcicq
        11
    fcicq  
    OP
       2011-07-06 10:14:13 +08:00
    忘了说那个 queue 的功能了. 那个在另一篇里有说明, 防止 miner is idle, 保证长期满速工作.
    fcicq
        12
    fcicq  
    OP
       2011-07-06 23:39:33 +08:00
    实测 14h, 比理论收入高 23.9%, 未计 deepbit PPS, 未计 bitcoins.lc 上未确认的 shares (预计 0.03+)
    milazi
        13
    milazi  
       2011-07-11 21:46:18 +08:00
    @fcicq 这个有搞头,安装起来麻烦不,有温度监控自动重启等功能么?
    fcicq
        14
    fcicq  
    OP
       2011-07-11 22:34:45 +08:00
    @milazi 只有 miner 的功能(能定时/在 block 变化时切换到当前最优的 pool), 其他监控什么的都不管. 今天的新功能是无缝切换, 已经可以做到不停 GPU 了(如果要切换的 pool 挂掉的话就不会切换了), 如果切换的话至多损失 1/frames 秒的计算能力. 之前需要重试连接 4 次以触发 failback, 约需 15s.
    fcicq
        15
    fcicq  
    OP
       2011-07-11 22:46:49 +08:00
    今天 0:00 - 21:00 数据, 实测比预期(1055 * mhash / difficulty * 21/24)高 +21%. 其中包括一台机器不到 30min 的停机时间.
    fcicq
        16
    fcicq  
    OP
       2011-07-11 22:51:54 +08:00
    啊. 应该是 20h. 比预期高 27%.
    milazi
        17
    milazi  
       2011-07-12 22:28:45 +08:00
    @fcicq 很有兴趣,服务费0.5BTC是吗?很公道的价格
    milazi
        18
    milazi  
       2011-07-12 22:29:06 +08:00
    @fcicq 很有兴趣,服务费0.5BTC是吗?很公道的价格,支持phoenix么?
    newliu
        19
    newliu  
       2011-07-13 02:36:02 +08:00
    很有兴趣。不知道怎么联系你?
    fcicq
        20
    fcicq  
    OP
       2011-07-13 11:59:07 +08:00
    以此文价格为准, 7.15 0:00 前有效. http://www.fcicq.net/wp/?p=1013
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5438 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:48 · PVG 16:48 · LAX 01:48 · JFK 04:48
    Developed with CodeLauncher
    ? Do have faith in what you're doing.


    http://www.vxiaotou.com