Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Quorum Selection now available (InstantSend transaction locking explained!)

Discussion in 'Masternode Questions and Help.' started by tungfa, Jul 12, 2016.

  1. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,945
    Likes Received:
    6,731
    Trophy Points:
    1,283
    Quorum Selection now available
    (InstantSend transaction locking explained!)
    tx to moocowmoo

    https://dashpay.atlassian.net/wiki/display/DOC/Quorum+Selection

    [​IMG]

    InstantSend (formerly InstantX) Transactions in Dash version 12 are secured using a consensus of deterministically selected masternodes.

    This set of masternodes is informally termed quorum and must be in a majority agreement, at least six out of ten, for a successful lock of the transaction inputs.

    Quorums are self-selected on a per-transaction basis using a combination of three elements: Transaction Height, Block Height, and Masternode Funding Transaction.

    Transaction Height
    When an InstantSend transaction is broadcast, the height of the first unspent input in the transaction influences which proof of work hash to use as entropy for quorum selection. All InstantSend inputs must be at least six blocks old or the transaction will be rejected.

    Block Height
    The height of the first InstantSend input is then subtracted from the current blockchain height. This guarantees a new source of entropy every time a block is discovered. To prevent using transaction malleability to influence quorum selection, four is then added to the calculated block height to guarantee choosing a block generated after the input was created.

    Masternode Funding Transaction
    Each masternode receiving the InstantSend transaction lock request then compares the hash of its funding transaction to the hash of the block calculated above. After validating the inputs are not spent, the top ten masternodes closest to this proof of work hash broadcast their acceptance of the lock.
     
    • Like Like x 1
  2. TaoOfSatoshi

    TaoOfSatoshi Grizzled Member

    Joined:
    Jul 15, 2014
    Messages:
    2,689
    Likes Received:
    2,600
    Trophy Points:
    1,183
    Great to know! Thanks for this.