Giter Site home page Giter Site logo

Comments (2)

chuwt avatar chuwt commented on June 3, 2024

@YunL0ngLee

  1. 因为本身是做矿池的,利益相关,所以这块暂时无法解答
  2. Hpool的挖矿程序好像是自己写的,然后签名内容是我们看不见的,所以猜测他们的实现方式有2种:
  • 签名中带有farmerSk, 因为farmerSk的作用只是做在挖矿中有用,对于资产是控制不了的,所以签名中可能是带有farmerSk的,后面服务端验证客户端上传的答案,如果正确,再签名,走官方流程
  • 签名中不带有farmerSK,这样就要修改整个挖矿流程,起码要实现pos这块的一些逻辑,相当于客户端自己找到答案,然后签名后上传到服务器,服务器验证答案ok直接广播给节点,这种情况客户端本地是需要存在自己的私钥的

from dive-into-chia.

YunL0ngLee avatar YunL0ngLee commented on June 3, 2024

@YunL0ngLee

  1. 因为本身是做矿池的,利益相关,所以这块暂时无法解答
  2. Hpool的挖矿程序好像是自己写的,然后签名内容是我们看不见的,所以猜测他们的实现方式有2种:
  • 签名中带有farmerSk, 因为farmerSk的作用只是做在挖矿中有用,对于资产是控制不了的,所以签名中可能是带有farmerSk的,后面服务端验证客户端上传的答案,如果正确,再签名,走官方流程
  • 签名中不带有farmerSK,这样就要修改整个挖矿流程,起码要实现pos这块的一些逻辑,相当于客户端自己找到答案,然后签名后上传到服务器,服务器验证答案ok直接广播给节点,这种情况客户端本地是需要存在自己的私钥的

好的,非常感謝!

from dive-into-chia.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.