Skip to content

Commit 4c88282

Browse files
committed
Add missing getpeerinfo field in v18
There is a missing return field `minfeefilter` in v18 Redefine the type with the new field in v18. Reexport up to v29.
1 parent 3636ffc commit 4c88282

File tree

13 files changed

+131
-25
lines changed

13 files changed

+131
-25
lines changed

types/src/v18/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ mod wallet;
234234
pub use self::{
235235
blockchain::{GetMempoolEntry, MempoolEntry},
236236
control::{ActiveCommand, GetRpcInfo},
237-
network::{GetNodeAddresses, NodeAddress},
237+
network::{GetNodeAddresses, GetPeerInfo, NodeAddress, PeerInfo},
238238
raw_transactions::{
239239
AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,
240240
AnalyzePsbtInputMissingError, JoinPsbts, UtxoUpdatePsbt,
@@ -264,7 +264,7 @@ pub use crate::v17::{
264264
GetMempoolAncestorsVerbose, GetMempoolDescendants, GetMempoolDescendantsVerbose,
265265
GetMempoolInfo, GetMempoolInfoError, GetMiningInfo, GetNetTotals,
266266
GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoError, GetNetworkInfoNetwork,
267-
GetNewAddress, GetPeerInfo, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
267+
GetNewAddress, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
268268
GetRawTransaction, GetRawTransactionVerbose, GetRawTransactionVerboseError,
269269
GetReceivedByAddress, GetTransaction, GetTransactionDetail, GetTransactionDetailError,
270270
GetTransactionError, GetTxOut, GetTxOutError, GetTxOutSetInfo, GetTxOutSetInfoError,
@@ -275,7 +275,7 @@ pub use crate::v17::{
275275
ListSinceBlockError, ListSinceBlockTransaction, ListSinceBlockTransactionError,
276276
ListTransactions, ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError,
277277
ListWallets, LoadWallet, Locked, Logging, MapMempoolEntryError, MempoolAcceptance,
278-
MempoolEntryError, MempoolEntryFees, MempoolEntryFeesError, PeerInfo,
278+
MempoolEntryError, MempoolEntryFees, MempoolEntryFeesError,
279279
PruneBlockchain, PsbtInput, PsbtOutput, PsbtScript, RawTransaction, RawTransactionError,
280280
RawTransactionInput, RawTransactionOutput, RescanBlockchain, SendMany, SendRawTransaction,
281281
SendToAddress, SetNetworkActive, SignFail, SignFailError, SignMessage, SignMessageWithPrivKey,

types/src/v18/network/mod.rs

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
77
mod into;
88

9+
use alloc::collections::BTreeMap;
10+
911
use serde::{Deserialize, Serialize};
1012

1113
/// Result of JSON-RPC method `getnodeaddresses`.
@@ -28,3 +30,96 @@ pub struct NodeAddress {
2830
/// The port of the node.
2931
pub port: u16,
3032
}
33+
34+
/// Result of JSON-RPC method `getpeerinfo`.
35+
///
36+
/// > getpeerinfo
37+
/// >
38+
/// > Returns data about each connected network node as a json array of objects.
39+
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
40+
pub struct GetPeerInfo(pub Vec<PeerInfo>);
41+
42+
/// An item from the list returned by the JSON-RPC method `getpeerinfo`.
43+
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
44+
pub struct PeerInfo {
45+
/// Peer index.
46+
pub id: u32,
47+
/// The IP address and port of the peer ("host:port").
48+
#[serde(rename = "addr")]
49+
pub address: String,
50+
/// Bind address of the connection to the peer ("ip:port").
51+
#[serde(rename = "addrbind")]
52+
pub address_bind: String,
53+
/// Local address as reported by the peer.
54+
#[serde(rename = "addrlocal")]
55+
pub address_local: Option<String>,
56+
/// Network (ipv4, ipv6, or onion) the peer connected through.
57+
pub network: Option<String>,
58+
/// The services offered.
59+
pub services: String,
60+
/// Whether peer has asked us to relay transactions to it.
61+
#[serde(rename = "relaytxes")]
62+
pub relay_transactions: bool,
63+
/// The time in seconds since epoch (Jan 1 1970 GMT) of the last send.
64+
#[serde(rename = "lastsend")]
65+
pub last_send: i64,
66+
/// The time in seconds since epoch (Jan 1 1970 GMT) of the last receive.
67+
#[serde(rename = "lastrecv")]
68+
pub last_received: i64,
69+
/// The total bytes sent.
70+
#[serde(rename = "bytessent")]
71+
pub bytes_sent: u64,
72+
/// The total bytes received.
73+
#[serde(rename = "bytesrecv")]
74+
pub bytes_received: u64,
75+
/// The connection time in seconds since epoch (Jan 1 1970 GMT).
76+
#[serde(rename = "conntime")]
77+
pub connection_time: i64,
78+
/// The time offset in seconds.
79+
#[serde(rename = "timeoffset")]
80+
pub time_offset: i64,
81+
/// Ping time (if available).
82+
#[serde(rename = "pingtime")]
83+
pub ping_time: Option<f64>,
84+
/// Minimum observed ping time (if any at all).
85+
#[serde(rename = "minping")]
86+
pub minimum_ping: Option<f64>,
87+
/// Ping wait (if non-zero).
88+
#[serde(rename = "pingwait")]
89+
pub ping_wait: Option<f64>,
90+
/// The peer version, such as 70001.
91+
pub version: u32,
92+
/// The string version (e.g. "/Satoshi:0.8.5/").
93+
#[serde(rename = "subver")]
94+
pub subversion: String,
95+
/// Inbound (true) or Outbound (false).
96+
pub inbound: bool,
97+
/// Whether connection was due to addnode/-connect or if it was an automatic/inbound connection.
98+
#[serde(rename = "addnode")]
99+
pub add_node: Option<bool>,
100+
/// The starting height (block) of the peer.
101+
#[serde(rename = "startingheight")]
102+
pub starting_height: i64,
103+
/// The ban score.
104+
#[serde(rename = "banscore")]
105+
pub ban_score: Option<i64>,
106+
/// The last header we have in common with this peer.
107+
pub synced_headers: i64,
108+
/// The last block we have in common with this peer.
109+
pub synced_blocks: i64,
110+
/// The heights of blocks we're currently asking from this peer.
111+
pub inflight: Vec<u64>,
112+
/// Whether the peer is whitelisted (deprecated in v0.21).
113+
pub whitelisted: Option<bool>,
114+
/// The minimum fee rate for transactions this peer accepts.
115+
#[serde(rename = "minfeefilter")]
116+
pub min_fee_filter: Option<f64>,
117+
/// The total bytes sent aggregated by message type.
118+
#[serde(rename = "bytessent_per_msg")]
119+
pub bytes_sent_per_message: BTreeMap<String, u64>,
120+
/// The total bytes received aggregated by message type.
121+
#[serde(rename = "bytesrecv_per_msg")]
122+
pub bytes_received_per_message: BTreeMap<String, u64>,
123+
/// Type of connection.
124+
pub connection_type: Option<String>,
125+
}

types/src/v19/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ pub use crate::v17::{
257257
GetBlockVerboseZero, GetChainTips, GetChainTxStats, GetChainTxStatsError, GetConnectionCount,
258258
GetDifficulty, GetMemoryInfoStats, GetMempoolInfo, GetMempoolInfoError, GetMiningInfo,
259259
GetNetTotals, GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoError,
260-
GetNetworkInfoNetwork, GetNewAddress, GetPeerInfo, GetRawChangeAddress, GetRawMempool,
260+
GetNetworkInfoNetwork, GetNewAddress, GetRawChangeAddress, GetRawMempool,
261261
GetRawMempoolVerbose, GetRawTransaction, GetRawTransactionVerbose,
262262
GetRawTransactionVerboseError, GetReceivedByAddress, GetTransaction, GetTransactionDetail,
263263
GetTransactionDetailError, GetTransactionError, GetTxOut, GetTxOutError, GetTxOutSetInfo,
@@ -267,7 +267,7 @@ pub use crate::v17::{
267267
ListReceivedByAddress, ListReceivedByAddressError, ListReceivedByAddressItem, ListSinceBlock,
268268
ListSinceBlockError, ListSinceBlockTransaction, ListSinceBlockTransactionError,
269269
ListTransactions, ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError,
270-
ListWallets, LoadWallet, Locked, Logging, PeerInfo, PruneBlockchain, RawTransactionError,
270+
ListWallets, LoadWallet, Locked, Logging, PruneBlockchain, RawTransactionError,
271271
RawTransactionInput, RawTransactionOutput, RescanBlockchain, SendMany, SendRawTransaction,
272272
SendToAddress, SetNetworkActive, SignMessage, SignMessageWithPrivKey, SignRawTransaction,
273273
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory, UploadTarget,
@@ -280,4 +280,5 @@ pub use crate::v18::{
280280
AnalyzePsbtInputMissingError, DeriveAddresses, GetNodeAddresses, GetReceivedByLabel,
281281
GetRpcInfo, JoinPsbts, ListReceivedByLabel, ListReceivedByLabelError, ListUnspent,
282282
ListUnspentItem, ListWalletDir, ListWalletDirWallet, NodeAddress, UtxoUpdatePsbt,
283+
GetPeerInfo, PeerInfo,
283284
};

types/src/v20/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ pub use crate::{
252252
GetChainTips, GetChainTxStats, GetChainTxStatsError, GetConnectionCount, GetDifficulty,
253253
GetMemoryInfoStats, GetMempoolInfo, GetMempoolInfoError, GetMiningInfo, GetNetTotals,
254254
GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoError, GetNetworkInfoNetwork,
255-
GetNewAddress, GetPeerInfo, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
255+
GetNewAddress, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
256256
GetRawTransaction, GetRawTransactionVerbose, GetRawTransactionVerboseError,
257257
GetReceivedByAddress, GetTransaction, GetTransactionDetail, GetTransactionDetailError,
258258
GetTransactionError, GetTxOut, GetTxOutError, GetTxOutSetInfo, GetTxOutSetInfoError,
@@ -262,7 +262,7 @@ pub use crate::{
262262
ListReceivedByAddressError, ListReceivedByAddressItem, ListSinceBlock, ListSinceBlockError,
263263
ListSinceBlockTransaction, ListSinceBlockTransactionError, ListTransactions,
264264
ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError, ListWallets,
265-
LoadWallet, Locked, PeerInfo, PruneBlockchain, RawTransactionError, RawTransactionInput,
265+
LoadWallet, Locked, PruneBlockchain, RawTransactionError, RawTransactionInput,
266266
RawTransactionOutput, RescanBlockchain, SendMany, SendRawTransaction, SendToAddress,
267267
SetNetworkActive, SignMessage, SignMessageWithPrivKey, SignRawTransaction,
268268
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
@@ -275,6 +275,7 @@ pub use crate::{
275275
AnalyzePsbtInputMissingError, DeriveAddresses, GetNodeAddresses, GetReceivedByLabel,
276276
GetRpcInfo, JoinPsbts, ListReceivedByLabel, ListReceivedByLabelError, ListUnspent,
277277
ListUnspentItem, ListWalletDir, ListWalletDirWallet, NodeAddress, UtxoUpdatePsbt,
278+
GetPeerInfo, PeerInfo,
278279
},
279280
v19::{
280281
Bip9SoftforkInfo, Bip9SoftforkStatistics, Bip9SoftforkStatus, GetBalances, GetBalancesMine,

types/src/v21/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ pub use crate::{
254254
GetChainTips, GetChainTxStats, GetChainTxStatsError, GetConnectionCount, GetDifficulty,
255255
GetMemoryInfoStats, GetMempoolInfo, GetMempoolInfoError, GetMiningInfo, GetNetTotals,
256256
GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoError, GetNetworkInfoNetwork,
257-
GetNewAddress, GetPeerInfo, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
257+
GetNewAddress, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
258258
GetRawTransaction, GetRawTransactionVerbose, GetRawTransactionVerboseError,
259259
GetReceivedByAddress, GetTransaction, GetTransactionDetail, GetTransactionDetailError,
260260
GetTransactionError, GetTxOut, GetTxOutError, GetTxOutSetInfo, GetTxOutSetInfoError,
@@ -264,7 +264,7 @@ pub use crate::{
264264
ListReceivedByAddressError, ListReceivedByAddressItem, ListSinceBlock, ListSinceBlockError,
265265
ListSinceBlockTransaction, ListSinceBlockTransactionError, ListTransactions,
266266
ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError, ListWallets,
267-
LoadWallet, Locked, PeerInfo, PruneBlockchain, RawTransactionError, RawTransactionInput,
267+
LoadWallet, Locked, PruneBlockchain, RawTransactionError, RawTransactionInput,
268268
RawTransactionOutput, RescanBlockchain, SendMany, SendRawTransaction, SendToAddress,
269269
SetNetworkActive, SignMessage, SignMessageWithPrivKey, SignRawTransaction,
270270
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
@@ -277,6 +277,7 @@ pub use crate::{
277277
AnalyzePsbtInputMissingError, DeriveAddresses, GetNodeAddresses, GetReceivedByLabel,
278278
GetRpcInfo, JoinPsbts, ListReceivedByLabel, ListReceivedByLabelError, ListUnspent,
279279
ListUnspentItem, ListWalletDir, ListWalletDirWallet, NodeAddress, UtxoUpdatePsbt,
280+
GetPeerInfo, PeerInfo,
280281
},
281282
v19::{
282283
Bip9SoftforkInfo, Bip9SoftforkStatistics, Bip9SoftforkStatus, GetBalances, GetBalancesMine,

types/src/v22/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ pub use crate::{
269269
GetChainTips, GetChainTxStats, GetChainTxStatsError, GetConnectionCount, GetDifficulty,
270270
GetMemoryInfoStats, GetMempoolInfo, GetMempoolInfoError, GetMiningInfo, GetNetTotals,
271271
GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoError, GetNetworkInfoNetwork,
272-
GetNewAddress, GetPeerInfo, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
272+
GetNewAddress, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
273273
GetRawTransaction, GetRawTransactionVerbose, GetRawTransactionVerboseError,
274274
GetReceivedByAddress, GetTransaction, GetTransactionDetail, GetTransactionDetailError,
275275
GetTransactionError, GetTxOut, GetTxOutError, GetTxOutSetInfo, GetTxOutSetInfoError,
@@ -279,7 +279,7 @@ pub use crate::{
279279
ListReceivedByAddressError, ListReceivedByAddressItem, ListSinceBlock, ListSinceBlockError,
280280
ListSinceBlockTransaction, ListSinceBlockTransactionError, ListTransactions,
281281
ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError, ListWallets,
282-
LoadWallet, Locked, PeerInfo, PruneBlockchain, RawTransactionError, RawTransactionInput,
282+
LoadWallet, Locked, PruneBlockchain, RawTransactionError, RawTransactionInput,
283283
RawTransactionOutput, RescanBlockchain, SendMany, SendRawTransaction, SendToAddress,
284284
SetNetworkActive, SignMessage, SignMessageWithPrivKey, SignRawTransaction,
285285
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
@@ -292,6 +292,7 @@ pub use crate::{
292292
AnalyzePsbtInputMissingError, DeriveAddresses, GetNodeAddresses, GetReceivedByLabel,
293293
GetRpcInfo, JoinPsbts, ListReceivedByLabel, ListReceivedByLabelError, ListUnspent,
294294
ListUnspentItem, ListWalletDir, ListWalletDirWallet, NodeAddress, UtxoUpdatePsbt,
295+
GetPeerInfo, PeerInfo,
295296
},
296297
v19::{
297298
Bip9SoftforkInfo, Bip9SoftforkStatistics, Bip9SoftforkStatus, GetBalances, GetBalancesMine,

types/src/v23/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ pub use crate::{
264264
GetChainTxStatsError, GetConnectionCount, GetDifficulty, GetMemoryInfoStats,
265265
GetMempoolInfo, GetMempoolInfoError, GetMiningInfo, GetNetTotals, GetNetworkInfo,
266266
GetNetworkInfoAddress, GetNetworkInfoError, GetNetworkInfoNetwork, GetNewAddress,
267-
GetPeerInfo, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose, GetRawTransaction,
267+
GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose, GetRawTransaction,
268268
GetRawTransactionVerbose, GetRawTransactionVerboseError, GetReceivedByAddress,
269269
GetTransaction, GetTransactionDetail, GetTransactionDetailError, GetTransactionError,
270270
GetTxOut, GetTxOutError, GetTxOutSetInfo, GetTxOutSetInfoError, GetUnconfirmedBalance,
@@ -274,7 +274,7 @@ pub use crate::{
274274
ListReceivedByAddressError, ListReceivedByAddressItem, ListSinceBlock, ListSinceBlockError,
275275
ListSinceBlockTransaction, ListSinceBlockTransactionError, ListTransactions,
276276
ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError, ListWallets,
277-
LoadWallet, Locked, PeerInfo, PruneBlockchain, RawTransactionError, RawTransactionInput,
277+
LoadWallet, Locked, PruneBlockchain, RawTransactionError, RawTransactionInput,
278278
RawTransactionOutput, RescanBlockchain, SendMany, SendRawTransaction, SendToAddress,
279279
SetNetworkActive, SignMessage, SignMessageWithPrivKey, SignRawTransaction,
280280
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
@@ -287,6 +287,7 @@ pub use crate::{
287287
AnalyzePsbtInputMissingError, DeriveAddresses, GetNodeAddresses, GetReceivedByLabel,
288288
GetRpcInfo, JoinPsbts, ListReceivedByLabel, ListReceivedByLabelError, ListUnspent,
289289
ListUnspentItem, ListWalletDir, ListWalletDirWallet, NodeAddress, UtxoUpdatePsbt,
290+
GetPeerInfo, PeerInfo,
290291
},
291292
v19::{
292293
Bip9SoftforkInfo, Bip9SoftforkStatistics, Bip9SoftforkStatus, GetBalances, GetBalancesMine,

types/src/v24/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ pub use crate::{
265265
GetChainTxStatsError, GetConnectionCount, GetDifficulty, GetMemoryInfoStats,
266266
GetMempoolInfo, GetMempoolInfoError, GetMiningInfo, GetNetTotals, GetNetworkInfo,
267267
GetNetworkInfoAddress, GetNetworkInfoError, GetNetworkInfoNetwork, GetNewAddress,
268-
GetPeerInfo, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose, GetRawTransaction,
268+
GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose, GetRawTransaction,
269269
GetRawTransactionVerbose, GetRawTransactionVerboseError, GetReceivedByAddress,
270270
GetTransaction, GetTransactionDetail, GetTransactionDetailError, GetTransactionError,
271271
GetTxOut, GetTxOutError, GetTxOutSetInfo, GetTxOutSetInfoError, GetUnconfirmedBalance,
@@ -275,7 +275,7 @@ pub use crate::{
275275
ListReceivedByAddressError, ListReceivedByAddressItem, ListSinceBlock, ListSinceBlockError,
276276
ListSinceBlockTransaction, ListSinceBlockTransactionError, ListTransactions,
277277
ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError, ListWallets,
278-
LoadWallet, Locked, PeerInfo, PruneBlockchain, RawTransactionError, RawTransactionInput,
278+
LoadWallet, Locked, PruneBlockchain, RawTransactionError, RawTransactionInput,
279279
RawTransactionOutput, RescanBlockchain, SendMany, SendRawTransaction, SendToAddress,
280280
SetNetworkActive, SignMessage, SignMessageWithPrivKey, SignRawTransaction,
281281
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
@@ -288,6 +288,7 @@ pub use crate::{
288288
AnalyzePsbtInputMissingError, DeriveAddresses, GetNodeAddresses, GetReceivedByLabel,
289289
GetRpcInfo, JoinPsbts, ListReceivedByLabel, ListReceivedByLabelError, ListUnspent,
290290
ListUnspentItem, ListWalletDir, ListWalletDirWallet, NodeAddress, UtxoUpdatePsbt,
291+
GetPeerInfo, PeerInfo,
291292
},
292293
v19::{
293294
Bip9SoftforkInfo, Bip9SoftforkStatistics, Bip9SoftforkStatus, GetBalances, GetBalancesMine,

types/src/v25/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ pub use crate::{
261261
GetChainTips, GetChainTxStats, GetChainTxStatsError, GetConnectionCount, GetDifficulty,
262262
GetMemoryInfoStats, GetMempoolInfo, GetMempoolInfoError, GetMiningInfo, GetNetTotals,
263263
GetNetworkInfo, GetNetworkInfoAddress, GetNetworkInfoError, GetNetworkInfoNetwork,
264-
GetNewAddress, GetPeerInfo, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
264+
GetNewAddress, GetRawChangeAddress, GetRawMempool, GetRawMempoolVerbose,
265265
GetRawTransaction, GetRawTransactionVerbose, GetRawTransactionVerboseError,
266266
GetReceivedByAddress, GetTransaction, GetTransactionDetail, GetTransactionDetailError,
267267
GetTransactionError, GetTxOut, GetTxOutError, GetTxOutSetInfo, GetTxOutSetInfoError,
@@ -271,7 +271,7 @@ pub use crate::{
271271
ListReceivedByAddressError, ListReceivedByAddressItem, ListSinceBlock, ListSinceBlockError,
272272
ListSinceBlockTransaction, ListSinceBlockTransactionError, ListTransactions,
273273
ListTransactionsItem, ListTransactionsItemError, ListUnspentItemError, ListWallets, Locked,
274-
PeerInfo, PruneBlockchain, RawTransactionError, RawTransactionInput, RawTransactionOutput,
274+
PruneBlockchain, RawTransactionError, RawTransactionInput, RawTransactionOutput,
275275
RescanBlockchain, SendMany, SendRawTransaction, SendToAddress, SetNetworkActive,
276276
SignMessage, SignMessageWithPrivKey, SignRawTransaction, SignRawTransactionError,
277277
SoftforkReject, TestMempoolAccept, TransactionCategory, UploadTarget, ValidateAddress,
@@ -283,6 +283,7 @@ pub use crate::{
283283
AnalyzePsbtInputMissingError, DeriveAddresses, GetNodeAddresses, GetReceivedByLabel,
284284
GetRpcInfo, JoinPsbts, ListReceivedByLabel, ListReceivedByLabelError, ListUnspent,
285285
ListUnspentItem, ListWalletDir, ListWalletDirWallet, NodeAddress, UtxoUpdatePsbt,
286+
GetPeerInfo, PeerInfo,
286287
},
287288
v19::{
288289
Bip9SoftforkInfo, Bip9SoftforkStatistics, Bip9SoftforkStatus, GetBalances, GetBalancesMine,

0 commit comments

Comments
 (0)