Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown-core crown-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown-corecrown-core
  • Issues
  • #258

Closed
Open
Created Oct 29, 2018 by Ashot@ashotMaintainer

Budget payment causes forks in testnet

Summary

Proposals created and have enough votes to be paid. But when miner pays to them some nodes are not agree with different errors.

  1. Block header is invalid
2018-10-29 05:21:52 ERROR: AcceptBlockHeader : block is marked invalid
2018-10-29 05:21:52 ERROR: invalid header received 00000000000179522dbdd8ec9dda61ed5a1f77b0e37d6c735ca2392e095ab366
  1. coinbase pays too much ERROR: ConnectBlock() : coinbase pays too much (actual=5900000000 vs limit=900000000)

Also when trying to get raw transaction of budget payment there is a 39tCRW payment. There is no proposal for that amount.

{
    "hex" : "02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff18030ca701047f0ad75b0881000001ed0800007969696d7000000000000300ca9a3b000000001976a9143833179f964ea7c0aeef0f56f862de561603b65288ac00ca9a3b000000001976a9143833179f964ea7c0aeef0f56f862de561603b65288ac004775e8000000001976a9146a73f27374a07cbcc61986303993fd55c687fd7a88ac00000000",
    "txid" : "7854051a2b4f3cbe33c86fc6390a6efe587dbd0a314706807609b6b2a8625ccb",
    "version" : 2,
    "locktime" : 0,
    "vin" : [
        {
            "coinbase" : "030ca701047f0ad75b0881000001ed0800007969696d7000",
            "sequence" : 0
        }
    ],
    "vout" : [
        {
            "value" : 10.00000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 3833179f964ea7c0aeef0f56f862de561603b652 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a9143833179f964ea7c0aeef0f56f862de561603b65288ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "mke7LkUF6EevZVhSq1vLoDKajACtPT8Ynp"
                ]
            }
        },
        {
            "value" : 10.00000000,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 3833179f964ea7c0aeef0f56f862de561603b652 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a9143833179f964ea7c0aeef0f56f862de561603b65288ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "mke7LkUF6EevZVhSq1vLoDKajACtPT8Ynp"
                ]
            }
        },
        {
            "value" : 39.00000000,
            "n" : 2,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 6a73f27374a07cbcc61986303993fd55c687fd7a OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a9146a73f27374a07cbcc61986303993fd55c687fd7a88ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "mqDppXotMrPpm7sM3at9yk1yQ4voqgjpRU"
                ]
            }
        }
    ],
    "blockhash" : "0000000000001a5b89aa29c8c67e6ebb38fe3542df47b49cb60df8213e816a02",
    "confirmations" : 48,
    "time" : 1540819583,
    "blocktime" : 1540819583
}

debug.log

https://drive.google.com/file/d/1mEEVzrehxisxWPt9J86HAMw0F3XqjRNq/view?usp=sharing

Edited Oct 29, 2018 by Ashot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking