Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcscript
  Commit: f513518b4f1f22432999d45598d1d26a76ced12d
      
https://github.com/btcsuite/btcscript/commit/f513518b4f1f22432999d45598d1d26a76ced12d
  Author: David Hill <[email protected]>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M data/script_invalid.json
    M data/script_valid.json
    M internal_test.go
    M opcode.go
    M script.go
    M test_coverage.txt

  Log Message:
  -----------
  Discourage NOPs reserved for soft-fork upgrades

NOP1 through NOP10 are reserved for future soft-fork upgrades.  When
such an upgrade occurs, the NOP argument will then require verification.
Rejecting transactions that contain these NOPs into the mempool will
discourage those transactions from being mined elsewhere and ensure
btcd will never mine such transactions.  This prevents now
invalid scripts (according to the majority of hashing power) even if the
client has not yet upgraded.

Non-executed upgradable NOPs are still allowed as they will still be
valid post-upgrade.

Mimics Bitcoin Core commit 03914234b3c9c35d66b51d580fe727a0707394ca


Reply via email to