global: snapshot + monitor: add addresses to mempool

This commit is contained in:
nym21
2025-10-14 17:36:16 +02:00
parent db0298ac1b
commit 5425085953
63 changed files with 707 additions and 330 deletions

View File

@@ -5,7 +5,7 @@ use axum::{
response::{Redirect, Response},
routing::get,
};
use brk_structs::{Tx, TxidPath};
use brk_structs::{Transaction, TxidPath};
use crate::{
VERSION,
@@ -46,7 +46,7 @@ impl TxRoutes for ApiRouter<AppState> {
.description(
"Retrieve complete transaction data by transaction ID (txid). Returns the full transaction details including inputs, outputs, and metadata. The transaction data is read directly from the blockchain data files.",
)
.ok_response::<Tx>()
.ok_response::<Transaction>()
.not_modified()
.bad_request()
.not_found()