Commit Graph

76 Commits

Author SHA1 Message Date
JoelKatz
dada8eb7de LevelDB import speedups. 2013-05-08 11:38:59 -07:00
JoelKatz
1a238c03fe Bugfix. 2013-05-08 10:52:53 -07:00
JoelKatz
e086fa5a5d Allow LevelDB and SQLite to co-exist in the build and have the backing
store for hashed nodes selectable in the config.
2013-05-07 15:04:23 -07:00
JoelKatz
1938a30c67 LevelDB import operation. 2013-05-04 01:22:17 -07:00
JoelKatz
651a9c2591 Make it compile. 2013-04-30 17:31:24 -07:00
JoelKatz
d9f603f87b Use a bloom filter on suitably sized nodes. 2013-04-30 17:28:35 -07:00
JoelKatz
09c37874a2 More change process work. 2013-04-26 23:14:40 -07:00
JoelKatz
d8d87ff207 LevelDB fixes. 2013-04-25 18:44:02 -07:00
JoelKatz
4e579ff3fc Make sure the LevelDB is cleanly shutdown. 2013-04-25 18:25:15 -07:00
JoelKatz
f47454f263 Finish it. 2013-04-25 17:37:40 -07:00
JoelKatz
35ad8d4c6f Add LevelDB support for hash nodes. We really need to cut over, the reduction in
I/O and CPU use is dramatic.
2013-04-25 17:32:12 -07:00
JoelKatz
a9a3d742e2 Change default fee vote to 50/12.5 2013-04-24 08:50:45 -07:00
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