mirror of
https://github.com/transatoshi-mw/grin-explorer.git
synced 2025-10-22 05:43:42 +00:00
return back search by unspent output feature
This commit is contained in:
22
src/data.rs
22
src/data.rs
@@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user