Commit Graph

64 Commits

Author SHA1 Message Date
JoelKatz
b906cebf12 Fee change bugfixes. 2013-04-23 11:48:51 -07:00
JoelKatz
0c7066944e Fetch pack scheme. Phase two. 2013-04-21 20:37:46 -07:00
JoelKatz
b993c6ee32 Cache the hashes of nodes known to be full below.
Remove the TNByID entries for those nodes in state trees.
This reduces the memory and I/O neded during ledger fetching and prevents
ledger fetching from crushing other caches.
2013-04-19 14:22:52 -07:00
JoelKatz
fbaee6e323 No reason to setup checkpointing on hash node db. All writes
come from a lazy writing thread.
2013-04-18 16:21:08 -07:00
JoelKatz
3263693c94 The next part of the reserve/fee change code.
Conflicts:
	src/cpp/ripple/Application.cpp
2013-04-17 08:41:07 -07:00
JoelKatz
fd296b4411 Pathfinding performance improvements. 2013-04-09 19:42:57 -07:00
JoelKatz
7e429dd14c On non-tiny nodes, use an extra I/O thread. 2013-04-07 23:44:36 -07:00
JoelKatz
f2397856a5 Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding 2013-04-03 12:46:32 -07:00
JoelKatz
2e28179217 Suppress some warnings. 2013-04-02 12:24:05 -07:00
JoelKatz
5cc9314d03 Add a framework for detecting databases that need updating.
Put transaction from account_tx command in transaction application sequence.
CAUTION: This modifies your databases and will cause a delay on your next startup.
2013-04-01 19:03:28 -07:00
JoelKatz
8215463879 Thread dispatch fixes. (code is commented out) 2013-03-29 18:28:16 -07:00
JoelKatz
e5024074c0 Merge branch 'master' of https://github.com/jedmccaleb/NewCoin into new_pathfinding
Conflicts:
	src/cpp/ripple/Application.cpp
	src/cpp/ripple/Pathfinder.cpp

Merge.
2013-03-29 10:27:54 -07:00
JoelKatz
9cbd019874 A small change with big consequences. Allow job queue threads to moonlight as I/O threads. 2013-03-29 10:18:11 -07:00
JoelKatz
140314adce Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding 2013-03-22 14:48:15 -07:00
JoelKatz
2c128d2ae0 Tune some other DB cache sizes. 2013-03-22 08:09:37 -07:00
JoelKatz
017594950b Use a thunk to name the aux thread. 2013-03-20 06:44:00 -07:00
JoelKatz
c5429032ed Process monitors itself, restarts if it faults, preserves logs
and cores. Rate-limiting for safety.
2013-03-20 06:33:29 -07:00
JoelKatz
9fbbee318d Tweak the sqlite cache sizing. 2013-03-20 01:13:07 -07:00
JoelKatz
5494bc3158 Enlarge the SQLite database cache intelligently. 2013-03-19 23:04:47 -07:00
JoelKatz
03a72b3e08 Create lines databases. 2013-03-19 03:26:44 -07:00
Arthur Britto
81264b17b4 Fix -a --load (again). 2013-03-08 14:47:20 -08:00
JoelKatz
2fab33d5d7 Test was always true. 2013-03-07 18:10:38 -08:00
JoelKatz
7c3d732a08 Name load source. Hook up load sources through WSConnection->RPCHandler. 2013-03-07 18:07:34 -08:00
Arthur Britto
461c4a0b9f Allow --load to work with -a. 2013-03-07 13:02:06 -08:00
JoelKatz
ecb9e7db26 Enforce validation quorum. Default to quorum of 2 if started with --net. 2013-03-05 09:23:11 -08:00
JoelKatz
51db2d2cd7 Reprocess accepted ledgers once. Track metadata, transaction data, and affected accounts.
Process to SQL database and publish from this structure.
Include number of transactions in ledger publish info.
Publish transactions in applied order.
2013-03-04 13:59:53 -08:00
JoelKatz
51a85504a8 Startup and shutdown improvements. Performance improvements. 2013-03-03 02:09:19 -08:00
JoelKatz
25c52b1a4d Use getSLEi to get an immutable SLE. This lets us cache them. 2013-02-20 12:00:38 -08:00
JoelKatz
d767da37d8 Shamelessly stolen from the 'fastertest' patch.
This makes the unit tests run about 70% faster and solves a long-standing annoyance that
running in standalone mode could contaminate your databases.
2013-02-13 05:37:15 -08:00
JoelKatz
25109d7298 Fix a race condition that can cause a crash on startup. 2013-02-12 23:20:20 -08:00
JoelKatz
d4a2401c68 Change free space threshold to 512MB. 2013-02-07 19:25:51 -08:00
jed
1a4e0d6868 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-06 09:05:43 -08:00
JoelKatz
5aa810404b Track uptime. Update local fee schedule based on load manager. 2013-02-05 21:33:42 -08:00
jed
e8b17ef082 Merge branch 'book'
Conflicts:
	src/cpp/ripple/OrderBookDB.cpp
	src/cpp/ripple/OrderBookDB.h
	src/cpp/ripple/Pathfinder.cpp
2013-02-05 13:47:25 -08:00
JoelKatz
c6aac0f9af Fix a bug Arthur reported -- if you didn't configure for inbound connections,
outbound peer and secure websocket connections wouldn't work.
2013-02-03 23:03:14 -08:00
jed
62f6d030c6 still working 2013-01-31 10:59:19 -08:00
JoelKatz
687e3c2c11 Don't wait 20 seconds for the first sweep. For tiny nodes, that can be too long. 2013-01-31 00:02:15 -08:00
JoelKatz
faa344c7d0 Dispatch write ahead logging through our job queue. SQL logging improvements. 2013-01-28 14:32:52 -08:00
JoelKatz
e8ac00e1a3 Allow tunable node sizes to adjust cache sizes, sweep timing, fetch
timing, and so on. Node size defaults to "tiny", which converves
memory and bandwidth.
2013-01-27 13:55:59 -08:00
JoelKatz
802f357ff1 Tweaks to the AutoSocket code. 2013-01-24 15:25:14 -08:00
Arthur Britto
4982ffdf74 Add support for calling RPC command at startup from config file. 2013-01-16 15:05:44 -08:00
JoelKatz
61c07696a7 Stop a crash that can happen during shutdown. 2013-01-14 02:12:03 -08:00
JoelKatz
0d49bc877e Do WAL checkpointing in our own thread(s). 2013-01-11 18:45:16 -08:00
JoelKatz
376f214a70 Make it easier to insert code between when the server is setup and when it's started. 2013-01-09 23:55:39 -08:00
JoelKatz
fc1dc50afc Ledger load fixes.
Quick and dirty check for filesystme space.
2013-01-07 23:57:06 -08:00
JoelKatz
cc2588aba2 Make it possible to start from a specific chosen ledger. 2013-01-07 23:47:39 -08:00
JoelKatz
6624e31d5a Clean up old acquires. 2013-01-07 08:57:20 -08:00
Arthur Britto
5f38aed8a0 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-21 13:49:54 -08:00
Arthur Britto
401e7e3744 Whitespace. 2012-12-21 13:49:45 -08:00
JoelKatz
34456b019c Cleanup thread creation. 2012-12-21 12:10:26 -08:00