File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
rust/cardano-blockchain-types Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ workspace = true
2020[dependencies ]
2121pallas = { version = " 0.30.1" , git = " https://github.com/input-output-hk/catalyst-pallas.git" , rev = " 9b5183c8b90b90fe2cc319d986e933e9518957b3" }
2222# pallas-hardano = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
23- cbork-utils = { version = " 0.0.1" , git = " https://github.com/input-output-hk/catalyst-libs.git" , tag = " r20250127-00 " }
24- catalyst-types = { version = " 0.0.1" , git = " https://github.com/input-output-hk/catalyst-libs.git" , tag = " r20250127-00 " }
23+ cbork-utils = { version = " 0.0.1" , git = " https://github.com/input-output-hk/catalyst-libs.git" , tag = " r20250128-01 " }
24+ catalyst-types = { version = " 0.0.1" , git = " https://github.com/input-output-hk/catalyst-libs.git" , tag = " r20250128-01 " }
2525
2626ouroboros = " 0.18.4"
2727tracing = " 0.1.41"
Original file line number Diff line number Diff line change 1+ use catalyst_types:: {
2+ define_hashes,
3+ hashes:: { Blake2b224Hash , Blake2b256Hash } ,
4+ } ;
5+
6+ define_hashes ! (
7+ /// A transaction hash - Blake2b-256 hash of a transaction.
8+ ( TransactionHash , Blake2b256Hash ) ,
9+ /// A public key hash - raw Blake2b-224 hash of an Ed25519 public key (has no discriminator, just the hash).
10+ ( PubKeyHash , Blake2b224Hash )
11+ ) ;
Original file line number Diff line number Diff line change 33mod auxdata;
44mod cip134_uri;
55mod fork;
6+ mod hashes;
67mod metadata;
78mod multi_era_block_data;
89mod network;
@@ -21,6 +22,7 @@ pub use auxdata::{
2122} ;
2223pub use cip134_uri:: Cip0134Uri ;
2324pub use fork:: Fork ;
25+ pub use hashes:: { PubKeyHash , TransactionHash } ;
2426pub use metadata:: cip36:: { voting_pk:: VotingPubKey , Cip36 } ;
2527pub use multi_era_block_data:: MultiEraBlock ;
2628pub use network:: Network ;
You can’t perform that action at this time.
0 commit comments