Skip to content

Mining block are not accepted if BIP related values changed to 0 or 1 #538

@adneerav

Description

@adneerav

Hello
I am creating own alt from litecoin source. So I have changed hashGenesisBlock , hashMerkleRoot , nonce , timestamp etc.Things are working fine if i dont make BIP34Height , BIP65Height , BIP66Height & BIP34Hash value to 1 . While doing mining using cpuminer generated hash/blocks are not accepting and thats why blocks are not getting generated/added.

If I change that BIP( BIP34Height , BIP65Height & BIP66Height and BIP34Hash) values(not default which is litecoin values), that generated hash/block should be accepted from cpu miner or any other third party mining binary. I've tried by setting value to 0 & 1 both but same result things are not working as expected.. Here is log URL generated from mining : https://goo.gl/JyLPHh

If I don't change that BIP values things are working fine.Generated blocks are accepted to add.Please check log which is generated from mining process. https://goo.gl/hf7uj2

Machine specs:

  • OS:Ubuntu 16.0.4
  • CPU:i7
  • RAM:12GB
  • Disk size:250GB
  • Disk Type (HD/SDD): SDD

For testing and initial setup i am doing things on LAN.All things are working fine if i don't change BIP values only(changing only genesis , merke minimum chain etc)

I know for this BIP related conceptual should be clear but I've not found any example & proper documentation so I came here to make things clear if anyone can provide more details/document/blogs and help me to solve this things.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions