Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: b77654f8d4dc593d15bcfe5cfc8783606745fb69
      
https://github.com/btcsuite/btcd/commit/b77654f8d4dc593d15bcfe5cfc8783606745fb69
  Author: DanielKrawisz <daniel.kraw...@thingobjectentity.net>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M txscript/standard.go
    M txscript/standard_test.go

  Log Message:
  -----------
  txscript: Add null data script creator

This adds a new function named NullDataScript to the txscript package that 
returns a provably-pruneable  OP_RETURN script with the provided data.  The 
function will return an error if the provided data is larger than the maximum 
allowed length for a nulldata script to be be considered standard.


Reply via email to