Skip to content

Commit

Permalink
build: Upgrade to libxrpl 2.3.0-b1 (#1489)
Browse files Browse the repository at this point in the history
Update libxrpl and change include path
  • Loading branch information
cindyyan317 authored Jun 25, 2024
1 parent 77cec26 commit b2eacf9
Show file tree
Hide file tree
Showing 182 changed files with 867 additions and 774 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Clio(ConanFile):
'protobuf/3.21.9',
'grpc/1.50.1',
'openssl/1.1.1u',
'xrpl/2.2.0',
'xrpl/2.3.0-b1',
'libbacktrace/cci.20210118'
]

Expand Down
14 changes: 7 additions & 7 deletions src/data/BackendInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
#include "util/log/Logger.hpp"

#include <boost/asio/spawn.hpp>
#include <ripple/basics/base_uint.h>
#include <ripple/basics/strHex.h>
#include <ripple/protocol/Fees.h>
#include <ripple/protocol/Indexes.h>
#include <ripple/protocol/SField.h>
#include <ripple/protocol/STLedgerEntry.h>
#include <ripple/protocol/Serializer.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>
#include <xrpl/protocol/Fees.h>
#include <xrpl/protocol/Indexes.h>
#include <xrpl/protocol/SField.h>
#include <xrpl/protocol/STLedgerEntry.h>
#include <xrpl/protocol/Serializer.h>

#include <chrono>
#include <cstddef>
Expand Down
8 changes: 4 additions & 4 deletions src/data/BackendInterface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
#include <boost/json.hpp>
#include <boost/json/object.hpp>
#include <boost/utility/result_of.hpp>
#include <ripple/basics/base_uint.h>
#include <ripple/protocol/AccountID.h>
#include <ripple/protocol/Fees.h>
#include <ripple/protocol/LedgerHeader.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/Fees.h>
#include <xrpl/protocol/LedgerHeader.h>

#include <chrono>
#include <cstddef>
Expand Down
14 changes: 7 additions & 7 deletions src/data/CassandraBackend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
#include <boost/asio/spawn.hpp>
#include <boost/json/object.hpp>
#include <cassandra.h>
#include <ripple/basics/Blob.h>
#include <ripple/basics/base_uint.h>
#include <ripple/basics/strHex.h>
#include <ripple/protocol/AccountID.h>
#include <ripple/protocol/Indexes.h>
#include <ripple/protocol/LedgerHeader.h>
#include <ripple/protocol/nft.h>
#include <xrpl/basics/Blob.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/Indexes.h>
#include <xrpl/protocol/LedgerHeader.h>
#include <xrpl/protocol/nft.h>

#include <atomic>
#include <chrono>
Expand Down
20 changes: 10 additions & 10 deletions src/data/DBHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
#include "util/Assert.hpp"

#include <boost/container/flat_set.hpp>
#include <ripple/basics/Blob.h>
#include <ripple/basics/Log.h>
#include <ripple/basics/StringUtilities.h>
#include <ripple/basics/base_uint.h>
#include <ripple/protocol/AccountID.h>
#include <ripple/protocol/SField.h>
#include <ripple/protocol/STAccount.h>
#include <ripple/protocol/STLedgerEntry.h>
#include <ripple/protocol/Serializer.h>
#include <ripple/protocol/TxMeta.h>
#include <xrpl/basics/Blob.h>
#include <xrpl/basics/Log.h>
#include <xrpl/basics/StringUtilities.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/SField.h>
#include <xrpl/protocol/STAccount.h>
#include <xrpl/protocol/STLedgerEntry.h>
#include <xrpl/protocol/Serializer.h>
#include <xrpl/protocol/TxMeta.h>

#include <cstddef>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion src/data/LedgerCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "data/Types.hpp"
#include "util/Assert.hpp"

#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <cstddef>
#include <cstdint>
Expand Down
4 changes: 2 additions & 2 deletions src/data/LedgerCache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "util/prometheus/Label.hpp"
#include "util/prometheus/Prometheus.hpp"

#include <ripple/basics/base_uint.h>
#include <ripple/basics/hardened_hash.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/hardened_hash.h>

#include <atomic>
#include <condition_variable>
Expand Down
4 changes: 2 additions & 2 deletions src/data/Types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

