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
0d93ad7 node: Use get_peer_info method (Tobin C. Harding)
d561e5c Explicitly check type of GetPeerInfo vector element (Tobin C. Harding)
8a26cd0 Improve GetPeerInfo (Tobin C. Harding)
Pull request description:
In #310 I got mixed up and added fields to the v17 types `GetPeerInfo` struct that do not appear in the docs.
This was masked by using `Option`. And not helped by the fact that a bunch of other `Option`s are used because the docs do not match what Core returns.
These bugs propagated up through the version numbers. Go over them all and sort it out.
Note also that we were incorrectly re-exporting `PeerInfo` from v19 even though the `PeerInfo` struct that was actually being used is found in the version specific file along with `GetPeerInfo` - face palm.
And finally, remove all the 'vXY and later' docs, this is implied by the module. These sorts of comments should only be found in `model`.
ACKs for top commit:
jamillambert:
ACK 0d93ad7
Tree-SHA512: a9565d056abc63a7b35d1041756f9f01e3dc98d357c3b911c531e4eb254747a28a4b4bdb8a36022d76807ec8849a5e3572688a148f6dae9d0d8716e442c2c9bf
0 commit comments