simfony_as_rust/jet/
bitcoin_without_primitives.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* This file has been automatically generated. */

//! # Bitcoin (without primitives)
//!
//! This module defines jets for Bitcoin that work without the Bitcoin transaction environmnent.
//! These jets are not recommended for non-Bitcoin(-like) applications.

#![allow(unused)]
#![allow(clippy::complexity)]

use super::*;

/// Parse an integer as a consensus-encoded Bitcoin lock time.
pub fn parse_lock(a: u32) -> Either<Height,Time> {
    todo!()
}

/// Parse an integer as a consensus-encoded Bitcoin sequence number.
pub fn parse_sequence(a: u32) -> Option<Either<Distance,Duration>> {
    todo!()
}

/// Create a SHA256 context, initialized with a "TapData" tag.
pub fn tapdata_init() -> Ctx8 {
    todo!()
}