[−][src]Module bitcoin::util::contracthash
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
| compute_tweak | Compute a tweak from some given data for the given public key |
| 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 (calls |
| untemplate | Extract the keys and template from a completed script |