Compare commits

..

1 Commits

Author SHA1 Message Date
Bart
2df730438d Set version to 3.0.0-b1 (#5859) 2025-10-07 20:28:19 +00:00
2 changed files with 3 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ namespace BuildInfo {
// and follow the format described at http://semver.org/
//------------------------------------------------------------------------------
// clang-format off
char const* const versionString = "2.6.1"
char const* const versionString = "3.0.0-b1"
// clang-format on
#if defined(DEBUG) || defined(SANITIZER)

View File

@@ -29,8 +29,6 @@
#include <xrpl/beast/container/aged_unordered_map.h>
#include <xrpl/protocol/PublicKey.h>
#include "xrpld/shamap/SHAMapMissingNode.h"
#include <mutex>
#include <optional>
#include <type_traits>
@@ -388,18 +386,8 @@ private:
{
for (auto it = acquiring_.begin(); it != acquiring_.end();)
{
std::optional<Ledger> ledger;
try
{
// Skip if we haven't finished acquiring this ledger,
// or the ledger we acquired isn't complete, which can happen
// because we're still trying to catch up.
ledger = adaptor_.acquire(it->first.second);
}
catch (SHAMapMissingNode const&)
{
}
if (ledger)
if (std::optional<Ledger> ledger =
adaptor_.acquire(it->first.second))
{
for (NodeID const& nodeID : it->second)
updateTrie(lock, nodeID, *ledger);