mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Improve protocol-level handshaking protocol:
This commit restructures the HTTP based protocol negotiation that `rippled` executes and introduces support for negotiation of compression for peer links which, if implemented, should result in significant bandwidth savings for some server roles. This commit also introduces the new `[network_id]` configuration option that administrators can use to specify which network the server is part of and intends to join. This makes it possible for servers from different networks to drop the link early. The changeset also improves the log messages generated when negotiation of a peer link upgrade fails. In the past, no useful information would be logged, making it more difficult for admins to troubleshoot errors. This commit also fixes RIPD-237 and RIPD-451
This commit is contained in:
@@ -733,6 +733,24 @@
|
||||
# node is a validator.
|
||||
#
|
||||
#
|
||||
#
|
||||
# [network_id]
|
||||
#
|
||||
# Specify the network which this server is configured to connect to and
|
||||
# track. If set, the server will not establish connections with servers
|
||||
# that are explicitly configured to track another network.
|
||||
#
|
||||
# Network identifiers are usually unsigned integers in the range 0 to
|
||||
# 4294967295 inclusive. The server also maps the following well-known
|
||||
# names to the corresponding numerical identifier:
|
||||
#
|
||||
# main -> 0
|
||||
# testnet -> 1
|
||||
#
|
||||
# If this value is not specified the server is not explicitly configured
|
||||
# to track a particular network.
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------------
|
||||
#
|
||||
# 4. HTTPS Client
|
||||
|
||||
Reference in New Issue
Block a user