Zebra/zebra-chain/src/transaction/tests
Conrado Gouvea f270fd2de6
Prepare for changes in ZIP-244 (#3415)
* Add all_previous_outputs; load UTXOs in transaction verifier

* Remove UTXO loading and returning from script.rs

* Don't pass state service to script verifier

* Remove output from is_valid()

* Refactor loading UTXOs to separate function

* Pass all_previous_output to sighash

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* Create AwaitUtxo only when needed; formatting

* Add comments about output vectors in tests

* Change sighash() to receive reference and avoid cloning

* Expand comments

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-31 15:28:42 +00:00
..
preallocate.rs Parse received addrv2 messages (#3022) 2021-11-12 00:25:23 +00:00
prop.rs Implement a WtxId struct, and use it in Zebra's external network protocol (#2618) 2021-08-16 21:26:08 +00:00
vectors.rs Prepare for changes in ZIP-244 (#3415) 2022-01-31 15:28:42 +00:00