riftenlabs-indexer/src/def.rs

10 lines
199 B
Rust
Raw Normal View History

2024-11-13 11:31:14 +01:00
use bitcoin_hashes::hash_newtype;
use bitcoin_hashes::sha256d;
hash_newtype!(
PoolID,
sha256d::Hash,
32,
doc = "An identifier for a Cauldron pool (hash of its creation outpoint)"
);