return back search by unspent output feature

This commit is contained in:
aglkm
2024-06-20 15:16:34 +03:00
parent 9f3446ddf2
commit 4aaf39cf5f
6 changed files with 163 additions and 16 deletions

View File

@@ -188,3 +188,25 @@ impl ExplorerConfig {
}
}
// Output data
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Output {
pub height: String,
pub commit: String,
pub out_type: String,
pub status: String,
pub raw_data: String,
}
impl Output {
pub fn new() -> Output {
Output {
height: String::new(),
commit: String::new(),
out_type: String::new(),
status: String::new(),
raw_data: String::new(),
}
}
}