Commit Graph

1647 Commits

Author SHA1 Message Date
Arthur Britto
c540b2a8a6 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-15 15:00:09 -07:00
Arthur Britto
f4714736cb Fixes for path checkpointing and expansion. 2012-08-15 14:59:55 -07:00
jed
c18302e089 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-15 10:35:26 -07:00
jed
4f285dc603 add RippleLines 2012-08-15 10:35:12 -07:00
JoelKatz
abf41dd4de Fix a large number of cases where we copy construct a shared_ptr just to destroy it. 2012-08-15 04:01:22 -07:00
JoelKatz
11f7012d09 Fix a bug where tx set acquire timeouts never occured.
Run acquire timeouts in milliseconds rather than seconds.
2012-08-15 01:20:14 -07:00
Arthur Britto
8ef27615dc Add getJson to PathState. 2012-08-14 18:18:15 -07:00
Arthur Britto
872314f933 Remove more Account from AccountStateNode and LedgerEntrySet revision. 2012-08-14 17:17:28 -07:00
Arthur Britto
44053a4afc Merge branch 'master' into ripple 2012-08-14 16:10:17 -07:00
Arthur Britto
64d6f16068 Minor cleanup. 2012-08-14 16:04:39 -07:00
JoelKatz
d3bce70e86 Remove Config::init. It's not needed. 2012-08-14 16:00:03 -07:00
JoelKatz
36fb085114 Make this more readable. 2012-08-14 15:59:25 -07:00
Arthur Britto
5ddbf968bf Remove Account field from AccountRootNode. 2012-08-14 15:50:35 -07:00
JoelKatz
89c7c26c2f Oops. 2012-08-14 15:36:50 -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
jed
463a2abc9b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-14 14:19:59 -07:00
jed
6044e49994 . 2012-08-14 14:19:44 -07:00
Arthur Britto
07f5bf2612 Enforce SendMax restrictions in transaction engine. 2012-08-14 13:31:46 -07:00
Arthur Britto
11f02ba798 Ignore create flag on payments if account already created. 2012-08-14 13:17:59 -07:00
JoelKatz
4b2ae556bd Downgrade a timing issue from fatal to warning. 2012-08-14 01:51:46 -07:00
JoelKatz
046c539d49 Mark a parameter as unused. 2012-08-14 01:51:35 -07:00
JoelKatz
3dcdc3b94a Fire up the aux thread earlier. 2012-08-14 01:51:17 -07:00
JoelKatz
04427b4ad0 Cleanups. 2012-08-13 23:15:50 -07:00
JoelKatz
227754496e Fix what is probably *the* bug. We aren't usually in our own UNL, so we
specially mark our validations trusted. But that wasn't properly taken into
account in one case where we decide if a validation is current. This causes
two nodes to each not recognize their own validations, so they tend to
exchange ledgers.

Cleanups, extra logging.
2012-08-13 23:14:39 -07:00
JoelKatz
5eca52497f Improve close time synch with no transactions 2012-08-13 23:13:12 -07:00
JoelKatz
6788105b2c Chatty debug. 2012-08-13 23:13:01 -07:00
JoelKatz
22237e58ab Check for network condition during idle time. Switch LCL if needed. 2012-08-13 22:27:29 -07:00
JoelKatz
8068e5fbb9 Remove chatty debug. 2012-08-13 22:27:20 -07:00
JoelKatz
ba6e65214b Log whether a ledger is alive or dead when considering it as LCL. 2012-08-13 19:23:49 -07:00
JoelKatz
d1547998d7 Change LEDGER_MAX_INTERVAL to LEDGER_VAL_INTERVAL to more accurately reflect what it now does.
Turn this interval way up to ensure we can't lose synch (due to validations seeming too old)
if time resolution drops drastically.
2012-08-13 17:55:55 -07:00
JoelKatz
524e89f4e1 Timing cleanups. 2012-08-13 17:35:20 -07:00
JoelKatz
e3b6ec5080 Don't call newLCL more than once. 2012-08-13 17:18:58 -07:00
JoelKatz
4aea8c8dfb Use fat root semantics when acquire transaction sets. This might save a pass. 2012-08-13 17:11:15 -07:00
JoelKatz
a7f192c989 Cleanups. 2012-08-13 17:11:00 -07:00
JoelKatz
ae6c724f54 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-13 17:10:59 -07:00
JoelKatz
88e938ec50 Change TXS acquire timeout. 2012-08-13 17:10:51 -07:00
Arthur Britto
02adbfc953 Merge branch 'ripple' 2012-08-13 17:06:43 -07:00
Arthur Britto
9e41cac0da Add RPC ripple command and improve wallet_propose. 2012-08-13 17:05:35 -07:00
JoelKatz
0f51774f58 Some paranoid extra checks. 2012-08-13 15:10:38 -07:00
JoelKatz
99a3d83330 Indent fix. 2012-08-13 14:56:08 -07:00
JoelKatz
d554950efe One more drop of extra debug. 2012-08-13 14:35:47 -07:00
JoelKatz
d3daa2fc00 Extra debug to help rule out the possibility that our ledgers are diverging after we are in sync. 2012-08-13 04:53:50 -07:00
JoelKatz
c5acd0f630 Cleanups. 2012-08-13 03:10:43 -07:00
JoelKatz
eaf0ffa08f Possible fix for a bug Jed reported. 2012-08-13 03:10:29 -07:00
JoelKatz
3e72880c2f Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-13 02:19:42 -07:00
JoelKatz
e0aa5f287f Some asserts to help track down a bug (that seems impossible) that Jed reported. 2012-08-13 02:19:18 -07:00
Arthur Britto
05304cc1fc More work towards ripple backend. 2012-08-11 14:39:58 -07:00
Arthur Britto
2f3f51b0ee Merge branch 'master' into ripple
Conflicts:
	src/LedgerEntrySet.cpp
2012-08-10 13:15:34 -07:00
Arthur Britto
622066f7e3 Work towards ripple backend. 2012-08-10 12:58:59 -07:00
JoelKatz
5b431ea4f6 Fix the bug Jed reported where our second closed ledger has a close time in the past which
crashes the CLC timing code.
2012-08-10 10:51:35 -07:00