Conrado Gouvea
|
1ccb2de7c7
|
Add transaction downloader and verifier (#2679)
* Add transaction downloader
* Changed mempool downloader to be like inbound
* Verifier working (logs result)
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Fix coinbase check for mempool, improve is_coinbase() docs
* Change other downloads.rs docs to reflect the mempool downloads.rs changes
* Change TIMEOUTs to downloads.rs; add docs
* Renamed is_coinbase() to has_valid_coinbase_transaction_inputs() and contains_coinbase_input() to has_any_coinbase_inputs(); reorder checks
* Validate network upgrade for V4 transactions; check before computing sighash (for V5 too)
* Add block_ prefix to downloads and verifier
* Update zebra-consensus/src/transaction.rs
Co-authored-by: teor <teor@riseup.net>
* Add consensus doc; add more Block prefixes
Co-authored-by: teor <teor@riseup.net>
|
2021-09-02 00:06:20 +00:00 |