chore: Use libxrpl 3.2.0 (#3095)

This commit is contained in:
Sergey Kuznetsov
2026-06-05 17:48:07 +01:00
committed by GitHub
parent 6bb4953f16
commit 8f3afd09e6
272 changed files with 5916 additions and 6036 deletions

View File

@@ -30,7 +30,7 @@
std::string
hexStringToBinaryString(std::string const& hex)
{
auto const blob = ripple::strUnHex(hex);
auto const blob = xrpl::strUnHex(hex);
std::string strBlob;
for (auto c : *blob)
@@ -39,14 +39,14 @@ hexStringToBinaryString(std::string const& hex)
return strBlob;
}
ripple::uint256
xrpl::uint256
binaryStringToUint256(std::string const& bin)
{
return ripple::uint256::fromVoid(static_cast<void const*>(bin.data()));
return xrpl::uint256::fromVoid(static_cast<void const*>(bin.data()));
}
std::string
ledgerHeaderToBinaryString(ripple::LedgerHeader const& info)
ledgerHeaderToBinaryString(xrpl::LedgerHeader const& info)
{
auto const blob = rpc::ledgerHeaderToBlob(info, true);
std::string strBlob;