#pragma once

#include <ripple/basics/base_uint.h>
#include <ripple/protocol/AccountID.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>

#include <cstdint>
#include <optional>
Expand Down
2 changes: 1 addition & 1 deletion src/data/cassandra/impl/Collection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "data/cassandra/impl/ManagedObject.hpp"

#include <cassandra.h>
#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <cstdint>
#include <stdexcept>
Expand Down
4 changes: 2 additions & 2 deletions src/data/cassandra/impl/Result.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include "data/cassandra/impl/Tuple.hpp"

#include <cassandra.h>
#include <ripple/basics/base_uint.h>
#include <ripple/protocol/AccountID.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>

#include <cstddef>
#include <cstdint>
Expand Down
6 changes: 3 additions & 3 deletions src/data/cassandra/impl/Statement.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

#include <cassandra.h>
#include <fmt/core.h>
#include <ripple/basics/base_uint.h>
#include <ripple/protocol/AccountID.h>
#include <ripple/protocol/STAccount.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/STAccount.h>

#include <cstddef>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion src/data/cassandra/impl/Tuple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "data/cassandra/impl/ManagedObject.hpp"

#include <cassandra.h>
#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <cstddef>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/ETLHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "util/Assert.hpp"

#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <cstddef>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/ETLHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/** @file */
#pragma once

#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <condition_variable>
#include <cstddef>
Expand Down
4 changes: 2 additions & 2 deletions src/etl/ETLService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#include "util/log/Logger.hpp"

#include <boost/asio/io_context.hpp>
#include <ripple/beast/core/CurrentThreadName.h>
#include <ripple/protocol/LedgerHeader.h>
#include <xrpl/beast/core/CurrentThreadName.h>
#include <xrpl/protocol/LedgerHeader.h>

#include <chrono>
#include <cstddef>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/ETLService.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <boost/json/object.hpp>
#include <grpcpp/grpcpp.h>
#include <org/xrpl/rpc/v1/get_ledger.pb.h>
#include <ripple/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>
#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>

#include <cstddef>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/ETLState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <boost/json/conversion.hpp>
#include <boost/json/value.hpp>
#include <boost/json/value_to.hpp>
#include <ripple/protocol/jss.h>
#include <xrpl/protocol/jss.h>

#include <cstdint>
#include <optional>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/LoadBalancer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <grpcpp/grpcpp.h>
#include <org/xrpl/rpc/v1/get_ledger.pb.h>
#include <org/xrpl/rpc/v1/ledger.pb.h>
#include <ripple/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>
#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>

#include <atomic>
#include <chrono>
Expand Down
28 changes: 14 additions & 14 deletions src/etl/NFTHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
#include "data/DBHelpers.hpp"

#include <fmt/core.h>
#include <ripple/basics/base_uint.h>
#include <ripple/basics/strHex.h>
#include <ripple/protocol/AccountID.h>
#include <ripple/protocol/LedgerFormats.h>
#include <ripple/protocol/SField.h>
#include <ripple/protocol/STArray.h>
#include <ripple/protocol/STBase.h>
#include <ripple/protocol/STLedgerEntry.h>
#include <ripple/protocol/STObject.h>
#include <ripple/protocol/STTx.h>
#include <ripple/protocol/Serializer.h>
#include <ripple/protocol/TER.h>
#include <ripple/protocol/TxFormats.h>
#include <ripple/protocol/TxMeta.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/LedgerFormats.h>
#include <xrpl/protocol/SField.h>
#include <xrpl/protocol/STArray.h>
#include <xrpl/protocol/STBase.h>
#include <xrpl/protocol/STLedgerEntry.h>
#include <xrpl/protocol/STObject.h>
#include <xrpl/protocol/STTx.h>
#include <xrpl/protocol/Serializer.h>
#include <xrpl/protocol/TER.h>
#include <xrpl/protocol/TxFormats.h>
#include <xrpl/protocol/TxMeta.h>

#include <algorithm>
#include <cstdint>
Expand Down
4 changes: 2 additions & 2 deletions src/etl/NFTHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

#include "data/DBHelpers.hpp"

