lib/bitcoin/builder.rb
# Add a script to the output (see ScriptBuilder).
Add a script to the output .
Add a script to the output .
def script
        c = ScriptBuilder.new
        yield c
        @txout.pk_script = c.script
        @txout.redeem_script = c.redeem_script
      end
def script c = ScriptBuilder . new yield c @txout . pk_script = c . script @txout . redeem_script = c . redeem_script end
Add a script to the output (see ScriptBuilder).
Add a script to the output ( see ScriptBuilder ) .