Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad rich address #23

Closed
anemol opened this issue Jan 16, 2020 · 3 comments
Closed

Bad rich address #23

anemol opened this issue Jan 16, 2020 · 3 comments

Comments

@anemol
Copy link

anemol commented Jan 16, 2020

Each time this 3JT9LAzuMChCifVoQQK18BQV9z4BzpbQVH rich address must be payed, the submit block result from the pool is a success but the creation of block fails with this error (debug.log):

ERROR: ConnectBlock() : rich address not getting paid correctly
InvalidChainFound: invalid block=2b853235c7ba07ea807924eb9066c3afc71680a2ccfd4a95f3e9c5b57485f940  height=621770  log2_work=62.816573  date=2020-01-09 19:58:28
InvalidChainFound:  current best=1672cc55d73947a213a0fc2c68d347bd38cfd8de73c2f9541c69d812ab5e008b  height=621769  log2_work=62.816306  date=2020-01-09 19:55:18
ERROR: ConnectTip() : ConnectBlock 2b853235c7ba07ea807924eb9066c3afc71680a2ccfd4a95f3e9c5b57485f940 failed
InvalidChainFound: invalid block=2b853235c7ba07ea807924eb9066c3afc71680a2ccfd4a95f3e9c5b57485f940  height=621770  log2_work=62.816573  date=2020-01-09 19:58:28
InvalidChainFound:  current best=1672cc55d73947a213a0fc2c68d347bd38cfd8de73c2f9541c69d812ab5e008b  height=621769  log2_work=62.816306  date=2020-01-09 19:55:18
ProcessBlock: ACCEPTED

Example of the blocktemplate result:

    "version" : 514,
    "previousblockhash" : "3d80bae91c49bcc893b065078aa929c1c557615ceb831e96def988905050bef5",
    "transactions" : [
    ],
    "coinbaseaux" : {
        "flags" : "062f503253482f"
    },
    "coinbasevalue" : 1000000000000,
    "target" : "00000000000006191b0000000000000000000000000000000000000000000000",
    "mintime" : 1579123575,
    "mutable" : [
        "time",
        "transactions",
        "prevblock"
    ],
    "noncerange" : "00000000ffffffff",
    "sigoplimit" : 20000,
    "sizelimit" : 1000000,
    "curtime" : 1579125816,
    "bits" : "1a06191b",
    "height" : 624569,
    "richaddress" : {
        "payee" : "3JT9LAzuMChCifVoQQK18BQV9z4BzpbQVH",
        "script" : "a914b7da7f8d3cc56b8545786f18441dda0cec252ee287",
        "amount" : 450000000000
    },
    "EIASaddress" : {
        "payee" : "BDLAaqqtBNoG9EjbJCeuLSmT5wkdnSB8bc",
        "script" : "76a914616a5dfe3c2d32831c323f614ac1ef4333781be388ac",
        "amount" : 450000000000
    }
}

It is currently the case for the block #624568. No new block founds since a lot of hours. All algo requires this bad rich address (sha, skein, qubit and myr-gr). Blocks are found but never valided correctly. Finally, for now, the chain is stuck until some one find a correct and valid block.

Finally, i managed to find a valid block by modifing my yiimp code.

@dynazz
Copy link

dynazz commented Jan 19, 2020

Hello,
I have the same problem right now.
Would you like to help me with your solution or share it?

best regards

@gstefans
Copy link
Contributor

This solution has been proposed:
"In the case of this address, use p2sh_pack_tx() instead job_pack_tx()"
Can someone confirm that this works?

@gstefans
Copy link
Contributor

Since there was no reply to the comment above, I'm assuming that solved it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants