Giter Site home page Giter Site logo

Comments (5)

poiuty avatar poiuty commented on August 17, 2024

https://github.com/ntkrnl/yacoin-p2pool/blob/master/test.py
http://bitcoin.stackexchange.com/questions/12365/how-to-change-donation-address-of-p2pool

from p2pool-dash.

poiuty avatar poiuty commented on August 17, 2024

Find decode. Donate send to
https://chainz.cryptoid.info/dash/address.dws?Xcfme7cJDpWBgQE7Bsf71pPmse9YCjV2CF.htm

darkcoind decodescript '41042d71f6448f92c35ede838e3922313b162cbf20d357e7d067115aac8d1a27f66a89b46dee086775c8b083ee5f06fe1c08d1d0ae0668d029aed17e1f8eaea544d4ac'
{
    "asm" : "042d71f6448f92c35ede838e3922313b162cbf20d357e7d067115aac8d1a27f66a89b46dee086775c8b083ee5f06fe1c08d1d0ae0668d029aed17e1f8eaea544d4 OP_CHECKSIG",
    "reqSigs" : 1,
    "type" : "pubkey",
    "addresses" : [
        "Xcfme7cJDpWBgQE7Bsf71pPmse9YCjV2CF"
    ],
    "p2sh" : "7i3t8jUJ7i2UAmqTs6PMvN8S3kofVUbrbg"
}

from p2pool-dash.

poiuty avatar poiuty commented on August 17, 2024

Can`t generate uncompress public key. Only compress.

from p2pool.dash import data, networks, sha256
from p2pool.util import pack

print data.pubkey_hash_to_script2(data.address_to_pubkey_hash('XpAy7r5RVdGLnnjWNKuB9EUDiJ5Tje9GZ8', networks.nets['dash'])).encode('hex') #76a91493eb5d3f266f2e0cd2468caffa5f6a933b2c0b8588ac
#darkcoind decodescript '76a91493eb5d3f266f2e0cd2468caffa5f6a933b2c0b8588ac'
#{
#    "asm" : "OP_DUP OP_HASH160 93eb5d3f266f2e0cd2468caffa5f6a933b2c0b85 OP_EQUALVERIFY OP_CHECKSIG",
#    "reqSigs" : 1,
#    "type" : "pubkeyhash",
#    "addresses" : [
#        "XpAy7r5RVdGLnnjWNKuB9EUDiJ5Tje9GZ8"
#    ],
#    "p2sh" : "7if3tTT8rexwn1hP1JFCf1FefjermWPngY"
#}

Also I find
https://github.com/Neisklar/p2pool-quarkcoin/blob/master/p2pool/data.py#L56-L66
https://bitcointalk.org/index.php?topic=18313.msg10613795#msg10613795

from p2pool-dash.

poiuty avatar poiuty commented on August 17, 2024

https://dashtalk.org/threads/p2pool-repository-and-python-modules.3380/page-8#post-51590

from p2pool-dash.

poiuty avatar poiuty commented on August 17, 2024

Also we need fix this too
https://github.com/dashpay/p2pool-dash/blob/master/p2pool/dash/data.py#L13-L16

from p2pool-dash.

Related Issues (20)

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.