We don't want to compare things that are not stored in utxo db, specifically the nonce commitment which has no consensus meaning for spending conditions
| 1890 | // We don't want to compare things that are not stored in utxo db, specifically |
| 1891 | // the nonce commitment which has no consensus meaning for spending conditions |
| 1892 | static bool TxOutDBEntryIsSame(const CTxOut& block_txout, const CTxOut& txdb_txout) |
| 1893 | { |
| 1894 | return txdb_txout.nValue == block_txout.nValue && |
| 1895 | txdb_txout.nAsset == block_txout.nAsset && |
| 1896 | txdb_txout.scriptPubKey == block_txout.scriptPubKey; |
| 1897 | } |
| 1898 | |
| 1899 | /** Undo the effects of this block (with given index) on the UTXO set represented by coins. |
| 1900 | * When FAILED is returned, view is left in an indeterminate state. */ |