bitcoincash.core

Everything consensus critical is found in the core subpackage.

core

key

ECC secp256k1 crypto routines

WARNING: This module does not mlock() secrets; your private keys may end up on disk in swap! Use with caution!

schnorr

This is a Python-only Schnorr sign/verify. Compared to the libsecp256k1 bundled with Bitcoin Unlimited this is much less secure as it contains side channel vulnerabilities, and must not be used in an automated-signing environment.

script

Scripts

Functionality to build scripts, as well as SignatureHash(). Script evaluation is in bitcoincash.core.scripteval

scripteval

Script evaluation

Be warned that there are highly likely to be consensus bugs in this code; it is unlikely to match Satoshi Bitcoin exactly. Think carefully before using this module.

serialize

Serialization routines

You probabably don’t need to use these directly.