83 Commits

Author SHA1 Message Date
Michael Legleux
5b417bdc45 1.0.4 Release Candidate 2 (#465)
* Implement logging abstraction (#371)

Fixes #290

* Fix pre-commit to only check staged files

* Implement account ownership check and fix paging (#383)

Fixes #222

* Remove the github action package signing step

This will be done elsewhere.

* include searched_all in error response of tx (#407)

* helper function for subscribe to ensure cleanup (#402)

* Add closed to header for all paths of ledger_data (#416)

Fixes #219

* Add custom error for malformed owner and request (#417)

Fixes #274

* Use custom malformedAddress error in ledger_entry (#419)

Fixes #272

* Return lgrIdxsInvalid error for ledger_max_index less than ledger_min_index (#339)

Fixes #263

* Update headers to use #pragma once

* Add custom error for malformed request (#414)

Fixes #276

* Return srcCurMalformed on invalid taker_pays in book_offers (#413)

Fixes #267

* Fix source_location issue on MacOSX and Debug build (#431)

Fixes #428

* Implement always adding git ref to version string (#430)

Fixes #427

* add connection counting (#433)

* Fix malformed output format over ws rpc (#426)

Fixes #405

* Remove branch name from version string (#437)

Fixes a bug from #430

* Implement cli parsing using boost::po (#436)

Fixes #367

* Update documentation and config with ssl_cert_file and ssl_key_file (#443)

Fixes #424

* Fix gateway balances to match rippled output (#441)

Fixes #271

* Update README and example config to describe start_sequence (#438)

Fixes #250

* Add copyright to top of each source file (#444)

Fixes #411

* Increase file descriptor limit (#449)

* Update readme with more log configurations (#447)

Fixes #446

* Document dos_guard in example config. Log when client surpasses rate limit (#451)

* Add unit tests for DOSGuard (#453)

Fixes #452

* Build macOS and Ubuntu 22.04 (#456)

build release/x.y.z branches

* Add time measurement profiler (#458)

Rebase

* Match format to rippled error code (#461)

Fixes #263

* Change error message to match rippled (#463)

Fixes #263

* Add requests limit to DosGuard (#462)

Fixing #448

* Set version to 1.0.4-rc2

Co-authored-by: Alex Kremer <akremer@ripple.com>
Co-authored-by: CJ Cobb <46455409+cjcobb23@users.noreply.github.com>
Co-authored-by: Francis Mendoza <francissamuelmendoza7@gmail.com>
Co-authored-by: cyan317 <120398799+cindyyan317@users.noreply.github.com>
2023-01-10 16:04:07 -08:00
Alex Kremer
0a5bf911c1 Add error code extension mechanism and use malformed currency code (#396)
Fixes #275
2022-11-15 17:08:09 +00:00
Alex Kremer
ea2837749a Implement an abstraction for the config (#358)
Fixes #321
2022-11-01 16:59:23 +00:00
Alex Kremer
5bf334e5f7 Remove postgres support from clio (#327)
Fixes #310
2022-10-04 18:00:37 +01:00
Michael Legleux
de23f015d6 Mark package release's version string (#317) 2022-10-04 10:02:32 -04:00
Alex Kremer
744af4b639 Implement unique taging of incoming requests (#311)
Fixes #212
2022-09-29 21:56:29 +01:00
ledhed2222
1764f3524e add nft_history and mark certain APIs as clio-only to improve error (#255) 2022-09-15 21:11:29 -04:00
Alex Kremer
1ada879072 Probing ETL Source (#292)
* Implement a probing ETL source and do not require SSL certs for SslETLSource (#251)

Fixes #251
2022-09-12 23:32:13 +01:00
Alex Kremer
0b454a2316 Implement book_changes RPC (#300)
* Port book_changes RPC call from rippled
* Refactor for readability and modern cpp
2022-09-09 18:08:11 +01:00
Michael Legleux
ae8303fdc8 Guard for GCC < 11 and update readme (#243) 2022-08-10 15:02:44 -04:00
ledhed2222
6bf8c5bc4e Add NFT-specific data stores and add nft_info API (#98) 2022-07-26 15:01:14 -04:00
ethanlabelle
ae96ac7baf removed unused LayeredCache (#199) 2022-06-29 16:10:15 -07:00
CJ Cobb
d0ea9d20ab Use separate IO context for socket IO (#168)
* Keep track of number of requests currently being processed
* Reject new requests when number of in flight requests exceeds a
  configurable limit
* Track time spent between request arrival and start of request
  processing

Signed-off-by: CJ Cobb <ccobb@ripple.com>

Co-authored-by: natenichols <natenichols@cox.net>
2022-06-15 16:17:15 -05:00
Nathan Nichols
458fac776c move version specifier to Build.h 2022-06-02 16:37:43 -07:00
Devon White
9939f6e6f4 Add NFT RPC infrastructure 2022-05-18 15:41:56 -04:00
natenichols
e7204a513a set version to 0.2.0 2022-05-13 13:22:21 -05:00
Michael Legleux
f2f2f92aa6 changes for external build
use XRPLF repos

build develop-next branch; self-hosted runner

force linux runner
2022-05-12 13:15:01 -07:00
Nathan Nichols
65cbc5c232 set version to 0.1.1 (#143) 2022-04-22 13:57:09 -04:00
Michael Legleux
06e8c87033 Quiet postgres (#107)
* set cxx_std_20 only for libclio

* Be explicit with requiring ExternalProject

* Specify Ubuntu 20.04's cmake version exactly

* quiet postgres install step
2022-03-01 15:03:21 -05:00
Nathan Nichols
738577309d specify CMAKE_CXX_STANDARD (#102)
* specify CMAKE_CXX_STANDARD

* add reference to range based for loop
2022-02-22 17:18:31 -06:00
natenichols
d016253264 Make database reads async
* yield on db read using asio
* PostgresBackend fetches multiple transactions or objects in parallel
2022-02-16 09:36:51 -05:00
Michael Legleux
54a21481d8 build tests optionally (#87) 2022-01-20 11:13:16 -05:00
Michael Legleux
628ede5bdb externalProject for cmake < 20; move more stuff out root cmakelists.txt (#81) 2022-01-06 11:11:12 -05:00
CJ Cobb
49c7c9989f Forward client IP to rippled when proxying (#77) 2022-01-05 14:51:00 -05:00
Nathan Nichols
41e412302b Report RPC counts in server_info (#72) 2022-01-05 12:58:17 -05:00
Michael Legleux
2f0b3235ee CMake Refactor and Github Actions Hook 2022-01-05 10:36:56 -05:00
Michael Legleux
aa65d1669d Stop rebuilding everything everytime (#73) 2022-01-04 16:40:23 -05:00
CJ Cobb
c7e31aff56 Add state data cache and successor table. Remove keys table
* Adds a cache for the most recently validated ledger state
* Replaces the keys table with successor table
* Adds support for ledger diffs in the database
* Removes BackendIndexer
2021-12-20 14:40:23 -05:00
Nathan Nichols
e930ff04df Refactors subscription manager (#52)
* Replaces mutexes with asio strands
2021-12-14 11:24:10 -05:00
CJ Cobb
8e52134a21 point at rippled fork 2021-12-06 17:41:18 -05:00
Nathan Nichols
366577b3f0 fetch content from ripple/rippled develop 2021-10-21 11:15:35 -04:00
Edward Hennis
edcb52dcf6 Test changes 2021-10-04 18:24:54 -04:00
CJ Cobb
a6d90cac60 Use FetchContent instead of git submodule to include xrpl_core 2021-10-01 11:13:45 -04:00
CJ Cobb
a731fef562 add log to file support 2021-09-21 15:19:30 -04:00
CJ Cobb
3d580784d1 add random and ping 2021-09-17 15:30:36 -04:00
CJ Cobb
7d13090d0b add support for transaction_entry 2021-09-14 12:10:36 -04:00
CJ Cobb
8e877ac87c implement noripple_check 2021-09-14 12:10:36 -04:00
CJ Cobb
f18c8f67e2 add gateway_balances. fix bug with account_currencies 2021-09-14 12:10:31 -04:00
CJ Cobb
d65bbfc841 first half of support for books stream 2021-08-23 14:44:46 -04:00
CJ Cobb
56e81eb1d8 reorg 2021-08-02 15:54:37 -04:00
Nathan Nichols
37abec1401 Achieve parity with rippled API 2021-07-06 14:00:20 +00:00
CJ Cobb
3423bd7d86 move main.cpp 2021-06-23 15:18:46 +00:00
CJ Cobb
056e170a56 Cleanup, documentation, rename some things, cmake changes 2021-06-23 15:04:06 +00:00
Nathan Nichols
fe25a9bc44 reorganize http files 2021-06-22 14:52:28 -04:00
Nathan Nichols
31e26f686e rebase server 2021-06-22 14:52:28 -04:00
Nathan Nichols
f058e6b79d rebase 2021-06-22 14:52:28 -04:00
CJ Cobb
58fe780714 folder reorg 2021-06-08 00:02:08 -04:00
CJ Cobb
5f265c5850 checkpoint 2021-06-07 20:19:47 -04:00
CJ Cobb
51ff08b3ae partial merge needs fixing 2021-06-07 21:35:33 +00:00
CJ Cobb
2299d59fda lots of refactor and bug fix 2021-06-02 17:47:14 +00:00