riftenlabs-indexer/src/def.rs

15 lines
453 B
Rust
Raw Normal View History

2026-01-21 12:34:59 +01:00
// Copyright (C) 2024-2026 Whiterun LLC
2024-11-28 08:49:41 +01:00
//
// This software is licensed under the GNU Affero General Public License (AGPL), version 3.0 or later.
// A copy of the license can be found in the LICENSE file or at https://www.gnu.org/licenses/agpl-3.0.html
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)"
);