mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
21 lines
447 B
C++
21 lines
447 B
C++
#include <xrpl/protocol/HashPrefix.h>
|
|
#include <xrpl/protocol/STVector256.h>
|
|
#include <xrpl/protocol/Serializer.h>
|
|
|
|
namespace xrpl {
|
|
|
|
inline void
|
|
serializeBatch(
|
|
Serializer& msg,
|
|
std::uint32_t const& flags,
|
|
std::vector<uint256> const& txids)
|
|
{
|
|
msg.add32(HashPrefix::batch);
|
|
msg.add32(flags);
|
|
msg.add32(std::uint32_t(txids.size()));
|
|
for (auto const& txid : txids)
|
|
msg.addBitString(txid);
|
|
}
|
|
|
|
} // namespace xrpl
|