Commit Graph

2351 Commits

Author SHA1 Message Date
JoelKatz
b44ef50039 Small bugfixes and logging improvements. 2012-10-24 12:27:45 -07:00
JoelKatz
2aec337c1b Modernize logging. 2012-10-24 12:27:22 -07:00
JoelKatz
bdc6e9b854 Wrong header file. 2012-10-24 12:27:06 -07:00
JoelKatz
ab5afd223e Clean up some klogging annoyances. 2012-10-24 12:26:50 -07:00
JoelKatz
60fb930546 Wrong header file included. 2012-10-24 12:23:09 -07:00
JoelKatz
23263c9a21 Ledger::getLastFullLedger shouldn't throw. 2012-10-24 12:13:18 -07:00
JoelKatz
a850632216 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-24 11:17:29 -07:00
JoelKatz
853136b2a5 Trigger the history acquire code under the correct conditions.
Advance the "last full ledger" tracking correctly.
2012-10-24 11:17:00 -07:00
Stefan Thomas
4ce45098de Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-24 17:09:12 +02:00
Stefan Thomas
d1d231193d Handle exceptions caused by invalid transactions. 2012-10-24 17:08:23 +02:00
JoelKatz
0ac4185ff9 Update to support accepting ledgers acquired during the history fill. 2012-10-24 07:26:05 -07:00
JoelKatz
5684a8e233 LedgerAcquireSet code to acquire a set of ledgers to restore a chain. 2012-10-23 17:03:38 -07:00
Arthur Britto
b7a40435b8 Document future direction of Transaction. 2012-10-23 12:48:09 -07:00
JoelKatz
6da5d508a7 Improve the warning messages when STObject::setType fails. 2012-10-23 11:49:16 -07:00
JoelKatz
61de7a9746 Clean up this unit test. 2012-10-23 11:23:09 -07:00
JoelKatz
bb4cc37e58 Remove chatty debug. 2012-10-23 11:22:56 -07:00
JoelKatz
756e628f93 Add an STObject::operator== that is sensible. 2012-10-23 11:22:37 -07:00
JoelKatz
67c87a9d13 Add a few test vectors. 2012-10-23 11:05:17 -07:00
Stefan Thomas
1a20295e16 Remove tx invalid assertion - exception should be enough.
Jed's words, not mine. ;)
2012-10-23 17:56:36 +02:00
JoelKatz
39303e3998 Some extra LedgerAcquire helper functions. 2012-10-22 14:01:17 -07:00
JoelKatz
2f2f09b4fc Reduce debug. 2012-10-22 14:01:06 -07:00
JoelKatz
c08db57b2b Ledger reply error support. 2012-10-22 12:27:30 -07:00
JoelKatz
9326074324 Second phase of removing old-style ledger data queries -- always give new
style replies.
2012-10-22 12:26:51 -07:00
JoelKatz
766bc8377f Lots of small cleanups. 2012-10-22 11:49:17 -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
e2e7eca1f1 Fix a small bug in the ledger tiebreak algorithm based on nodes using. 2012-10-22 10:30:42 -07:00
JoelKatz
2c2a2866a3 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-22 09:22:53 -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
jed
0d2e1252e1 changes to tx_history 2012-10-21 21:06:46 -07:00
jed
7fb75174fc added tx_history RPC 2012-10-21 19:21:08 -07:00
jed
51856f218f . 2012-10-20 16:51:38 -07:00
jed
366f2ebceb Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-20 16:42:48 -07:00
JoelKatz
4b2b75b367 Fix the bug Andrey reported. A reference into an array can become invalid if
the array changes size. This happened in the txn metadata code when we had
to thread while handling a node.
2012-10-20 12:52:25 -07:00
JoelKatz
7b8e445456 Some extra constructors. 2012-10-20 12:52:20 -07:00
JoelKatz
d2005a718c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-20 12:20:54 -07:00
JoelKatz
cc94abf891 Some cleanups. 2012-10-20 12:20:47 -07:00
jed
8cfb15e741 . 2012-10-20 07:00:36 -07:00
jed
4c052851f1 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	validators.txt
2012-10-19 21:57:11 -07:00
Arthur Britto
60635b45e2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-10-19 21:17:12 -07:00
Arthur Britto
c3ebbf1f77 Cosmetic. 2012-10-19 21:17:03 -07:00
Arthur Britto
2ada16e222 Change OfferCancel to succeed if offer not found. 2012-10-19 21:14:23 -07:00
JoelKatz
90d061529b Tiny fix. 2012-10-19 16:50:14 -07:00
JoelKatz
a98aa82f3a Fix some broken logic in the way we detect when other nodes have declared consensus. 2012-10-19 16:49:56 -07:00
JoelKatz
aa4a1b5994 Simplifications. 2012-10-19 16:49:47 -07:00
JoelKatz
81170d7811 Logging improvements. 2012-10-19 16:37:39 -07:00
JoelKatz
7ee9a20f40 Some logging cleanups. 2012-10-19 14:30:09 -07:00
JoelKatz
d3e91345c9 Begin cleaning up the handling of ledger changes during the consensus window. 2012-10-19 14:24:32 -07:00
JoelKatz
887a87081f Move to new logging. 2012-10-19 12:51:06 -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
ec0376533f Change "logseverity" command to "log_level". 2012-10-19 12:28:12 -07:00