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:
Vinnie Falco
2014-04-09 20:38:23 -07:00
parent 898b7eb6f0
commit 62354350a3
54 changed files with 1728 additions and 1387 deletions

View File

@@ -32,6 +32,8 @@
#ifndef RIPPLE_BASE58DATA_H
#define RIPPLE_BASE58DATA_H
#include ".././ripple/types/api/Base58.h"
namespace ripple {
class CBase58Data

View File

@@ -20,6 +20,8 @@
#ifndef RIPPLE_PROTOCOL_H
#define RIPPLE_PROTOCOL_H
#include <cstdint>
namespace ripple {
/** Protocol specific constants, types, and data.

View File

@@ -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 {
//

View File

@@ -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