NAME

CBitcoin::TransactionInput - The great new CBitcoin::TransactionInput!

dl_load_flags

Don't worry about this.

new

---++ new($info)

$info = { 'prevOutHash' => 0x84320230, 'prevOutIndex' => 32, 'script' => 'OP_HASH160 ...' 'input_amount' => 0 };

---++ input_amount

---++ script

AKA scriptPub

---++ redeem_script

The redeem script is for when the scriptPub is of p2sh type.

---++ scriptSig

type_of_script

---++ type_of_script

prevOutHash

---++ prevOutHash()

This is packed.

prevOutIndex

---++ prevOutIndex()

Not packed.

sequence

---++ sequence

---++ add_scriptSig($scriptSig)

For checking the signature or making a signature, we need the script that gets transformed into scriptPubKey.

---++ add_cbhdkey($cbhd_key)

For making the signature, we need to add the $cbhd_key.

---+ i/o

---++ serialize

AUTHOR

Joel De Jesus, <dejesus.joel at e-flamingo.jp>

BUGS

Please report any bugs or feature requests to bug-libperl-cbitcoin-transactioninput at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=libperl-cbitcoin. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc CBitcoin::TransactionInput

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2014 Joel De Jesus.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 27:

'=item' outside of any '=over'

Around line 293:

You forgot a '=back' before '=head1'