Commit Graph

37 Commits

Author SHA1 Message Date
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
Arthur Britto
8f35b78651 Exit with code 3 if network port is in use. 2012-12-20 23:19:20 -08:00
JoelKatz
4fb2220891 New fee stuff.
CAUTION: Code is currently in an untested state.
2012-12-20 13:02:05 -08:00
JoelKatz
0106365098 Improve log level selection from command line. Some extra shutdown logging. 2012-12-20 09:27:50 -08:00
JoelKatz
038adf2a34 Mark two FIXMEs in code that handles fees wrongly. Work on doing fees correctly. 2012-12-17 18:09:47 -08:00
JoelKatz
1d2bb868b6 Remove RAND_bytes calls. 2012-12-06 10:55:56 -08:00
Arthur Britto
17b2506cd7 Work toward RPC refactor and do not print to cout. 2012-12-01 17:59:35 -08:00
JoelKatz
fe24387f91 Fix. 2012-11-29 18:41:24 -08:00
JoelKatz
4cae3dca7b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-29 18:40:16 -08:00
JoelKatz
4f58ab14b0 Don't break the unit tests by slowing shutdown. 2012-11-29 18:40:01 -08:00
jed
0865c99cee windows 2012-11-29 18:28:49 -08:00
JoelKatz
6d858ab178 Get rid of "full history". You can now configure how many back ledgers you want to retrieve
on startup. The default is 256. The configuration element is "ledger_history". Valid values are:
0/off/false/none = don't retrieve any history
on/full/yes/-1 = retrieve all history back to the genesis ledger
<number> = retrieve that number of past ledgers
2012-11-29 11:33:33 -08:00
JoelKatz
5cf15b3f4e Shutdown cleanly on control-C. 2012-11-28 20:49:07 -08:00
jed
89f02efc16 option to return date of transaction in the JSON 2012-11-23 17:58:48 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00