Skip to content

Commit f6d5c31

Browse files
committed
fix comments
1 parent 31db9ff commit f6d5c31

2 files changed

Lines changed: 14 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,32 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/
1111

1212
## [Unreleased]
1313

14+
### Added
15+
- Wallet:
16+
- Added support for Ledger hardware wallets (beta).
17+
18+
- Wallet RPC:
19+
- New value `ledger` in the `hardware_wallet` option for `wallet_create`, `wallet_recover` and `wallet_open` methods.
20+
21+
- Wallet CLI:
22+
- `wallet-create`/`wallet-recover`/`wallet-open` support the `ledger` subcommand, in addition to the existing
23+
`software` and `trezor`, which specifies the type of the wallet to operate on.
24+
25+
## [1.3.0] - 2026-04-09
26+
1427
### Added
1528
- Node RPC: new methods added - `chainstate_tokens_info`, `chainstate_orders_info_by_currencies`.
1629

1730
- Wallet RPC:
1831
- new methods added: `node_get_tokens_info`, `order_list_own`, `order_list_all_active`, `utxo_spend`.
19-
- new value `ledger` in the `hardware_wallet` option for `wallet_create`, `wallet_recover` and `wallet_open` methods.
2032

2133
- Wallet CLI:
2234
- the commands `order-create`, `order-fill`, `order-freeze`, `order-conclude`, `htlc-create-transaction` were added,
2335
mirroring their existing RPC counterparts.
2436
- other new commands added: `order-list-own`, `order-list-all-active`, `utxo-spend`, `htlc-generate-secret`,
2537
`htlc-calc-secret-hash`.
26-
- `wallet-create`/`wallet-recover`/`wallet-open` support the `ledger` subcommand, in addition to the existing
27-
`software` and `trezor`, which specifies the type of the wallet to operate on.
2838

2939
- Wallet:
30-
- Added support for Ledger hardware wallets (beta).
3140
- Now the wallet subscribes to events from the Mempool to include not yet confirmed transactions
3241
relevant to this wallet.
3342

api-server/scanner-lib/src/sync/remote_node.rs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
use chainstate::ChainInfo;
1717
use common::{
18-
chain::{Block, GenBlock, SignedTransaction, Transaction},
18+
chain::{Block, GenBlock, SignedTransaction},
1919
primitives::{BlockHeight, Id},
2020
};
2121
use mempool::FeeRate;
@@ -42,10 +42,6 @@ pub trait RemoteNode {
4242
) -> Result<Vec<Block>, Self::Error>;
4343

4444
async fn mempool_feerate_points(&self) -> Result<Vec<(usize, FeeRate)>, Self::Error>;
45-
async fn mempool_get_transaction(
46-
&self,
47-
tx_id: Id<Transaction>,
48-
) -> Result<Option<SignedTransaction>, Self::Error>;
4945
async fn mempool_get_transactions(&self) -> Result<Vec<SignedTransaction>, Self::Error>;
5046
}
5147

@@ -76,13 +72,6 @@ impl RemoteNode for NodeRpcClient {
7672
self.mempool_get_fee_rate_points().await
7773
}
7874

79-
async fn mempool_get_transaction(
80-
&self,
81-
tx_id: Id<Transaction>,
82-
) -> Result<Option<SignedTransaction>, Self::Error> {
83-
NodeInterface::mempool_get_transaction(self, tx_id).await
84-
}
85-
8675
async fn mempool_get_transactions(&self) -> Result<Vec<SignedTransaction>, Self::Error> {
8776
NodeInterface::mempool_get_transactions(self).await
8877
}

0 commit comments

Comments
 (0)