Dev Update Week of June 19th


  • qtum team

    Week of June 19th:

    Changes made through this week to the core wallet:

    Note: we are now in a code freeze for testnet release, so only critical bug fixes are being merged into the codebase

    Bugs fixed:

    • [Staker/PoS] Fixed a bug where transactions were processed twice in the staker, causing strange errors
    • [EVM] Fixed a bug where out of gas conditions were sometimes not logged
    • [Staker/PoS] Fixed a bug where contract state roots were used in an improper context
    • [Consensus/EVM] Fixed a bug where OP_CALL to contract 0x00 caused a contract to be created
    • [Consensus/EVM] Fixed a bug where script parsing for OP_CALL did not properly check the stack size
    • [Staker/PoS] Fixed mempool handling of contract transactions within the staker
    • [Node/EVM] Fixed a bug where reindexing or in some cases syncing large number of headers caused the 'sender' for an EVM transaction to be blank, causing consensus breaks
    • [Node] Reverted an earlier change that caused bugs with syncing headers in some cases

    Work completed:

    • [GUI/Qt] Added recognition of contracts to the transaction page in the UI
    • [GUI/Qt] Added staking status and icons to UI
    • [Consensus] Only check FutureDrift on PoS blocks so as to not break regtest for PoW
    • [Documentation] Updated the README to be relevant and useful for Qtum
    • [Tests/PoS] Added automated tests to test verification of malicious/incorrect PoS blocks
    • [Consensus/EVM] Added new consensus rules to disallow non-standard OP_CALL, OP_CREATE, and OP_SPEND usage
    • [Consensus/EVM] Change gas schedule parameters to final testnet parameters (since DGP was delayed until 2nd testnet)
    • [Miner/EVM] Add a time limit of 30 seconds for how long a block will attempt to be filled with transactions when creating PoW blocks
    • [Consensus/EVM] Add new consensus rules to disallow OP_CALL, OP_CREATE, and OP_SPEND to be used in coinbase or coinstake transactions
    • [Consensus/EVM] Add new consensus rule to disallow OP_SPEND in any transaction that does not immediately follow OP_CALL or OP_CREATE in a block
    • [Consensus] Use final testnet parameters for block maturity (500 blocks) and maximum tip age (30 days)
    • [Staker/PoS] Made the staker not attempt to add transactions to a block if it's previous ancestors failed to be added
    • [Tests] Fixed some bugs with the automated QA test suite
    • [RPC/EVM] The default gas limits in the RPC interface were too small to do anything useful, they have been increased to more reasonable values

    In-progress work and soon to be fixed bugs:

    • [Staker/PoS] The staker does not construct blocks that are as full as possible, despite having a full mempool


  • @qtum

    Will the testnet still be release tomorrow?



  • No it is going to be released in 6/28



  • @chankim
    I don't know why I had the 26th in mind... thank you for the info...


Log in to reply
 

Looks like your connection to QTUM was lost, please wait while we try to reconnect.