mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 09:16:47 +00:00
21 lines
452 B
C++
21 lines
452 B
C++
#ifndef XRPL_PROTOCOL_SPONSOR_H_INCLUDED
|
|
#define XRPL_PROTOCOL_SPONSOR_H_INCLUDED
|
|
|
|
#include <xrpl/protocol/AccountID.h>
|
|
#include <xrpl/protocol/HashPrefix.h>
|
|
#include <xrpl/protocol/STVector256.h>
|
|
#include <xrpl/protocol/Serializer.h>
|
|
|
|
namespace xrpl {
|
|
|
|
inline void
|
|
addSerializeSponsorData(Serializer& msg, AccountID const& sponsorID, std::uint32_t const& flags)
|
|
{
|
|
msg.addBitString(sponsorID);
|
|
msg.add32(flags);
|
|
}
|
|
|
|
} // namespace xrpl
|
|
|
|
#endif
|