You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #517: Fix a few missed cases of "vXY and later only" in types
c803543 Remove deprecated field from getpeerinfo (Jamil Lambert, PhD)
8202a20 Tidy up docs (Jamil Lambert, PhD)
Pull request description:
#513 missed a few cases of "vXY and later only" comments that had different wording and didn't come up in the grep. Do a more general search and fix what is found.
One of the fields in types for `PeerInfo` was marked as "(deprecated in v0.21)" and set as an option in v22 and v26. The field is not in the RPC docs for either v22 or v26 and the tests pass with it being removed.
- Remove the deprecated `whitelisted` field from `PeerInfo`.
- Tidy up the docs.
ACKs for top commit:
tcharding:
ACK c803543
Tree-SHA512: 2c7c9ab2ff42dc42718d8128bf555baddc2ab9dd1f13fa1d9001108393c9f564252e1a781edab66696d3aebdfd3a9f1bd7278914b009b73e441114e4bf1783e3
/// The virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.
44
44
pubvsize:u64,
45
45
/// The transaction weight as defined in BIP 141.
46
46
pubweight:u64,
47
-
/// The entry time into the orphanage expressed in UNIX epoch time
48
-
/// Only present in v29.
47
+
/// The entry time into the orphanage expressed in UNIX epoch time.
49
48
#[serde(rename = "entry")]
50
49
pubentry_time:u32,
51
-
/// The orphan expiration time expressed in UNIX epoch time
52
-
/// Only present in v29.
50
+
/// The orphan expiration time expressed in UNIX epoch time.
53
51
#[serde(rename = "expiration")]
54
52
pubexpiration_time:u32,
55
53
/// List of peer ids that we store this transaction for.
/// The virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.
75
+
/// The virtual transaction size as defined in BIP 141. This is different from actual serialized
76
+
/// size for witness transactions as witness data is discounted.
78
77
pubvsize:u64,
79
78
/// The transaction weight as defined in BIP 141.
80
79
pubweight:u64,
81
80
/// List of peer ids that we store this transaction for.
82
81
pubfrom:Vec<u64>,
83
-
/// The entry time into the orphanage expressed in UNIX epoch time
84
-
/// Only present in v29.
82
+
/// The entry time into the orphanage expressed in UNIX epoch time.
85
83
#[serde(rename = "entry")]
86
84
pubentry_time:u32,
87
-
/// The orphan expiration time expressed in UNIX epoch time
88
-
/// Only present in v29.
85
+
/// The orphan expiration time expressed in UNIX epoch time.
0 commit comments