Nathan Nichols
3d3b8e91b6
fix ledger_index_min/max in account_tx response ( #172 )
2022-06-15 16:18:57 -05:00
Nathan Nichols
14a972c8e2
error when marker does not exist ( #167 )
2022-06-15 16:18:45 -05:00
Nathan Nichols
166ff63dbc
cache commands that dont take parameters ( #153 )
...
* Adds a forwardCache to each ETLSource which allows operators to specify which commands (that don't require parameters) they want to cache.
2022-06-15 16:18:25 -05:00
CJ Cobb
b7ae6a0495
Iterate account nft pages without using successor ( #177 )
...
* NFTs are iterated in reverse order, starting from the max page,
working towards the min page.
* Iteration always continues to page end
Signed-off-by: CJ Cobb <ccobb@ripple.com >
2022-06-15 16:17:31 -05: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
ethanlabelle
b45b34edb1
append warning to response if clio is out of date ( #175 )
...
Fixes #46 .
2022-06-14 13:50:42 -05:00
Brandon Kong
7ecb894632
Added log rotation feature and console/file logging config options ( #161 )
...
- Added log rotation feature, currently set to rotate for every 12h or if log file size exceeds 2 Gb. If the log directory exceeds 50 Gb, old log files will be deleted.
- Added config options for toggling console and file logging.
- Changed config options for log file storage, now writing log files to a directory instead of a single file.
- Added config options to allow specifying the log rotation size, log rotation interval, and log directory max size.
- Added detailed documentation in README.md regarding how to configure log rotation.
- Updated CMake install script to correctly set path in production mode
Co-authored-by: Brandon Kong <bkong@ripple.com >
2022-06-13 11:22:00 -05:00
Nathan Nichols
8de39739fa
remove unused file that was accidentally included in #162 ( #169 )
2022-06-03 16:09:39 -05:00
Nathan Nichols
f16a05ae7a
cleanup websocket sessions that are subscribed to books or accounts ( #146 )
2022-06-03 12:46:45 -05:00
Nathan Nichols
458fac776c
move version specifier to Build.h
2022-06-02 16:37:43 -07:00
Nathan Nichols
af575b1bcf
dont report error.what() when returning rpcINTERNAL ( #163 )
2022-06-02 16:41:09 -05:00
Nathan Nichols
ee615a290b
report transactions as validated in account_tx ( #165 )
2022-06-02 16:21:55 -05:00
Nathan Nichols
31cc06d4f4
handle string ledger_index values in doAccountTx ( #162 )
...
* handle string ledger_index values in doAccountTx
* return ledgerInfo when ledger_hash is specified
2022-06-02 15:53:12 -05:00
Michael Legleux
f90dac2f85
pin-dependency-versions ( #157 )
2022-05-25 13:42:04 -04:00
Michael Legleux
8a5be14ba8
Fix clio package
...
Configure example-config's clio.log path to /var/log/clio
2022-05-18 14:56:34 -07:00
Nathan Nichols
ba6b764e38
send messages to subscribers w/ shared_ptr ( #147 )
2022-05-18 16:47:12 -05:00
Devon White
9939f6e6f4
Add NFT RPC infrastructure
2022-05-18 15:41:56 -04:00
Michael Legleux
a72aa73afe
Run clio_tests with gha
2022-05-18 11:29:48 -07:00
Michael Legleux
3d02803135
Save .deb package after build
2022-05-18 00:28:39 -07:00
Nathan Nichols
3f47b85e3b
disable cache when CacheLoadStyle::NONE ( #152 )
2022-05-15 19:29:05 -05:00
natenichols
e7204a513a
set version to 0.2.0
0.2.0
2022-05-13 13:22:21 -05:00
Michael Legleux
f30ef6e294
pin rippled 1.9.0
2022-05-13 09:53:11 -07:00
Michael Legleux
73083339a4
ability to run build manually
2022-05-12 21:45:42 -07: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
CJ Cobb
8bf44c978e
Log cleanup ( #150 )
...
* log duration of rpc requests and request itself
* clean up book_offers logging
2022-05-11 12:46:40 -05:00
Nathan Nichols
cdabdec620
return entryNotFound instead of ledgerNotFound ( #149 )
2022-05-03 17:24:56 -05:00
Nathan Nichols
d4dc827ad1
fix validated_ledger location in server_info ( #144 )
...
* put validated_ledger in "info"
* return internal error if db reads fail
* reorganize doServerInfo()
* forward load_factor and quorum correctly
2022-04-26 19:49:51 -05:00
Nathan Nichols
65cbc5c232
set version to 0.1.1 ( #143 )
0.1.1
2022-04-22 13:57:09 -04:00
Nathan Nichols
56c36a07a2
return null when successor not in object table ( #142 )
...
* return null when successor not in object table
2022-04-22 11:40:41 -05:00
Nathan Nichols
c57b2d89f0
assorted server improvements ( #140 )
...
* assorted server improvements
save error on failure
execute sends on websocket executor
2022-04-20 10:35:39 -05:00
CJ Cobb
09c245786d
fix offer dir iteration bug ( #141 )
2022-04-20 09:58:01 -05:00
Michael Legleux
da5e21b648
Use actions from XRPLF/clio-build repo
2022-04-12 18:05:14 -07:00
Michael Legleux
b2c1731bcd
Fix header and function call ( #138 )
...
* RippledState.h --> TrustLine.h
* fix getAffectedAccounts() calls
2022-04-11 13:43:21 -04:00
Nathan Nichols
d6ec0f2aae
round age to zero when negative ( #137 )
2022-03-30 13:02:59 -05:00
Nathan Nichols
9b1de77110
use 64 bit counters ( #136 )
...
* use 64 bit counters
2022-03-30 13:01:56 -05:00
Nathan Nichols
e526083456
Hotfix for account_info, ledger_data and ip() ( #134 )
...
* remove option to create account from seed
* catch errors in derived().ip()
* checks keys.size() before accessing
2022-03-25 16:57:32 -04:00
rabbit
ac6c4c25d6
Update Build Instructions ( #133 )
...
* protobuf v2 is required.
* Fixed incorrect protobuf version & add step to build instructions.
* Update build instructions so Clio isn't cloned into the boost directory.
* Updated build instructions
* Consolidate build instructions and remove line numbers.
* Change case: clio -> Clio.
* Edit for consistency and brevity.
2022-03-25 11:27:11 -07:00
CJ Cobb
7272af91f2
change port in example config to 51233 ( #131 )
0.1.0
2022-03-22 18:53:37 -04:00
CJ Cobb
b7ff84ad21
Remove postgres from example config ( #129 )
2022-03-22 18:47:06 -04:00
CJ Cobb
0b2d192f9c
change cjcobb23 to XRPLF ( #127 )
2022-03-22 16:52:16 -04:00
CJ Cobb
524859304c
Update status in README
2022-03-22 16:15:42 -04:00
natenichols
02f53ef7fd
add RELEASENOTES.md
2022-03-22 13:10:40 -07:00
CJ Cobb
65c58c5411
Add license and copyright
2022-03-22 15:54:41 -04:00
CJ Cobb
ee1b08b99c
remove mentions of postgres from README
2022-03-22 15:19:35 -04:00
CJ Cobb
55668d7daa
add experimental flag to config in unit tests
2022-03-22 10:17:55 -07:00
CJ Cobb
3ed332c0a0
Require special flag to use Postgres
2022-03-22 09:30:43 -07:00
CJ Cobb
f3acfc8770
Build using rippled develop branch
2022-03-21 21:57:26 -04:00
Nathan Nichols
1d5c482d9c
Make Clio RPCs more consistent with rippled ( #110 )
...
* parse ledger_index as number
* allow websocket to use "command" or "method"
* mark all non-forwarded responses as validated
* dont mark forwarded errors as successful
* reduce forwarding Websocket expiration 30->3 seconds
* fix merge conflict in test.py
* adds ledger_current and ledger_closed
* deserialize `taker_gets_funded` into amount json
* limit account RPCs by number of objects traversed
* assign result correctly
2022-03-21 18:28:03 -05:00
CJ Cobb
945222840b
change etl failover timeout to 10 seconds
2022-03-21 13:57:35 -07:00
CJ Cobb
39459ef6da
refactor publish logic
2022-03-21 13:57:35 -07:00