Vinnie Falco
0ebe3f1f35
Disable NameResolver temporarily
2014-01-02 16:12:55 -08:00
Vinnie Falco
328680b6cd
Fix Resolver contract check
2014-01-02 16:10:49 -08:00
Vinnie Falco
f9dca105a6
Improved async stop for Resolver
...
Conflicts:
src/ripple_app/peers/NameResolver.cpp
2014-01-02 15:38:03 -08:00
Vinnie Falco
3664db61e7
Fix static storage duration issue with some Journal logs
2014-01-02 15:21:33 -08:00
Vinnie Falco
6527cdfa97
Add RippleAsset types
...
Conflicts:
Builds/VisualStudio2012/RippleD.vcxproj.filters
2013-12-27 17:21:11 -08:00
JoelKatz
b2dbe8ef83
Ledger acquire fixes/cleanups/logging
...
* Inbound ledger and SHAMapAddNode cleanup
* Log acquire stats
* Fix progress logic
* Remove ledgers we no longer need to acquire
* Stash stale state data in our fetch pack, it can still be useful
* Stash in fetch pack if acquire terminated while job was pending
* Account for duplicate/invalid nodes in a few cases previously missed
* Dispatch each InboundLedger once (not per data)
* Trigger only the "best" peer
* Don't call tryAdvance on failed acquires
2013-12-27 16:48:03 -08:00
NATTSiM
9bdb0774ad
Make InboundLedgers, LedgerConsensus abstract
2013-12-27 16:48:03 -08:00
Vinnie Falco
f9c4070ad3
Add FetchPack unit test
2013-12-22 12:57:44 -08:00
Vinnie Falco
074325a7ea
Inject SHAMap missing node handler dependency
2013-12-22 12:38:07 -08:00
JoelKatz
2f521a6a91
Build fetch packs correctly.
2013-12-22 12:38:07 -08:00
Nik Bougalis
3e2b5dcc3d
Hostname resolution support for Peers
2013-12-19 14:50:03 -08:00
Vinnie Falco
81d418007a
Add CollectorManager for Beast.Insight support
2013-12-16 18:08:11 -08:00
David Schwartz
de92ac9e0b
Websocket improvements:
...
* Log on_close/on_fail/on_open calls.
* Ping out connections.
* Improve ping logic.
* On websocket ping out, close abnormally.
* Avoid deadlock when shutting down websocket endpoint
2013-12-16 09:40:15 -08:00
JoelKatz
deead04a6a
getFetchPack fixes, spread fetch pack requests.
2013-12-15 07:20:24 -08:00
JoelKatz
d4771a9b36
Fix missing call to setPubLedger on gap in published ledger stream.
2013-12-13 11:14:34 -08:00
JoelKatz
27b8415d0c
During old pathfinding, unlock earlier.
2013-12-12 21:17:25 -08:00
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