#include <ripple/protocol/STTx.h>
#include <ripple/protocol/TxMeta.h>
#include <xrpl/protocol/STTx.h>
#include <xrpl/protocol/TxMeta.h>

#include <cstdint>
#include <optional>
Expand Down
6 changes: 3 additions & 3 deletions src/etl/impl/AsyncData.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
#include <grpcpp/grpcpp.h>
#include <grpcpp/support/status.h>
#include <org/xrpl/rpc/v1/get_ledger_data.pb.h>
#include <ripple/basics/base_uint.h>
#include <ripple/basics/strHex.h>
#include <ripple/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>
#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>

#include <cstddef>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/impl/BaseCursorProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#pragma once

#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <cstdint>
#include <vector>
Expand Down
6 changes: 3 additions & 3 deletions src/etl/impl/CacheLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@

#include <boost/algorithm/string/predicate.hpp>
#include <boost/context/detail/config.hpp>
#include <ripple/basics/Blob.h>
#include <ripple/basics/base_uint.h>
#include <ripple/basics/strHex.h>
#include <xrpl/basics/Blob.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>

#include <algorithm>
#include <atomic>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/impl/CursorFromAccountProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "data/Types.hpp"
#include "etl/impl/BaseCursorProvider.hpp"

#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <algorithm>
#include <cstddef>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/impl/CursorFromDiffProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "etl/impl/BaseCursorProvider.hpp"
#include "util/Assert.hpp"

#include <ripple/basics/base_uint.h>
#include <xrpl/basics/base_uint.h>

#include <algorithm>
#include <cstddef>
Expand Down
4 changes: 2 additions & 2 deletions src/etl/impl/CursorFromFixDiffNumProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

#include <boost/algorithm/string/predicate.hpp>
#include <boost/asio/io_context.hpp>
#include <ripple/basics/base_uint.h>
#include <ripple/basics/strHex.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>

#include <algorithm>
#include <cstddef>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/impl/Extractor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "util/Profiler.hpp"
#include "util/log/Logger.hpp"

#include <ripple/beast/core/CurrentThreadName.h>
#include <xrpl/beast/core/CurrentThreadName.h>

#include <chrono>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/impl/GrpcSource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <grpcpp/support/status.h>
#include <org/xrpl/rpc/v1/get_ledger.pb.h>
#include <ripple/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>
#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>

#include <cstdint>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion src/etl/impl/LedgerFetcher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "util/log/Logger.hpp"

#include <grpcpp/grpcpp.h>
#include <ripple/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>
#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>

#include <cstdint>
#include <memory>
Expand Down
14 changes: 7 additions & 7 deletions src/etl/impl/LedgerLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
#include "util/Profiler.hpp"
#include "util/log/Logger.hpp"

#include <ripple/basics/base_uint.h>
#include <ripple/basics/strHex.h>
#include <ripple/beast/core/CurrentThreadName.h>
#include <ripple/protocol/LedgerHeader.h>
#include <ripple/protocol/STTx.h>
#include <ripple/protocol/Serializer.h>
#include <ripple/protocol/TxMeta.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>
#include <xrpl/beast/core/CurrentThreadName.h>
#include <xrpl/protocol/LedgerHeader.h>
#include <xrpl/protocol/STTx.h>
#include <xrpl/protocol/Serializer.h>
#include <xrpl/protocol/TxMeta.h>

#include <chrono>
#include <cstddef>
Expand Down
12 changes: 6 additions & 6 deletions src/etl/impl/LedgerPublisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@

#include <boost/asio/io_context.hpp>
#include <boost/asio/strand.hpp>
#include <ripple/basics/chrono.h>
#include <ripple/protocol/Fees.h>
#include <ripple/protocol/LedgerHeader.h>
#include <ripple/protocol/SField.h>
#include <ripple/protocol/STObject.h>
#include <ripple/protocol/Serializer.h>
#include <xrpl/basics/chrono.h>
#include <xrpl/protocol/Fees.h>
#include <xrpl/protocol/LedgerHeader.h>
#include <xrpl/protocol/SField.h>
#include <xrpl/protocol/STObject.h>
#include <xrpl/protocol/Serializer.h>

#include <chrono>
#include <cstddef>
Expand Down
Loading

0 comments on commit b2eacf9

Please sign in to comment.