Expand description
Zcash transparent script implementations.
Modules§
- cxx
- Rust bindings for Zcash transparent scripts.
Structs§
- Comparison
Interpreter - A tag to indicate that both the C++ and Rust implementations of zcash_script should be used, with their results compared.
- CxxInterpreter
- An interpreter that calls the original C++ implementation via FFI.
- Rust
Interpreter - This is the pure Rust interpreter, which doesn’t use the FFI.
Enums§
- Error
- This extends
ScriptErrorwith cases that can only occur when using the C++ implementation.
Traits§
- Zcash
Script - The external API of zcash_script. This is defined to make it possible to compare the C++ and Rust implementations.
Functions§
- cxx_
rust_ comparison_ interpreter - An interpreter that compares the results of the C++ and Rust implementations. In the case where they differ, a warning will be logged, and the C++ interpreter will be treated as the correct result.
Type Aliases§
- AnnError
- A verification error annotated with the script component it occurred in.