Zebra/zebra-network/src/protocol/external
teor c608260256
Support witnessed transaction IDs in zebra-network requests and responses (#2638)
* Rename internal network requests for wide transaction IDs

fastmod TransactionsByHash TransactionsById zebra*
fastmod AdvertiseTransactions AdvertiseTransactionIds zebra*
fastmod MempoolTransactions MempoolTransactionIds zebra*
fastmod TransactionHashes TransactionIds zebra*

* Update network transaction request/response comments

* Rename a transaction hash method for wide transaction IDs

fastmod transaction_hashes transaction_ids zebra-network

* Add UnminedTxId methods and conversions for InventoryHash

* Map WtxIds to unmined transaction network messages

Also, use UnminedTxId and UnminedTx in:
* Zebra's internal request and response format, and
* external Zcash network protocol messages.

* Enable WtxId mempool inventory tracking for peers

* Further clarify transaction IDs

* Use Witnessed rather than Wide for transaction IDs

And rename narrow to legacy when it only applies to v1-v4 transactions.
Otherwise, rename it to mined ID.

* Rename a missed binding
* Remove an incorrectly named binding

Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
2021-08-18 22:55:24 +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 Parse `MSG_WTX` inventory type (part of ZIP-239) (#2446) 2021-07-07 11:06:11 +10:00
codec.rs Support witnessed transaction IDs in zebra-network requests and responses (#2638) 2021-08-18 22:55:24 +00:00
inv.rs Support witnessed transaction IDs in zebra-network requests and responses (#2638) 2021-08-18 22:55:24 +00:00
message.rs Support witnessed transaction IDs in zebra-network requests and responses (#2638) 2021-08-18 22:55:24 +00:00
tests.rs Parse `MSG_WTX` inventory type (part of ZIP-239) (#2446) 2021-07-07 11:06:11 +10:00
types.rs Reject connections from outdated peers (#2519) 2021-08-08 23:52:52 +00:00