Zebra/zebra-chain/src/transaction
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
..
tests Implement a WtxId struct, and use it in Zebra's external network protocol (#2618) 2021-08-16 21:26:08 +00:00
arbitrary.rs Add transaction downloader and verifier (#2679) 2021-09-02 00:06:20 +00:00
auth_digest.rs Use unmined types for transaction verifier mempool requests and responses (#2666) 2021-08-25 21:02:47 +00:00
hash.rs Use unmined types for transaction verifier mempool requests and responses (#2666) 2021-08-25 21:02:47 +00:00
joinsplit.rs Refactor value balances to support generated data modification (#2596) 2021-08-10 14:42:02 +00:00
lock_time.rs Security: Avoid silently corrupting invalid times during serialization (#2149) 2021-05-17 16:53:10 -04:00
memo.rs Fix a test failure due to ' debug format changes in Rust 2021-04-14 23:45:36 -04:00
serialize.rs Document consensus rules for version group IDs (#2719) 2021-09-01 17:44:46 +00:00
sighash.rs Always compute sighash with librustzcash (#2469) 2021-07-09 09:55:08 +10:00
tests.rs Move the preallocate tests into their own files (#1977) 2021-04-07 12:32:27 +10:00
txid.rs Add ZIP-0244 TxId Digest support (#2129) 2021-07-06 09:58:22 -03:00
unmined.rs Add transaction downloader and verifier (#2679) 2021-09-02 00:06:20 +00:00