David Schwartz
e1e81e5d97
Call pendSaveValidated without holding the ledger master lock
2013-12-12 21:17:20 -08:00
JoelKatz
37588b6808
Avoid an extraneous test.
2013-12-09 00:52:40 -08:00
JoelKatz
071db75f04
Add a 1 MB payload limit to incoming websocket requests
2013-12-09 00:52:40 -08:00
David Schwartz
1e00940a90
Move some ledger cleaner helper functions into the ledger master.
2013-12-08 23:53:57 -08:00
JoelKatz
b984566480
Suppress a warning.
2013-12-08 23:53:47 -08:00
JoelKatz
51aef120a1
Pathfinding performance improvements:
...
* Use a single RippleLineCache, even for 'fast' requests
* Use a ledger copy to avoid stalling other code
2013-12-08 23:52:54 -08:00
JoelKatz
636d722e8d
Memory-conserving changes to SHAMapTreeNode and visitLeavesInternal.
2013-12-08 23:52:54 -08:00
JoelKatz
9996e4a57e
The new recommended fee schedule is:
...
* Transaction fee: 10 drops
* Base reserve: 20 XRP
* Incremental reserve: 5 XRP
2013-12-04 19:07:58 -08:00
JoelKatz
4751b6a65c
Fix for issue 211, fixes to NetworkOPs getTxsAccountB
2013-12-04 17:09:22 -08:00
David Schwartz
b3c79f5c2f
Change visitLeaves to visit a snapshot so the ledger stays unlocked
2013-12-04 11:10:27 -08:00
JoelKatz
536db23e14
Fix foundResume check in account_tx
2013-11-27 12:25:45 -08:00
JoelKatz
2316fe5bbe
A better way to return an empty set if the token isn't an object.
2013-11-27 09:11:42 -08:00
JoelKatz
16ec9d2bdb
Return an empty set if token is not an object
2013-11-27 08:54:49 -08:00
JoelKatz
2ce4ce4309
Begin deprecating the old account_tx interface.
2013-11-26 22:01:10 -08:00
JoelKatz
ed64c8bb29
Add LedgerCleaner:
...
* Manually invoked to clean ledgers
* Get status with: 'print app.ledgercleaner.*'
* Invoke or control with 'ledger_cleaner' command
2013-11-26 21:50:35 -08:00
JoelKatz
4d1c2a5798
Make --import work
2013-11-22 18:01:13 -08:00
David Schwartz
02b5572ccc
Changes to support the ledger cleaner
...
* Rework ledger save return values to indicate errors to callers
* Add an extra function to support the ledger cleaner.
2013-11-20 12:22:45 -08:00
Vinnie Falco
b660d82516
Make TxFormats a Meyers singleton
2013-11-20 10:16:46 -08:00
Vinnie Falco
4ad84a339f
Make LedgerMaster abstract
2013-11-18 15:04:17 -08:00
JoelKatz
833435f8c2
The 'ledger' RPC command should be considered high burden if 'full' is set.
2013-11-17 20:11:40 -08:00
Vinnie Falco
1f433dea97
Add ripple_app TODO
2013-11-15 18:39:07 -08:00
Vinnie Falco
d8707cad2c
Refactor logging
2013-11-15 13:25:56 -08:00
JoelKatz
29aa462bfd
Add more comments to the consensus code.
2013-11-14 22:41:34 -08:00
JoelKatz
7a91872ee5
Fix broken indentation around BOOST_FOREACH
2013-11-14 22:35:09 -08:00
JoelKatz
68307d1012
Functions like remote_endpoint().address() can throw
2013-11-14 11:20:35 -08:00
JoelKatz
48cb707bb6
Handle a missing ledger node discovered during pathfinding.
2013-11-14 11:20:16 -08:00
JoelKatz
9322233b37
Allow the SHAMap visitLeaves functions to sanely handle a missing map node.
2013-11-13 11:04:17 -08:00
JoelKatz
1daf1b9932
Use MultiSocket for websocket
2013-11-12 21:09:01 -08:00
JoelKatz
a3024352ba
Pathfinding improvements.
2013-11-12 21:08:52 -08:00
David Schwartz
58f07a573f
New ResourceManager for managing server load.
...
* Track abusive endpoints
* Gossip across cluster.
* Use resource manager's gossip support to share load reporting across a cluster
* Swtich from legacy fees to new Resource::Charge fees.
* Connect RPC to the new resource manager.
* Set load levels where needed in RPC/websocket commands.
* Disconnect abusive peer endpoints.
* Don't start conversations with abusive peer endpoints.
* Move Resource::Consumer to InfoSub and remove LoadSource
* Remove port from inbound Consumer keys
* Add details in getJson
* Fix doAccountCurrencies for the new resource manager.
2013-11-12 21:08:52 -08:00
Vinnie Falco
a05f33f6a7
Add annotation and clean up whitespace
2013-11-12 19:30:07 -08:00
JoelKatz
57e77a5bd2
Use Ledger::visitStateItems to implement OrderBookDB::update
2013-11-11 21:31:18 -08:00
JoelKatz
74c65cfdc5
Cleanup path request logging.
2013-11-11 19:29:56 -08:00
JoelKatz
399760fda9
Assign each path finding request an ID and track its lifecycle.
2013-11-11 18:32:45 -08:00
Vinnie Falco
d4d6acdf68
Add MSVC Output window Journal config setting
...
Conflicts:
src/ripple/peerfinder/impl/Manager.cpp
src/ripple/validators/impl/Manager.cpp
2013-11-10 15:06:05 -08:00
JoelKatz
5f4a1917a6
Change how cluster load is computed from average-ish to median-ish.
2013-11-08 11:05:43 -08:00
JoelKatz
cf71680aee
Don't return too many paths.
2013-11-08 11:05:05 -08:00
JoelKatz
f04b9131cc
terNO_LINE should never be the final result of a payment transaction that can claim a fee.
2013-11-08 10:32:15 -08:00
JoelKatz
46861fac48
Don't allow a payment to take anything from an expired offer.
2013-11-08 10:17:12 -08:00
JoelKatz
4620b667e7
Fix a race condition if PathRequest::doCreate races with the path being processed.
2013-11-07 22:30:11 -08:00
Vinnie Falco
63aa7284c4
Disable peerfinder hooks
2013-11-07 09:59:28 -08:00
Vinnie Falco
066d92ecfa
Improve MultiSocket::ssl_handle
2013-11-07 09:35:04 -08:00
Vinnie Falco
c5ccabec38
Fix to use IPS from config
2013-11-06 06:19:06 -08:00
David Schwartz
bf1843be9e
Add "account_currencies" command.
2013-11-05 16:07:17 -08:00
David Schwartz
d50439cc4d
doAccountLines cleanup.
2013-11-05 15:41:15 -08:00
David Schwartz
c211094d3e
Allow two trust lines to be created without reserve check.
2013-11-05 13:29:07 -08:00
Stefan Thomas
09acc26c50
Fix marker being set for last result.
2013-11-03 22:39:55 -08:00
JoelKatz
0ae7bcff52
Fix the path filtering loop exit condition.
2013-11-03 17:20:10 -08:00
JoelKatz
2210dbac94
Don't abort the path filtering loop too early.
2013-11-03 16:37:35 -08:00
JoelKatz
6b2f654a30
Improve path filtering:
...
1) Ignore paths with very low liquidity
2) Allow an extra filling path to be added if needed
2013-11-03 02:20:18 -08:00