Zebra/zebra-consensus/src
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
..
block Add transaction downloader and verifier (#2679) 2021-09-02 00:06:20 +00:00
chain Return a transaction verifier from `zebra_consensus::init` (#2665) 2021-08-25 15:07:26 +00:00
checkpoint Add `zebra_state::init_test` helper function for tests (#2539) 2021-07-28 20:55:01 -03:00
parameters Replace smart quotes with ascii quotes 2021-03-15 03:18:10 -04:00
primitives Merge pull request #2318 from ZcashFoundation/redpallas-verifier 2021-07-02 02:50:23 -04:00
transaction Add transaction downloader and verifier (#2679) 2021-09-02 00:06:20 +00:00
block.rs Make chain tip updates and access more efficient (#2695) 2021-08-30 15:42:07 -03:00
chain.rs Return a transaction verifier from `zebra_consensus::init` (#2665) 2021-08-25 15:07:26 +00:00
checkpoint.rs Security: Replace queued checkpoint blocks with duplicate hashes (#2697) 2021-08-31 13:50:47 -03:00
config.rs Make sure the mandatory checkpoint includes Canopy activation (#2235) 2021-06-03 10:24:08 +10:00
error.rs Add transaction downloader and verifier (#2679) 2021-09-02 00:06:20 +00:00
lib.rs Add transaction downloader and verifier (#2679) 2021-09-02 00:06:20 +00:00
parameters.rs move genesis parameters to zebra-chain (#1151) 2020-10-12 14:08:23 -07:00
primitives.rs Merge pull request #2318 from ZcashFoundation/redpallas-verifier 2021-07-02 02:50:23 -04:00
script.rs Add an OrderedUtxo type for transparent spend validation (#2502) 2021-07-19 10:52:32 -03:00
transaction.rs Add transaction downloader and verifier (#2679) 2021-09-02 00:06:20 +00:00