-
Notifications
You must be signed in to change notification settings - Fork 38.7k
net: improve nLastBlockTime and nLastTXTime documentation #19857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: John Newbery <john@johnnewbery.com>
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
ACK d780293 |
|
ACK d780293 Great to see Optech collaboration resulting in improved documentation! |
|
ACK d780293 |
Summary: ``` [...] help alleviate confusion around nLastBlockTime and nLastTXTime, now also provided by the JSON-RPC API as last_block and last_transaction in getpeerinfo output. ``` Backport of [[bitcoin/bitcoin#19857 | core#19857]]. Depends on D9331. Test Plan: Read the comments. Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Differential Revision: https://reviews.bitcoinabc.org/D9332
…mentation d780293 net: improve nLastBlockTime and nLastTXTime documentation (Jon Atack) Pull request description: Follow-up to bitcoin#19731 to help alleviate confusion around `nLastBlockTime` and `nLastTXTime`, now also provided by the JSON-RPC API as `last_block` and `last_transaction` in `getpeerinfo` output. Thanks to John Newbery, credited in the commit, and to Dave Harding and Adam Jonas during discussions on how to best explain these in this week's Optech newsletter. ACKs for top commit: practicalswift: ACK d780293 MarcoFalke: ACK d780293 harding: ACK d780293 . The added documentation matches my reading of the code and answers a question I had after seeing bitcoin#19731 0xB10C: ACK d780293 Tree-SHA512: 72d47cf50a099913c7e4753cb80e11785b26fb66fa3a8b6c382fde4ea725116f3d215f93d32a567246d269768e66159f8dcf017a1bbc6d5f2489a35f81c316fa
Follow-up to #19731 to help alleviate confusion around
nLastBlockTimeandnLastTXTime, now also provided by the JSON-RPC API aslast_blockandlast_transactioningetpeerinfooutput.Thanks to John Newbery, credited in the commit, and to Dave Harding and Adam Jonas during discussions on how to best explain these in this week's Optech newsletter.