Advertisement
Guest User

Untitled

a guest
Jul 5th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.98 KB | None | 0 0
  1. #-------------------------------------------------------------------------------
  2. #
  3. # Rippled Server Instance Configuration Example
  4. #
  5. #-------------------------------------------------------------------------------
  6. #
  7. # Contents
  8. #
  9. # 1. Server
  10. #
  11. # 2. Peer Protocol
  12. #
  13. # 3. SMS Gateway
  14. #
  15. # 4. Ripple Protocol
  16. #
  17. # 5. HTTPS Client
  18. #
  19. # 6. Database
  20. #
  21. # 7. Diagnostics
  22. #
  23. # 8. Voting
  24. #
  25. # 9. Example Settings
  26. #
  27. #-------------------------------------------------------------------------------
  28. #
  29. # Purpose
  30. #
  31. # This file documents and provides examples of all rippled server process
  32. # configuration options. When the rippled server instance is launched, it
  33. # looks for a file with the following name:
  34. #
  35. # rippled.cfg
  36. #
  37. # For more information on where the rippled server instance searches for
  38. # the file please visit the Ripple wiki. Specifically, the section explaining
  39. # the --conf command line option:
  40. #
  41. # https://ripple.com/wiki/Rippled#--conf.3Dpath
  42. #
  43. # This file should be named rippled.cfg. This file is UTF-8 with Dos, UNIX,
  44. # or Mac style end of lines. Blank lines and lines beginning with '#' are
  45. # ignored. Undefined sections are reserved. No escapes are currently defined.
  46. #
  47. # Notation
  48. #
  49. # In this document a simple BNF notation is used. Angle brackets denote
  50. # required elements, square brackets denote optional elements, and single
  51. # quotes indicate string literals. A vertical bar separating 1 or more
  52. # elements is a logical "or"; Any one of the elements may be chosen.
  53. # Parenthesis are notational only, and used to group elements, they are not
  54. # part of the syntax unless they appear in quotes. White space may always
  55. # appear between elements, it has no effect on values.
  56. #
  57. # <key> A required identifier
  58. # '=' The equals sign character
  59. # | Logical "or"
  60. # ( ) Used for grouping
  61. #
  62. #
  63. # An identifier is a string of upper or lower case letters, digits, or
  64. # underscores subject to the requirement that the first character of an
  65. # identifier must be a letter. Identifiers are not case sensitive (but
  66. # values may be).
  67. #
  68. # Some configuration sections contain key/value pairs. A line containing
  69. # a key/value pair has this syntax:
  70. #
  71. # <identifier> '=' <value>
  72. #
  73. # Depending on the section and key, different value types are possible:
  74. #
  75. # <integer> A signed integer
  76. # <unsigned> An unsigned integer
  77. # <flag> A boolean. 1 = true/yes/on, 0 = false/no/off.
  78. #
  79. # Consult the documentation on the key in question to determine the possible
  80. # value types.
  81. #
  82. #
  83. #
  84. #-------------------------------------------------------------------------------
  85. #
  86. # 1. Server
  87. #
  88. #----------
  89. #
  90. #
  91. #
  92. # rippled offers various server protocols to clients making inbound
  93. # connections. The listening ports rippled uses are "universal" ports
  94. # which may be configured to handshake in one or more of the available
  95. # supported protocols. These universal ports simplify administration:
  96. # A single open port can be used for multiple protocols.
  97. #
  98. # NOTE At least one server port must be defined in order
  99. # to accept incoming network connections.
  100. #
  101. #
  102. # [server]
  103. #
  104. # A list of port names and key/value pairs. A port name must start with a
  105. # letter and contain only letters and numbers. The name is not case-sensitive.
  106. # For each name in this list, rippled will look for a configuration file
  107. # section with the same name and use it to create a listening port. The
  108. # name is informational only; the choice of name does not affect the function
  109. # of the listening port.
  110. #
  111. # Key/value pairs specified in this section are optional, and apply to all
  112. # listening ports unless the port overrides the value in its section. They
  113. # may be considered default values.
  114. #
  115. # Suggestion:
  116. #
  117. # To avoid a conflict with port names and future configuration sections,
  118. # we recommend prepending "port_" to the port name. This prefix is not
  119. # required, but suggested.
  120. #
  121. # This example defines two ports with different port numbers and settings:
  122. #
  123. # [server]
  124. # port_public
  125. # port_private
  126. # port = 80
  127. #
  128. # [port_public]
  129. # ip=0.0.0.0
  130. # port = 443
  131. # protocol=peer,https
  132. #
  133. # [port_private]
  134. # ip=127.0.0.1
  135. # protocol=http
  136. #
  137. # When rippled is used as a command line client (for example, issuing a
  138. # server stop command), the first port advertising the http or https
  139. # protocol will be used to make the connection.
  140. #
  141. #
  142. #
  143. # [<name>]
  144. #
  145. # A series of key/value pairs that define the settings for the port with
  146. # the corresponding name. These keys are possible:
  147. #
  148. # ip = <IP-address>
  149. #
  150. # Required. Determines the IP address of the network interface to bind
  151. # to. To bind to all available interfaces, uses 0.0.0.0
  152. #
  153. # port = <number>
  154. #
  155. # Required. Sets the port number to use for this port.
  156. #
  157. # protocol = [ http, https, peer ]
  158. #
  159. # Required. A comma-separated list of protocols to support:
  160. #
  161. # http JSON-RPC over HTTP
  162. # https JSON-RPC over HTTPS
  163. # ws Websockets
  164. # wss Secure Websockets
  165. # peer Peer Protocol
  166. #
  167. # Restrictions:
  168. #
  169. # Only one port may be configured to support the peer protocol.
  170. # A port cannot have websocket and non websocket protocols at the
  171. # same time. It is possible have both Websockets and Secure Websockets
  172. # together in one port.
  173. #
  174. # NOTE If no ports support the peer protocol, rippled cannot
  175. # receive incoming peer connections or become a superpeer.
  176. #
  177. # user = <text>
  178. # password = <text>
  179. #
  180. # When set, these credentials will be required on HTTP/S requests.
  181. # The credentials must be provided using HTTP's Basic Authentication
  182. # headers. If either or both fields are empty, then no credentials are
  183. # required. IP address restrictions, if any, will be checked in addition
  184. # to the credentials specified here.
  185. #
  186. # When acting in the client role, rippled will supply these credentials
  187. # using HTTP's Basic Authentication headers when making outbound HTTP/S
  188. # requests.
  189. #
  190. # admin = no | allow
  191. #
  192. # Controls whether or not administrative commands are allowed. These
  193. # commands may be issued over http, https, ws, or wss if configured
  194. # on the port. If unspecified, the default is to not allow
  195. # administrative commands.
  196. #
  197. # admin_user = <text>
  198. # admin_password = <text>
  199. #
  200. # When set, clients must provide these credentials in the submitted
  201. # JSON for any administrative command requests submitted to the HTTP/S,
  202. # WS, or WSS protocol interfaces. If administrative commands are
  203. # disabled for a port, these credentials have no effect.
  204. #
  205. # When acting in the client role, rippled will supply these credentials
  206. # in the submitted JSON for any administrative command requests when
  207. # invoking JSON-RPC commands on remote servers.
  208. #
  209. # ssl_key = <filename>
  210. # ssl_cert = <filename>
  211. # ssl_chain = <filename>
  212. #
  213. # Use the specified files when configuring SSL on the port.
  214. #
  215. # NOTE If no files are specified and secure protocols are selected,
  216. # rippled will generate an internal self-signed certificate.
  217. #
  218. # The files have these meanings:
  219. #
  220. # ssl_key
  221. #
  222. # Specifies the filename holding the SSL key in PEM format.
  223. #
  224. # ssl_cert
  225. #
  226. # Specifies the path to the SSL certificate file in PEM format.
  227. # This is not needed if the chain includes it.
  228. #
  229. # ssl_chain
  230. #
  231. # If you need a certificate chain, specify the path to the
  232. # certificate chain here. The chain may include the end certificate.
  233. #
  234. #
  235. #
  236. # [rpc_admin_allow]
  237. #
  238. # Specify a list of IP addresses allowed to have admin access. One per line.
  239. # If you want to test the output of non-admin commands add this section and
  240. # just put an ip address not under your control.
  241. # Defaults to 127.0.0.1.
  242. #
  243. #
  244. #
  245. # [rpc_startup]
  246. #
  247. # Specify a list of RPC commands to run at startup.
  248. #
  249. # Examples:
  250. # { "command" : "server_info" }
  251. # { "command" : "log_level", "partition" : "ripplecalc", "severity" : "trace" }
  252. #
  253. #
  254. #
  255. # [websocket_ping_frequency]
  256. #
  257. # <number>
  258. #
  259. # The amount of time to wait in seconds, before sending a websocket 'ping'
  260. # message. Ping messages are used to determine if the remote end of the
  261. # connection is no longer available.
  262. #
  263. #
  264. #
  265. #-------------------------------------------------------------------------------
  266. #
  267. # 2. Peer Protocol
  268. #
  269. #-----------------
  270. #
  271. # These settings control security and access attributes of the Peer to Peer
  272. # server section of the rippled process. Peer Protocol implements the
  273. # Ripple Payment protocol. It is over peer connections that transactions
  274. # and validations are passed from to machine to machine, to determine the
  275. # contents of validated ledgers.
  276. #
  277. #
  278. #
  279. # [ips]
  280. #
  281. # List of hostnames or ips where the Ripple protocol is served. For a starter
  282. # list, you can either copy entries from: https://ripple.com/ripple.txt or if
  283. # you prefer you can specify r.ripple.com 51235
  284. #
  285. # One IPv4 address or domain names per line is allowed. A port may optionally
  286. # be specified after adding a space to the address. By convention, if known,
  287. # IPs are listed in from most to least trusted.
  288. #
  289. # Examples:
  290. # 192.168.0.1
  291. # 192.168.0.1 3939
  292. # r.ripple.com 51235
  293. #
  294. # This will give you a good, up-to-date list of addresses:
  295. #
  296. # [ips]
  297. # r.ripple.com 51235
  298. #
  299. #
  300. #
  301. # [ips_fixed]
  302. #
  303. # List of IP addresses or hostnames to which rippled should always attempt to
  304. # maintain peer connections with. This is useful for manually forming private
  305. # networks, for example to configure a validation server that connects to the
  306. # Ripple network through a public-facing server, or for building a set
  307. # of cluster peers.
  308. #
  309. # One IPv4 address or domain names per line is allowed. A port may optionally
  310. # be specified after adding a space to the address.
  311. #
  312. #
  313. #
  314. # [peer_private]
  315. #
  316. # 0 or 1.
  317. #
  318. # 0: Request peers to broadcast your address. Normal outbound peer connections [default]
  319. # 1: Request peers not broadcast your address. Only connect to configured peers.
  320. #
  321. #
  322. #
  323. # [peers_max]
  324. #
  325. # The largest number of desired peer connections (incoming or outgoing).
  326. # Cluster and fixed peers do not count towards this total. There are
  327. # implementation-defined lower limits imposed on this value for security
  328. # purposes.
  329. #
  330. #
  331. #
  332. # [node_seed]
  333. #
  334. # This is used for clustering. To force a particular node seed or key, the
  335. # key can be set here. The format is the same as the validation_seed field.
  336. # To obtain a validation seed, use the validation_create command.
  337. #
  338. # Examples: RASH BUSH MILK LOOK BAD BRIM AVID GAFF BAIT ROT POD LOVE
  339. # shfArahZT9Q9ckTf3s1psJ7C7qzVN
  340. #
  341. #
  342. #
  343. # [cluster_nodes]
  344. #
  345. # To extend full trust to other nodes, place their node public keys here.
  346. # Generally, you should only do this for nodes under common administration.
  347. # Node public keys start with an 'n'. To give a node a name for identification
  348. # place a space after the public key and then the name.
  349. #
  350. #
  351. #
  352. # [sntp_servers]
  353. #
  354. # IP address or domain of NTP servers to use for time synchronization.
  355. #
  356. # These NTP servers are suitable for rippled servers located in the United
  357. # States:
  358. # time.windows.com
  359. # time.apple.com
  360. # time.nist.gov
  361. # pool.ntp.org
  362. #
  363. #
  364. #
  365. # [overlay] EXPERIMENTAL
  366. #
  367. # This section is EXPERIMENTAL, and should not be
  368. # present for production configuration settings.
  369. #
  370. # A set of key/value pair parameters to configure the overlay.
  371. #
  372. # auto_connect = 0 | 1
  373. #
  374. # When set, activates the autoconnect feature. This maintains outgoing
  375. # connections using PeerFinder's "Outgoing Connection Strategy."
  376. #
  377. # http_handshake = 0 | 1
  378. #
  379. # When set, outgoing peer connections will handshaking using a HTTP
  380. # request instead of the legacy TMHello protocol buffers message.
  381. # Incoming peer connections have their handshakes detected automatically.
  382. #
  383. # become_superpeer = 'never' | 'always' | 'auto'
  384. #
  385. # Controls the selection of peer roles:
  386. #
  387. # 'never' Always handshake in the leaf role.
  388. # 'always' Always handshake in the superpeer role.
  389. # 'auto' Start as a leaf, promote to superpeer after
  390. # passing capability check (default).
  391. #
  392. # In the leaf role, a peer does not advertise its IP and port for
  393. # the purpose of receiving incoming connections. The peer also does
  394. # not forward transactions and validations received from other peers.
  395. #
  396. # In the superpeer role, a peer advertises its IP and port for
  397. # receiving incoming connections after passing an incoming connection
  398. # test. Superpeers forward transactions and protocol messages to all
  399. # other peers. Superpeers do not forward validations to other superpeers.
  400. # Instead, a validation received by a superpeer from a leaf is forwarded
  401. # only to other leaf connections.
  402. #
  403. #
  404. #
  405. #-------------------------------------------------------------------------------
  406. #
  407. # 3. SMS Gateway
  408. #
  409. #---------------
  410. #
  411. # If you have a certain SMS messaging provider you can configure these
  412. # settings to allow the rippled server instance to send an SMS text to the
  413. # configured gateway in response to an admin-level RPC command "sms" with
  414. # one parameter, 'text' containing the message to send. This allows backend
  415. # applications to use the rippled instance to securely notify administrators
  416. # of custom events or information via SMS gateway.
  417. #
  418. # When the 'sms' RPC command is issued, the configured SMS gateway will be
  419. # contacted via HTTPS GET at the URL indicated by sms_url. The URI formed
  420. # will be in this format:
  421. #
  422. # [sms_url]?from=[sms_from]&to=[sms_to]&api_key=[sms_key]&api_secret=[sms_secret]&text=['text']
  423. #
  424. # Where [...] are the corresponding values from the configuration file, and
  425. # ['test'] is the value of the JSON field with name 'text'.
  426. #
  427. # [sms_url]
  428. #
  429. # The URL to contact via HTTPS when sending SMS messages
  430. #
  431. # [sms_from]
  432. # [sms_to]
  433. # [sms_key]
  434. # [sms_secret]
  435. #
  436. # These are all strings passed directly in the URI as query parameters
  437. # to the provider of the SMS gateway.
  438. #
  439. #
  440. #
  441. #-------------------------------------------------------------------------------
  442. #
  443. # 4. Ripple Protocol
  444. #
  445. #-------------------
  446. #
  447. # These settings affect the behavior of the server instance with respect
  448. # to Ripple payment protocol level activities such as validating and
  449. # closing ledgers, establishing a quorum, or adjusting fees in response
  450. # to server overloads.
  451. #
  452. #
  453. #
  454. # [node_size]
  455. #
  456. # Tunes the servers based on the expected load and available memory. Legal
  457. # sizes are "tiny", "small", "medium", "large", and "huge". We recommend
  458. # you start at the default and raise the setting if you have extra memory.
  459. # The default is "tiny".
  460. #
  461. #
  462. #
  463. # [validation_quorum]
  464. #
  465. # Sets the minimum number of trusted validations a ledger must have before
  466. # the server considers it fully validated. Note that if you are validating,
  467. # your validation counts.
  468. #
  469. #
  470. #
  471. [ledger_history]
  472. full
  473. #
  474. # The number of past ledgers to acquire on server startup and the minimum to
  475. # maintain while running.
  476. #
  477. # To serve clients, servers need historical ledger data. Servers that don't
  478. # need to serve clients can set this to "none". Servers that want complete
  479. # history can set this to "full".
  480. #
  481. # The default is: 256
  482. #
  483. #
  484. # [fetch_depth]
  485. #
  486. # The number of past ledgers to serve to other peers that request historical
  487. # ledger data (or "full" for no limit).
  488. #
  489. # Servers that require low latency and high local performance may wish to
  490. # restrict the historical ledgers they are willing to serve. Setting this
  491. # below 32 can harm network stability as servers require easy access to
  492. # recent history to stay in sync. Values below 128 are not recommended.
  493. #
  494. # The default is: full
  495. #
  496. #
  497. #
  498. # [validation_seed]
  499. #
  500. # To perform validation, this section should contain either a validation seed
  501. # or key. The validation seed is used to generate the validation
  502. # public/private key pair. To obtain a validation seed, use the
  503. # validation_create command.
  504. #
  505. # Examples: RASH BUSH MILK LOOK BAD BRIM AVID GAFF BAIT ROT POD LOVE
  506. # shfArahZT9Q9ckTf3s1psJ7C7qzVN
  507. #
  508. #
  509. #
  510. # [validators]
  511. #
  512. # List of nodes to always accept as validators. Nodes are specified by domain
  513. # or public key.
  514. #
  515. # For domains, rippled will probe for https web servers at the specified
  516. # domain in the following order: ripple.DOMAIN, www.DOMAIN, DOMAIN
  517. #
  518. # For public key entries, a comment may optionally be specified after adding
  519. # a space to the public key.
  520. #
  521. # Examples:
  522. # ripple.com
  523. # n9KorY8QtTdRx7TVDpwnG9NvyxsDwHUKUEeDLY3AkiGncVaSXZi5
  524. # n9MqiExBcoG19UXwoLjBJnhsxEhAZMuWwJDRdkyDz1EkEkwzQTNt John Doe
  525. #
  526. #
  527. #
  528. # [validators_file]
  529. #
  530. # Path to file contain a list of nodes to always accept as validators. Use
  531. # this to specify a file other than this file to manage your validators list.
  532. #
  533. # If this entry is not present or empty and no nodes from previous runs were
  534. # found in the database, rippled will look for a validators.txt in the config
  535. # directory. If not found there, it will attempt to retrieve the file from
  536. # the [validators_site] web site.
  537. #
  538. # After specifying a different [validators_file] or changing the contents of
  539. # the validators file, issue a RPC unl_load command to have rippled load the
  540. # file.
  541. #
  542. # Specify the file by specifying its full path.
  543. #
  544. # Examples:
  545. # C:/home/johndoe/ripple/validators.txt
  546. # /home/johndoe/ripple/validators.txt
  547. #
  548. #
  549. #
  550. # [validators_site]
  551. #
  552. # Specifies where to find validators.txt for UNL boostrapping and RPC
  553. # unl_network command.
  554. #
  555. # Example: ripple.com
  556. #
  557. #
  558. #
  559. # [path_search]
  560. # When searching for paths, the default search aggressiveness. This can take
  561. # exponentially more resources as the size is increased.
  562. #
  563. # The default is: 7
  564. #
  565. # [path_search_fast]
  566. # [path_search_max]
  567. # When searching for paths, the minimum and maximum search aggressiveness.
  568. #
  569. # The default for 'path_search_fast' is 2. The default for 'path_search_max' is 10.
  570. #
  571. # [path_search_old]
  572. #
  573. # For clients that use the legacy path finding interfaces, the search
  574. # agressivness to use. The default is 7.
  575. #
  576. #
  577. #
  578. # [fee_default]
  579. #
  580. # Sets the base cost of a transaction in drops. Used when the server has
  581. # no other source of fee information, such as signing transactions offline.
  582. #
  583. #
  584. #
  585. #-------------------------------------------------------------------------------
  586. #
  587. # 5. HTTPS Client
  588. #
  589. #----------------
  590. #
  591. # The rippled server instance uses HTTPS GET requests in a variety of
  592. # circumstances, including but not limited to the SMS Messaging Gateway
  593. # feature and also for contacting trusted domains to fetch information
  594. # such as mapping an email address to a Ripple Payment Network address.
  595. #
  596. # [ssl_verify]
  597. #
  598. # 0 or 1.
  599. #
  600. # 0. HTTPS client connections will not verify certificates.
  601. # 1. Certificates will be checked for HTTPS client connections.
  602. #
  603. # If not specified, this parameter defaults to 1.
  604. #
  605. #
  606. #
  607. # [ssl_verify_file]
  608. #
  609. # <pathname>
  610. #
  611. # A file system path leading to the certificate verification file for
  612. # HTTPS client requests.
  613. #
  614. #
  615. #
  616. # [ssl_verify_dir]
  617. #
  618. # <pathname>
  619. #
  620. #
  621. # A file system path leading to a file or directory containing the root
  622. # certificates that the server will accept for verifying HTTP servers.
  623. # Used only for outbound HTTPS client connections.
  624. #
  625. #
  626. #
  627. #-------------------------------------------------------------------------------
  628. #
  629. # 6. Database
  630. #
  631. #------------
  632. #
  633. # rippled creates 4 SQLite database to hold bookkeeping information
  634. # about transactions, local credentials, and various other things.
  635. # It also creates the NodeDB, which holds all the objects that
  636. # make up the current and historical ledgers. The size of the NodeDB
  637. # grows in proportion to the amount of new data and the amount of
  638. # historical data (a configurable setting).
  639. #
  640. # The performance of the underlying storage media where the NodeDB
  641. # is placed can affect the performance of the server. Some virtual
  642. # hosting providers offer high speed secondary storage, with the
  643. # caveat that the data is not persisted across launches. If rippled
  644. # runs in such an environment, it can be beneficial to configure the
  645. # temp_db setting, which activates a secondary "look-aside" cache
  646. # that can speed up the server. Some testing is suggested to determine
  647. # if the temp_db setting is an improvement for your environment
  648. #
  649. # Partial pathnames will be considered relative to the location of
  650. # the rippled.cfg file.
  651. #
  652. # [node_db] Settings for the NodeDB (required)
  653. # [temp_db] Settings for the look-aside temporary db (optional)
  654. # [import_db] Settings for performing a one-time import (optional)
  655. #
  656. # Format (without spaces):
  657. # One or more lines of key / value pairs:
  658. # <key> '=' <value>
  659. # ...
  660. #
  661. # Examples:
  662. # type=HyperLevelDB
  663. # path=db/hyperldb
  664. # compression=0
  665. #
  666. # Choices for 'type' (not case-sensitive)
  667. # RocksDB Use Facebook's RocksDB database (preferred)
  668. # HyperLevelDB Use an improved version of LevelDB
  669. # SQLite Use SQLite
  670. # LevelDB Use Google's LevelDB database (deprecated)
  671. # none Use no backend
  672. #
  673. # Required keys:
  674. # path Location to store the database (all types)
  675. #
  676. # Optional keys:
  677. # compression 0 for none, 1 for Snappy compression
  678. #
  679. # Notes:
  680. # The 'node_db' entry configures the primary, persistent storage.
  681. #
  682. # The 'temp_db' configures a look-aside cache for high volume storage
  683. # which doesn't necessarily persist between server launches. This
  684. # is an optional configuration parameter. If it is left out then
  685. # no look-aside database is created or used.
  686. #
  687. # The 'import_db' is used with the '--import' command line option to
  688. # migrate the specified database into the current database given
  689. # in the [node_db] section.
  690. #
  691. # [database_path] Path to the book-keeping databases.
  692. #
  693. # There are 4 book-keeping SQLite database that the server creates and
  694. # maintains. If you omit this configuration setting, it will default to
  695. # creating a directory called "db" located in the same place as your
  696. # rippled.cfg file.
  697. #
  698. #
  699. #
  700. #-------------------------------------------------------------------------------
  701. #
  702. # 7. Diagnostics
  703. #
  704. #---------------
  705. #
  706. # These settings are designed to help server administrators diagnose
  707. # problems, and obtain detailed information about the activities being
  708. # performed by the rippled process.
  709. #
  710. #
  711. #
  712. # [debug_logfile]
  713. #
  714. # Specifies were a debug logfile is kept. By default, no debug log is kept.
  715. # Unless absolute, the path is relative the directory containing this file.
  716. #
  717. # Example: debug.log
  718. #
  719. #
  720. #
  721. # [insight]
  722. #
  723. # Configuration parameters for the Beast.Insight stats collection module.
  724. #
  725. # Insight is a module that collects information from the areas of rippled
  726. # that have instrumentation. The configuration paramters control where the
  727. # collection metrics are sent. The parameters are expressed as key = value
  728. # pairs with no white space. The main parameter is the choice of server:
  729. #
  730. # "server"
  731. #
  732. # Choice of server to send metrics to. Currently the only choice is
  733. # "statsd" which sends UDP packets to a StatsD daemon, which must be
  734. # running while rippled is running. More information on StatsD is
  735. # available here:
  736. # https://github.com/b/statsd_spec
  737. #
  738. # When server=statsd, these additional keys are used:
  739. #
  740. # "address" The UDP address and port of the listening StatsD server,
  741. # in the format, n.n.n.n:port.
  742. #
  743. # "prefix" A string prepended to each collected metric. This is used
  744. # to distinguish between different running instances of rippled.
  745. #
  746. # If this section is missing, or the server type is unspecified or unknown,
  747. # statistics are not collected or reported.
  748. #
  749. # Example:
  750. #
  751. # [insight]
  752. # server=statsd
  753. # address=192.168.0.95:4201
  754. # prefix=my_validator
  755. #
  756. #-------------------------------------------------------------------------------
  757. #
  758. # 8. Voting
  759. #
  760. #----------
  761. #
  762. # The vote settings configure settings for the entire Ripple network.
  763. # While a single instance of rippled cannot unilaterally enforce network-wide
  764. # settings, these choices become part of the instance's vote during the
  765. # consensus process for each voting ledger.
  766. #
  767. # [voting]
  768. #
  769. # A set of key/value pair parameters used during voting ledgers.
  770. #
  771. # reference_fee = <drops>
  772. #
  773. # The cost of the reference transaction fee, specified in drops.
  774. # The reference transaction is the simplest form of transaction.
  775. # It represents an XRP payment between two parties.
  776. #
  777. # If this parameter is unspecified, rippled will use an internal
  778. # default. Don't change this without understanding the consequences.
  779. #
  780. # Example:
  781. # reference_fee = 10 # 10 drops
  782. #
  783. # account_reserve = <drops>
  784. #
  785. # The account reserve requirement specified in drops. The portion of an
  786. # account's XRP balance that is at or below the reserve may only be
  787. # spent on transaction fees, and not transferred out of the account.
  788. #
  789. # If this parameter is unspecified, rippled will use an internal
  790. # default. Don't change this without understanding the consequences.
  791. #
  792. # Example:
  793. # account_reserve = 20000000 # 20 XRP
  794. #
  795. # owner_reserve = <drops>
  796. #
  797. # The owner reserve is the amount of XRP reserved in the account for
  798. # each ledger item owned by the account. Ledger items an account may
  799. # own include trust lines, open orders, and tickets.
  800. #
  801. # If this parameter is unspecified, rippled will use an internal
  802. # default. Don't change this without understanding the consequences.
  803. #
  804. # Example:
  805. # owner_reserve = 5000000 # 5 XRP
  806. #
  807. #-------------------------------------------------------------------------------
  808. #
  809. # 9. Example Settings
  810. #
  811. #--------------------
  812. #
  813. # Administrators can use these values as a starting poing for configuring
  814. # their instance of rippled, but each value should be checked to make sure
  815. # it meets the business requirements for the organization.
  816. #
  817. # Server
  818. #
  819. # These example configuration settings create these ports:
  820. #
  821. # "peer"
  822. #
  823. # Peer protocol open to everyone. This is required to accept
  824. # incoming rippled connections. This does not affect automatic
  825. # or manual outgoing Peer protocol connections.
  826. #
  827. # "rpc"
  828. #
  829. # Administrative RPC commands over HTTPS, when originating from
  830. # the same machine (via the loopback adapter at 127.0.0.1).
  831. #
  832. # "wss_admin"
  833. #
  834. # Admin level API commands over Secure Websockets, when originating
  835. # from the same machine (via the loopback adapter at 127.0.0.1).
  836. #
  837. # This port is commented out but can be enabled by removing
  838. # the '#' from each corresponding line including the entry under [server]
  839. #
  840. # "wss_public"
  841. #
  842. # Guest level API commands over Secure Websockets, open to everyone.
  843. #
  844. # For HTTPS and Secure Websockets ports, if no certificate and key file
  845. # are specified then a self-signed certificate will be generated on startup.
  846. # If you have a certificate and key file, uncomment the corresponding lines
  847. # and ensure the paths to the files are correct.
  848. #
  849. # NOTE
  850. #
  851. # To accept connections on well known ports such as 80 (HTTP) or
  852. # 443 (HTTPS), most operating systems will require rippled to
  853. # run with administrator privileges, or else rippled will not start.
  854.  
  855. [server]
  856. port_peer
  857. port_rpc
  858. port_wss_admin
  859. port_ws_public
  860. #ssl_key = /etc/ssl/private/server.key
  861. #ssl_cert = /etc/ssl/certs/server.crt
  862.  
  863. [port_rpc]
  864. port = 5005
  865. ip = 127.0.0.1
  866. admin = 127.0.0.1
  867. protocol = https
  868.  
  869. [port_peer]
  870. port = 51235
  871. ip = 0.0.0.0
  872. protocol = peer
  873.  
  874. [port_wss_admin]
  875. port = 6006
  876. ip = 127.0.0.1
  877. admin = 127.0.0.1
  878. protocol = wss
  879.  
  880. [port_ws_public]
  881. port = 5015
  882. ip = 0.0.0.0
  883. protocol = http
  884.  
  885. #-------------------------------------------------------------------------------
  886.  
  887. [node_size]
  888. medium
  889.  
  890. # This is primary persistent datastore for rippled. This includes transaction
  891. # metadata, account states, and ledger headers. Helpful information can be
  892. # found here: https://ripple.com/wiki/NodeBackEnd
  893. [node_db]
  894. type=NuDB
  895. path=db/NuDB
  896. online_delete 256 #or higher. Must be greater than or equal to ledger_history
  897. advisory_delete 0
  898. # type=RocksDB
  899. # path=db/rocksdb
  900. # open_files=2000
  901. # filter_bits=12
  902. # cache_mb=256
  903. # file_size_mb=8
  904. # file_size_mult=2
  905.  
  906. # [database_path]
  907. # /var/lib/rippled/db
  908.  
  909. # This needs to be an absolute directory reference, not a relative one.
  910. # Modify this value as required.
  911. [debug_logfile]
  912. /Users/howardhinnant/Development/public/debug.log
  913.  
  914. [sntp_servers]
  915. time.windows.com
  916. time.apple.com
  917. time.nist.gov
  918. pool.ntp.org
  919.  
  920. # Where to find some other servers speaking the Ripple protocol.
  921. #
  922. [ips]
  923. 18.185.30.85 51235
  924. #35.157.225.205 51235
  925. 18.184.188.139 51235
  926.  
  927. # File containing trusted validator keys or validator list publishers.
  928. # Unless an absolute path is specified, it will be considered relative to the
  929. # folder in which the rippled.cfg file is located.
  930. [validators_file]
  931. validators.txt
  932.  
  933. # The latest validators can be obtained from
  934. # https://ripple.com/ripple.txt
  935. #
  936. [validators]
  937. n9Jx6RS6zSgqsgnuWJifNA9EqgjTKAywqYNReK5NRd1yLBbfC3ng RL1
  938. #n9L1BacXNCCC56JhncC9EmksnEHPcvF7USFZQ2jXvmbm7MnAnehM RL2
  939.  
  940.  
  941. # n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7 RL1
  942. # n9MD5h24qrQqiyBC8aeqqCWvpiBiYQ3jxSr91uiDvmrkyHRdYLUj RL2
  943. # n9L81uNCaPgtUJfaHh89gmdvXKAmSt5Gdsw2g1iPWaPkAHW5Nm4C RL3
  944. # n9KiYM9CgngLvtRCQHZwgC2gjpdaZcCcbt3VboxiNFcKuwFVujzS RL4
  945. # n9LdgEtkmGB9E2h3K4Vp7iGUaKuq23Zr32ehxiU8FWY7xoxbWTSA RL5
  946.  
  947. # Ditto.
  948. [validation_quorum]
  949. 1
  950.  
  951. # Turn down default logging to save disk space in the long run.
  952. # Valid values here are trace, debug, info, warning, error, and fatal
  953. # [rpc_startup]
  954. # { "command": "log_level", "severity": "trace" }
  955. # { "command": "log_level", "severity": "info" }
  956.  
  957. # Defaults to 1 ("yes") so that certificates will be validated. To allow the use
  958. # of self-signed certificates for development or internal use, set to 0 ("no").
  959. [ssl_verify]
  960. 0
  961.  
  962. # [overlay]
  963. # expire = 1
  964.  
  965. [validation_seed]
  966. snjdRgMxbBES9mwYzapMkXTiYtSX8
  967. #snjJkyBGogTem5dFGbcRaThKq2Rt3
  968.  
  969. #****************************
  970.  
  971. # [features]
  972. # SHAMapV2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement