rpcmining.cpp angleichen am Standard & getblocktemplate coinbasevalue falsch? #42

Open
opened 2018-04-04 14:57:26 +00:00 by djspacedevil · 1 comment
djspacedevil commented 2018-04-04 14:57:26 +00:00 (Migrated from github.com)

Hallo,

die Werte wenn man z.b. getmininginfo abfragt heißen alle anders, als im Standard.
Siehe z.b. : https://github.com/katzhipos/katz/blob/master/src/rpcmining.cpp
oder: https://github.com/sassafrasstubby/BioBar/blob/master/src/rpcmining.cpp

diff.push_back(Pair("proof-of-work", GetDifficulty())); sollte :
diff.push_back(Pair("Proof of Work", GetDifficulty())); sein.

Desweiteren scheint der Reward falsch berechnet zu sein, wenn man diesen mit getblocktemplate abfragt. Dieser muss noch mal 100 genommen werden, damit dieser stimmt.

GGf. ist das der Grund, warum man bei einem yiimp Pool immer die Fehler bekommt:
ERROR: CheckBlock() : first tx is not coinbase
ERROR: ProcessBlock() : CheckBlock FAILED

"coinbasevalue": 50000000,
That is to low... thats only 0.5 DEM

Hallo, die Werte wenn man z.b. getmininginfo abfragt heißen alle anders, als im Standard. Siehe z.b. : https://github.com/katzhipos/katz/blob/master/src/rpcmining.cpp oder: https://github.com/sassafrasstubby/BioBar/blob/master/src/rpcmining.cpp diff.push_back(Pair("proof-of-work", GetDifficulty())); sollte : diff.push_back(Pair("Proof of Work", GetDifficulty())); sein. Desweiteren scheint der Reward falsch berechnet zu sein, wenn man diesen mit getblocktemplate abfragt. Dieser muss noch mal 100 genommen werden, damit dieser stimmt. GGf. ist das der Grund, warum man bei einem yiimp Pool immer die Fehler bekommt: ERROR: CheckBlock() : first tx is not coinbase ERROR: ProcessBlock() : CheckBlock FAILED ``"coinbasevalue": 50000000,`` That is to low... thats only 0.5 DEM
Hui-DE commented 2023-03-13 20:24:58 +00:00 (Migrated from github.com)

Es sind nicht 0.5 sondern 50 DEM:
Du gehst wohl davon aus, dass alle Coins 8 Nachkommastellen besitzen (wie Bitcoin). Das ist ein Irrtum.
Ether hat 18, es gibt welche mit 2 und DEM hat 6.

Es sind nicht 0.5 sondern 50 DEM: Du gehst wohl davon aus, dass alle Coins 8 Nachkommastellen besitzen (wie Bitcoin). Das ist ein Irrtum. Ether hat 18, es gibt welche mit 2 und DEM hat 6.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Core-Wallets/eMark#42
No description provided.