Giter VIP home page Giter VIP logo

Comments (5)

darkcoinproject avatar darkcoinproject commented on July 17, 2024

The darkcoin network is currently in a compatibility mode, which supports both v10/v11. I would downgrade while we work out these issues, sorry for the inconvenience.

from dash.

darkcoinproject avatar darkcoinproject commented on July 17, 2024

Which version are you using? I've looked at 11.0.7 and getblocktemplate does have payee_amount:

10:47:11

getblocktemplate

10:47:11

{
"version" : 2,
"previousblockhash" : "00000000000251428a5d1dd6f857dc34b706a8801039c4f969c1ae85ba5ebede",
"transactions" : [
],
"coinbaseaux" : {
"flags" : "062f503253482f"
},
"coinbasevalue" : 325000000,
"target" : "000000000011ad63000000000000000000000000000000000000000000000000",
"mintime" : 1421602678,
"mutable" : [
"time",
"transactions",
"prevblock"
],
"noncerange" : "00000000ffffffff",
"sigoplimit" : 20000,
"sizelimit" : 1000000,
"curtime" : 1421603231,
"bits" : "1b11ad63",
"height" : 205305,
"votes" : [
],
"payee" : "XrTWWGEvzg6ZkjFui1kp242kEdcmLB6MVs",
"payee_amount" : 175000000,
"masternode_payments" : true,
"enforce_masternode_payments" : true
}

from dash.

Coinotron avatar Coinotron commented on July 17, 2024

I'm using 11.0.7
The problem is that in ver. 11.0.7 "coinbasevalue" is : 325000000 while in ver. 10.x.x it is 500000000 !
The issue is caused by different implementation of getblocktemplate in rpcmining.cpp in those versions:

ver 10:
result.push_back(Pair("coinbasevalue", (int64_t)pblock->vtx[0].GetValueOut()));

ver 11:
result.push_back(Pair("coinbasevalue", (int64_t)pblock->vtx[0].vout[0].nValue));

from dash.

darkcoinproject avatar darkcoinproject commented on July 17, 2024

Ah, yes you're correct. It's fixed in 6dd7e0f

from dash.

Coinotron avatar Coinotron commented on July 17, 2024

Thanks

from 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.