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
27
28
29
30
31
32
33
crate::ix!();
pub struct TxUndo {
pub vprevout: Vec<Coin>,
}
pub fn tx_to_univ(
tx: &Transaction,
hash_block: &u256,
entry: &mut UniValue,
include_hex: Option<bool>,
serialize_flags: Option<i32>,
txundo: *const TxUndo,
verbosity: Option<TxVerbosity>) {
let include_hex: bool = include_hex.unwrap_or(true);
let serialize_flags: i32 = serialize_flags.unwrap_or(0);
let verbosity: TxVerbosity = verbosity.unwrap_or(TxVerbosity::SHOW_DETAILS);
todo!();
}