mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor ripple_overlay:
* Use rvalue move to receive accepted sockets * Split asio dependent APIs to their own class and file * Update documentation * Organize code into different files * Make some members private * Rename things for clarity
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
#ifndef RIPPLE_BASE58DATA_H
|
||||
#define RIPPLE_BASE58DATA_H
|
||||
|
||||
#include ".././ripple/types/api/Base58.h"
|
||||
|
||||
namespace ripple {
|
||||
|
||||
class CBase58Data
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef RIPPLE_PROTOCOL_H
|
||||
#define RIPPLE_PROTOCOL_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
/** Protocol specific constants, types, and data.
|
||||
|
||||
@@ -20,8 +20,20 @@
|
||||
#ifndef RIPPLE_RIPPLEADDRESS_H
|
||||
#define RIPPLE_RIPPLEADDRESS_H
|
||||
|
||||
#include "../crypto/Base58Data.h"
|
||||
|
||||
#include "../ripple/types/api/UInt160.h"
|
||||
#include "../ripple/types/api/RippleAccountID.h"
|
||||
#include "../ripple/types/api/RippleAccountPrivateKey.h"
|
||||
#include "../ripple/types/api/RippleAccountPublicKey.h"
|
||||
#include "../ripple/types/api/RipplePrivateKey.h"
|
||||
#include "../ripple/types/api/RipplePublicKey.h"
|
||||
#include "../ripple/types/api/RipplePublicKeyHash.h"
|
||||
#include "../ripple/sslutil/api/ECDSACanonical.h"
|
||||
|
||||
struct bignum_st;
|
||||
typedef struct bignum_st BIGNUM;
|
||||
|
||||
namespace ripple {
|
||||
|
||||
//
|
||||
|
||||
@@ -226,7 +226,7 @@ message TMGetContacts
|
||||
|
||||
message TMGetPeers
|
||||
{
|
||||
required uint32 doWeNeedThis = 1; // yes since you are asserting that the packet size isn't 0 in PackedMessage
|
||||
required uint32 doWeNeedThis = 1; // yes since you are asserting that the packet size isn't 0 in Message
|
||||
}
|
||||
|
||||
message TMIPv4Endpoint
|
||||
|
||||
Reference in New Issue
Block a user