Module bitcoin::util::contracthash
[−]
[src]
Pay-to-contract-hash supporte
See Appendix A of the Blockstream sidechains whitepaper at http://blockstream.com/sidechains.pdf for details of what this does.
Structs
Template |
A script template |
Enums
Error |
A contract-hash error |
Functions
create_address |
Takes a contract, template and key set and runs through all the steps |
tweak_keys |
Tweak keys using some arbitrary data |
tweak_secret_key |
Tweak a secret key using some arbitrary data |
untemplate |
Extract the keys and template from a completed script |