rust-bitcoin-unsafe-fast/src/util
Andrew Poelstra 340b569c73 Add much more agressive provably-false checker
Now unspendable outs are determined by attempting to create a minimal
satisfying input script. If this can't be done, the output is unspendable.
(Unfortunately this "minimal satisfying script" is not (yet) something
that can be shown to the user, since it is more a bundle of constraints
than actual data pushes.)

Current limitations:
  - OP_ADD and friends mean the checker gives the script a free pass.
    There is no fundamental reason for this, I just didn't get to it
    yet.

  - Pubkeys are checked for DER encoding but signatures aren't. This
    is because secp256k1 exposes a method for pubkeys, but not one
    for sigs :). Signatures are loosely length checked.
2014-08-31 16:01:24 -07:00
..
base58.rs Add BIP32 key support; unify array newtyping; improve base58 trait 2014-08-28 09:49:03 -07:00
error.rs Introduce `BitcoinResult`, use it instead of boolean returns in blockchain 2014-07-18 12:40:04 -07:00
hash.rs Add much more agressive provably-false checker 2014-08-31 16:01:24 -07:00
iter.rs Revamp Serializable interface to be similar to Encoder/Encodable 2014-08-01 09:01:39 -07:00
misc.rs Remove -all- CODESEPARATORS before serializing the script, even though only one has effect 2014-08-12 21:34:46 -07:00
mod.rs Add base58 decode/encode functionality 2014-08-24 23:03:47 -07:00
patricia_tree.rs Fixes for rustc changes 2014-08-30 16:08:38 -07:00
thinvec.rs Add P2SH support 2014-08-15 17:37:40 -07:00
uint.rs Rename Hash->Uint functions to denote endianness 2014-08-24 12:28:02 -07:00