-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Reduce peer message traffic for ledger data #5126
base: develop
Are you sure you want to change the base?
Commits on Sep 11, 2024
-
Log the caller / reason for server state changes:
* Also log as warning when the state lowers
Configuration menu - View commit details
-
Copy full SHA for f0cf1fd - Browse repository at this point
Copy the full SHA f0cf1fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 756cad9 - Browse repository at this point
Copy the full SHA 756cad9View commit details -
Drop duplicate outgoing TMGetLedger messages per peer:
* Allow a retry after 30s in case of peer or network congestion. * Addresses RIPD-1870 * (Changes levelization. That is not desirable, and will need to be fixed.)
Configuration menu - View commit details
-
Copy full SHA for 8a17f16 - Browse repository at this point
Copy the full SHA 8a17f16View commit details -
Drop duplicate incoming TMGetLedger messages per peer:
* Allow a retry after 15s in case of peer or network congestion. * Collate duplicate TMGetLedger requests: * The requestCookie is ignored when computing the hash, thus increasing the chances of detecting duplicate messages. * With duplicate messages, keep track of the different requestCookies (or lack of cookie). When work is finally done for a given request, send the response to all the peers that are waiting on the request, sending a separate message for each requestCookie. * Addresses RIPD-1871
Configuration menu - View commit details
-
Copy full SHA for 226cb56 - Browse repository at this point
Copy the full SHA 226cb56View commit details -
Drop duplicate incoming TMLedgerData messages:
* Addresses RIPD-1869 --------- Co-authored-by: Valentin Balaschenko <[email protected]> Co-authored-by: Ed Hennis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5ec2d3 - Browse repository at this point
Copy the full SHA d5ec2d3View commit details -
Collapse multiple outgoing TMLedgerData messages with cookies into one
* When work is done for a given TMGetLedger request, send the response to all the peers that are waiting on the request, sending one message per peer, including all the cookies and a "directResponse" flag indicating the data is intended for the sender, too.
Configuration menu - View commit details
-
Copy full SHA for ecfa396 - Browse repository at this point
Copy the full SHA ecfa396View commit details -
Configuration menu - View commit details
-
Copy full SHA for e490e57 - Browse repository at this point
Copy the full SHA e490e57View commit details
Commits on Sep 25, 2024
-
* Avoid an unnecessary lookup in CanProcess
Configuration menu - View commit details
-
Copy full SHA for 30eee9b - Browse repository at this point
Copy the full SHA 30eee9bView commit details
Commits on Sep 30, 2024
-
Merge remote-tracking branch 'upstream/develop' into pr/getledger
* upstream/develop: Set version to 2.3.0-b4 feat(SQLite): allow configurable database pragma values (5135) refactor: re-order PRAGMA statements (5140) fix(book_changes): add "validated" field and reduce RPC latency (5096) chore: fix typos in comments (5094) Set version to 2.2.3 Update SQLite3 max_page_count to match current defaults (5114)
Configuration menu - View commit details
-
Copy full SHA for 978fecd - Browse repository at this point
Copy the full SHA 978fecdView commit details
Commits on Oct 11, 2024
-
[FOLD] Review feedback from @vlntb:
* Add unit tests for to_short_string(base_uint * Remove duplicated code * Use type aliases for cookie maps
Configuration menu - View commit details
-
Copy full SHA for b8b7b31 - Browse repository at this point
Copy the full SHA b8b7b31View commit details