mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 08:51:08 +03:00
Add depreciation warning (#3310)
This commit is contained in:
parent
be4779c923
commit
061bf3d08f
1 changed files with 4 additions and 0 deletions
|
@ -305,6 +305,10 @@ fn response<T: Into<Body>>(status: StatusCode, text: T) -> Response<Body> {
|
|||
}
|
||||
|
||||
// Legacy V1 router
|
||||
#[deprecated(
|
||||
since = "4.0.0",
|
||||
note = "The V1 Node API will be removed in grin 5.0.0. Please migrate to the V2 API as soon as possible."
|
||||
)]
|
||||
pub fn build_router(
|
||||
chain: Arc<chain::Chain>,
|
||||
tx_pool: Arc<RwLock<pool::TransactionPool>>,
|
||||
|
|
Loading…
Reference in a new issue