Commit Graph

98 Commits

Author SHA1 Message Date
JoelKatz
fc217f00b8 Log level test was backwards. 2012-10-28 18:36:09 -07:00
JoelKatz
855ae419ac Logging still wasn't quite right. 2012-10-26 15:09:07 -07:00
Arthur Britto
249725b66b Rename NewcoinAddress to RippleAddress. 2012-10-25 18:31:20 -07:00
JoelKatz
ef40099649 Major updates to the ledger tracking system. 2012-10-25 01:50:07 -07:00
JoelKatz
806a025523 Small bugfixes. 2012-10-24 12:56:49 -07:00
JoelKatz
ab5afd223e Clean up some klogging annoyances. 2012-10-24 12:26:50 -07:00
JoelKatz
8705d0258d Add a "full history" mode that causes the node to try to keep full history
going back to the genesis ledger. Not fully implemented yet.
2012-10-22 10:31:07 -07:00
JoelKatz
5bc0838d2a Make the standard output loglevel low even if the debug file loglevel is high. 2012-10-22 09:22:32 -07:00
JoelKatz
bd2b4daae4 If a debug logfile is set, don't suppress INFO/DEBUG logging. 2012-10-19 12:33:11 -07:00
JoelKatz
debe1b4741 Check ledger sanity. 2012-10-15 04:13:26 -07:00
JoelKatz
65395ea971 Add some sanity checks. 2012-10-15 03:48:45 -07:00
JoelKatz
032ce72d00 Improve logging. Walk the initial ledger. 2012-10-14 21:32:52 -07:00
Arthur Britto
edabc770aa Cosmetic. 2012-10-12 15:08:56 -07:00
JoelKatz
2a13b9b7db Fix the '--load' logic. 2012-10-11 07:03:21 -07:00
JoelKatz
c43934ab6f Fix lots of places I used 'empty' instead of 'clear'. This is why I like 'isEmpty'. 2012-10-11 05:06:24 -07:00
JoelKatz
1448eb1a5c '--net' startup option to require the node to get its ledger from the network.
Once we have a stable network, this will likely be the default.
2012-10-10 01:40:02 -07:00
JoelKatz
7fba10da4e Create a new open ledger based on the last closed ledger from the DB.
Ledgers loaded from DB are always immutable.
2012-10-09 11:09:02 -07:00
jed
daedc85cdd . 2012-10-09 05:01:03 -07:00
jed
573865cb23 allow you to load old ledger 2012-10-09 03:01:32 -07:00
Arthur Britto
c74cb38e09 Do not do SNTP in standalone mode. 2012-09-28 17:46:32 -07:00
JoelKatz
73c5b6addb There's a proper way to workaround the silliness, io_service::work 2012-09-18 13:21:07 -07:00
JoelKatz
d28bb9f771 Ugly workaround for Boost I/O service weirdness. I/O service unconditionally
terminates if it has no work to do and cannot be used to wait around for
'post' calls.
2012-09-18 12:23:14 -07:00
JoelKatz
f63d9df60b Ledger idle timing fixes. 2012-08-29 23:38:35 -07:00
JoelKatz
e473ce8424 Support "standalone" mode (-a or --standalone) in which we do not connect
to the network and do not close ledgers. This mode makes it much easier to
test transactions as they are only applied once to the open ledger.
2012-08-14 15:35:30 -07:00
JoelKatz
3dcdc3b94a Fire up the aux thread earlier. 2012-08-14 01:51:17 -07:00
JoelKatz
be17a3866f Fix the race condition bug Jed reported. A time jump on startup could cause
an apparently overly-long (or even negative) ledger interval. The fix is to
start up time synch earlier and to tolerate slight negative ledger intervals.
2012-08-08 14:22:03 -07:00
JoelKatz
6bd7738303 Make time errors a thing of the past. 2012-08-05 00:19:41 -07:00
JoelKatz
ee01b55874 An SNTP client implementation. About 95% complete right now. 2012-08-04 21:33:05 -07:00
JoelKatz
d83d8080fd Efficiently save validations. 2012-07-17 03:10:05 -07:00
JoelKatz
d9d1d72556 Bugfix. Don't use rounded ledger timing to decide when to close an idle ledger. 2012-07-16 00:06:00 -07:00
JoelKatz
53594f126f Bugfixes. 2012-07-14 02:14:50 -07:00
JoelKatz
7957efbf48 Typo. 2012-07-14 00:18:14 -07:00
JoelKatz
5a660d1f04 Bugfixes. 2012-07-14 00:17:41 -07:00
JoelKatz
182228b6f9 Infrastructure for continuous ledger close. 2012-06-30 16:58:05 -07:00
Arthur Britto
0bcbb5bd75 Move RPC data_* commands data to db/rpc.db. 2012-06-26 03:39:15 -07:00
JoelKatz
324992b2ad Bugfixes. 2012-06-24 06:31:03 -07:00
JoelKatz
748461ddc2 Make the hashed object write code not block on an SQL write. Make bulk updates efficient. 2012-06-24 04:53:31 -07:00
JoelKatz
5c41a41e4b Enforce some sanity on the HashedObject code. 2012-06-23 20:16:42 -07:00
Arthur Britto
408fe7400d Integrate websocket door into Application. 2012-06-22 00:29:27 -07:00
JoelKatz
f17f4dc305 Halve no-DB startup time. 2012-06-20 02:54:19 -07:00
JoelKatz
a1523fcb06 Fix log chattiness. Add a new configuration parameter "debug_logfile" 2012-06-18 20:05:12 -07:00
Arthur Britto
d6ca0389c9 Make UNL bootstrapping more robust. 2012-06-16 12:18:02 -07:00
Arthur Britto
f774baefeb Change RPC unl_default to unl_load & unl_network and add UNL bootstrapping. 2012-06-16 11:46:17 -07:00
Arthur Britto
a67756703c Get rid of more references to boost trivial. 2012-06-14 09:29:55 -07:00
Arthur Britto
617bd47d07 Get rid of word Family from NewcoinAddress routines. 2012-06-13 23:46:00 -07:00
Arthur Britto
8264fc1d1a Remove references to LOG_TRIVIAL. 2012-06-13 23:35:45 -07:00
Arthur Britto
f000947bc7 Clean up creating seed from string. 2012-06-13 17:50:44 -07:00
Arthur Britto
fff4e87090 Merge branch 'vfixes' 2012-06-13 11:57:08 -07:00
Arthur Britto
e46149819d Remove use of deprecated crypto code. 2012-06-13 11:56:01 -07:00
jed
e6464e2832 more work on your peer list 2012-06-13 09:57:08 -07:00