forked from rust-bitcoin/rust-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As we do for other types add two new alias' at the crate root of `primitives`: - `BlockVersion` We have a bunch of alias' already e.g., `block::Header as BlockHeader`. - `TxVersion` This could equally be `TransactionVersion` to match other alias' but we also have `TxIn`, `TxOut` so there is an argument for `Tx`. In light of the fact that there are arguments on both sides opt for the more terse. Another solution would be adding both? Also re-export them from the crate root of `bitcoin`.
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters