pub const ROSTRUM_VERSION: &str = env!("CARGO_PKG_VERSION");
pub const PROTOCOL_VERSION_MIN: &str = "1.4";
pub const PROTOCOL_VERSION_MAX: &str = "1.4.3";
pub const PROTOCOL_HASH_FUNCTION: &str = "sha256";
// (Partial) DB history:
// 2.11: Changed prefix extractor to 32 bytes.
// 2.12: Added height to scripthash index
// 2.13: Added height to output index
// 2.14: Add unspent index
// 2.15: encoding change due to upgrade from bincode 1 to bincode 2
// 2.16: change in scriptindex
// 2.17: Issue #242 fix
// 2.18: Move height from value to key in ScriptHashIndex for correct rscan ordering
// 2.19: Replace bincode with postcard serialization
pub const DATABASE_VERSION: &str = "2.19";
#[cfg(bch)]
pub const COIN: u64 = 100_000_000;
#[cfg(nexa)]
pub const COIN: u64 = 100;
