mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
PeerFinder work and refactoring:
* Implement PeerFinder business logic. * Support fixed peers (including DNS support). * Add journal support to Peer and Peers. * Refactor PeerDoor support. * Tidy up Peers and eliminate connection functionality and timers. * Refactor Peer interface and add journal support. * Allow construction of incoming Peer using an existing socket. * Remove TESTNET support. * Allow connections from/to cluster peers without consuming slots * Misc. cleanups.
This commit is contained in:
committed by
Vinnie Falco
parent
a253b2ef4b
commit
e60b28980a
@@ -68,15 +68,6 @@ struct HashPrefix
|
||||
|
||||
// proposal for signing
|
||||
static uint32 const proposal = 0x50525000; // 'PRP'
|
||||
|
||||
// inner transaction to sign (TESTNET)
|
||||
static uint32 const txSignTestnet = 0x73747800; // 'stx'
|
||||
|
||||
// validation for signing (TESTNET)
|
||||
static uint32 const validationTestnet = 0x76616C00; // 'val'
|
||||
|
||||
// proposal for signing (TESTNET)
|
||||
static uint32 const proposalTestnet = 0x70727000; // 'prp'
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -244,12 +244,12 @@ message TMPeers
|
||||
// An Endpoint describes a network peer that can accept incoming connections
|
||||
message TMEndpoint
|
||||
{
|
||||
required TMIPv4EndPoint ipv4 = 1;
|
||||
required uint32 hops = 2;
|
||||
required uint32 slots = 3; // the number of available incoming slots
|
||||
required uint32 maxSlots = 4; // the maximum number of incoming slots
|
||||
required uint32 uptimeSeconds = 5; // uptime in seconds
|
||||
required string features = 6;
|
||||
required TMIPv4EndPoint ipv4 = 1;
|
||||
required uint32 hops = 2;
|
||||
|
||||
// This field is used to allow the TMEndpoint message format to be modified
|
||||
// as necessary in the future.
|
||||
required uint32 version = 3;
|
||||
}
|
||||
|
||||
// An array of Endpoint messages
|
||||
|
||||
Reference in New Issue
Block a user