Skip to content
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

Proposed 1.9.2-rc1 #4219

Merged
merged 21 commits into from
Jul 19, 2022
Merged

Proposed 1.9.2-rc1 #4219

merged 21 commits into from
Jul 19, 2022

Commits on Jul 11, 2022

  1. Describe resolution for common SOCI-related build errors

    Chenna Keshava B S authored and nbougalis committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    3172a81 View commit details
    Browse the repository at this point in the history
  2. Properly handle incorrect port numbers in parseURL (fixes #4200)

    Chenna Keshava B S authored and nbougalis committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    d632f9f View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Correctly use the configured network_id parameter:

    The existing code properly parses the network_id parameter from the
    the configuration file, but it does not properly set up the code to
    use the value correctly. As a result the configured `network_id` is
    ignored.
    Chenna Keshava B S authored and nbougalis committed Jul 18, 2022
    1 Configuration menu
    Copy the full SHA
    e46d2bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f55913d View commit details
    Browse the repository at this point in the history
  3. Fix race conditions in shard:

    ThreadSafetyAnalysis was used to identify race conditions in this file.
    This analysis was modivated by a (rare) crash while running unit tests.
    
    Add locks to Shard flagged by ThreadSafetyAnalysis
    seelabs authored and nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    8e6a0d4 View commit details
    Browse the repository at this point in the history
  4. Catch missing node error when rotating database:

    While there should never be a missing node when copying the SHAMap,
    rippled should not terminate when there's an error rotating the
    database. This patch aborts the database rotation rather than aborting rippled.
    seelabs authored and nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    723733a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1f75ba2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    18d4372 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ee60b16 View commit details
    Browse the repository at this point in the history
  8. Reduce console noise coming from unit tests:

    A few unit tests have historically generated a lot of noise
    to the console from log writes.  This noise was not useful
    and made it harder to locate actual test failures.
    
    By changing the log level of these tests from
    - severities::kError to
    - severities::kDisabled
    it was possible to remove that noise coming from the logs.
    scottschurr authored and nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    0839a20 View commit details
    Browse the repository at this point in the history
  9. Correct a technical flaw with NFT offers:

    The existing code would, incorrectly, allow negative amounts in offers
    for non-fungible tokens. Such offers would be handled very differently
    depending on the context: a direct offer would fail with an error code
    indicating an internal processing error, whereas brokered offers would
    improperly succeed.
    
    This commit introduces the `fixNFTokenNegOffer` amendment that detects
    such offers during creation and returns an appropriate error code.
    
    The commit also extends the existing code to allow for buy offers that
    contain a `Destination` field, so that a specific broker can be set in
    the offer.
    scottschurr authored and nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    8266d9d View commit details
    Browse the repository at this point in the history
  10. Fix amendment voting persistence:

    An incorrect SQL query could cause the server to improperly
    configure its voting state after a restart; typically, this
    would manifest as an apparent failure to store a vote which
    the administrator of the server had configured.
    
    This commit fixes the broken SQL and ensures that amendment
    votes are properly reloaded post-restart and closes #4220.
    HowardHinnant authored and nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    b0b44d3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d458e99 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5e6728d View commit details
    Browse the repository at this point in the history
  13. Limit how often endpoint messages can be processed:

    The peer discovery protocol depends on peers exchanging messages
    listing IP addresses for other peers.
    
    Under normal circumstances, these messages should not be sent
    frequently; the existing code would track the earliest time a
    new message should be processed, but did not actually enforce
    that limit.
    nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    47ccd0b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9eb303f View commit details
    Browse the repository at this point in the history
  15. Introduce the NonFungibleTokensV1_1 amendment:

    The XLS-20 implementation contained two bugs that would require the
    introduction of amendments. This complicates the adoption of XLS-20
    by requiring a staggered amendment activation, first of the two fix
    amendments, followed by the `NonFungibleTokensV1` amendment.
    
    After consideration, the consensus among node operators is that the
    process should be simplified by the introduction of a new amendment
    that, if enabled, would behaves as if the `NonFungibleTokensV1` and
    the two fix amendments (`fixNFTokenDirV1` and `fixNFTokenNegOffer`)
    were activated at once.
    
    This commit implements this proposal; it does not introduce any new
    functionality or additional features, above and beyond that offered
    by the existing amendments.
    nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    59326bb View commit details
    Browse the repository at this point in the history
  16. Correct a technical flaw with the spinlock locking:

    The existing spinlock code, used to protect SHAMapInnerNode
    child lists, has a mistake that can allow the same child to
    be repeatedly locked under some circumstances.
    
    The bug was in the `SpinBitLock::lock` loop condition check
    and would result in the loop terminating early.
    
    This commit fixes this and further simplifies the lock loop
    making the correctness of the code easier to verify without
    sacrificing performance.
    
    It also promotes the spinlock class from an implementation
    detail to a more general purpose, easier to use lock class
    with clearer semantics. Two different lock types now allow
    developers to easily grab either a single spinlock from an
    a group of spinlocks (packed in an unsigned integer) or to
    grab all of the spinlocks at once.
    
    While this commit makes spinlocks more widely available to
    developers, they are rarely the best tool for the job. Use
    them judiciously and only after careful consideration.
    nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    7e46f53 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b95ca98 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    22b4de2 View commit details
    Browse the repository at this point in the history
  19. Set version to 1.9.2-rc1

    nbougalis committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    83faf43 View commit details
    Browse the repository at this point in the history