Commit Graph

6024 Commits

Author SHA1 Message Date
JoelKatz
8b94a15c54 Coerce round to zero was broken due to a bad sign. 2013-04-17 23:17:12 -07:00
JoelKatz
6bdb26d5d4 Reduce logging in OfferCreateTransactor. 2013-04-17 22:27:40 -07:00
JoelKatz
d7ac3cf5cf Remove an assert that can false trigger. 2013-04-17 15:49:18 -07:00
JoelKatz
395a36a47f Remove an assert that can false trigger. 2013-04-17 15:48:57 -07:00
JoelKatz
b2fdee7bb9 Fix a deadlock reported by cn_smi between the PeerSet lock and the master lock. 2013-04-17 13:12:30 -07:00
JoelKatz
bade087b4e Fix a deadlock reported by cn_smi between the PeerSet lock and the master lock. 2013-04-17 13:06:41 -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
a8fa6c595a The next part of the reserve/fee change code. 2013-04-17 08:37:25 -07:00
Arthur Britto
805862f719 Fix calcNodeRipple to use correct rate. 2013-04-17 02:28:07 -07:00
Arthur Britto
48c310c110 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-17 02:19:25 -07:00
Arthur Britto
7d3517c197 Fix calcNodeRipple to use correct rate. 2013-04-17 02:19:13 -07:00
JoelKatz
f17a6859e0 Simplify and improve the WAL code. 2013-04-17 00:07:07 -07:00
JoelKatz
eb957cc662 Simplify and improve the WAL code. 2013-04-17 00:06:37 -07:00
JoelKatz
ee393aef36 Stop processing on dead connections ASAP 2013-04-16 20:48:22 -07:00
JoelKatz
c15de1db76 Aggregate client load into a queue. This will prevent large numbers of commands
from a single client from flooding the job queue.
2013-04-16 20:48:17 -07:00
JoelKatz
11306ff061 Tiny cleanup. 2013-04-16 20:48:00 -07:00
JoelKatz
7f7bda9742 Stop processing on dead connections ASAP 2013-04-16 20:45:48 -07:00
JoelKatz
5c89093e5f Aggregate client load into a queue. This will prevent large numbers of commands
from a single client from flooding the job queue.
2013-04-16 17:28:53 -07:00
JoelKatz
531dad6cfc Merge fixes. 2013-04-16 12:01:25 -07:00
JoelKatz
1e09e89c28 Small fixes. 2013-04-16 11:57:43 -07:00
JoelKatz
71c15310d9 Small fix. 2013-04-16 11:57:02 -07:00
JoelKatz
09e4f6a4fe Merge fixes. 2013-04-16 11:53:50 -07:00
JoelKatz
644d97a332 Add a getLedgerNext that takes into account changes in the LES.
Conflicts:
	src/cpp/ripple/RippleCalc.cpp
2013-04-16 11:45:04 -07:00
JoelKatz
aa984592ca Avoid assert. 2013-04-16 11:43:37 -07:00
JoelKatz
bdf1ed2584 Add a getLedgerNext that takes into account changes in the LES. 2013-04-16 11:42:04 -07:00
JoelKatz
148b5b42a5 Transactor for change/fee. 2013-04-16 11:16:52 -07:00
JoelKatz
efb3c24518 Change/Fee transactor. 2013-04-15 22:59:16 -07:00
JoelKatz
8ed0d107fd Allow administrators to submit transactions that don't meet the local load fee. 2013-04-15 17:14:20 -07:00
JoelKatz
61efda89a5 This keeps the two timing schemes compatible. 2013-04-15 14:38:49 -07:00
JoelKatz
9feb97e530 Timing change to avoid allowing a server to race ahead of the
majority of validators. Enforce minimum ledger open time which
is extended if there are too few validations.
2013-04-15 14:38:44 -07:00
JoelKatz
0c1c14f49a This keeps the two timing schemes compatible. 2013-04-15 09:57:10 -07:00
JoelKatz
0bc9c0b737 Timing change to avoid allowing a server to race ahead of the
majority of validators. Enforce minimum ledger open time which
is extended if there are too few validations.
2013-04-15 09:50:23 -07:00
JoelKatz
a68acc92bc Merge branch 'master' of github.com:jedmccaleb/NewCoin into cherry 2013-04-15 07:15:21 -07:00
JoelKatz
b7eccd1dce Reset mLedger if request is invalid to ensure that findPaths fails. 2013-04-15 07:14:48 -07:00
JoelKatz
8d6de40e52 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-15 05:45:33 -07:00
JoelKatz
7f82b95dbd Don't send a zero amount. 2013-04-15 05:45:11 -07:00
JoelKatz
a12d2648fc Don't send a zero amount. 2013-04-15 05:44:35 -07:00
Arthur Britto
ec081cd2dc Make RPC account_lines support specify the peer account. 2013-04-14 23:15:58 -07:00
Arthur Britto
f102097ef3 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-14 22:38:52 -07:00
Arthur Britto
0f2d889987 Cache RippleAddress validity. 2013-04-14 22:38:37 -07:00
JoelKatz
17cc6edc2b Bump to version 3.7.16.2 2013-04-14 05:18:13 -07:00
JoelKatz
fe2b838d49 Make the code match the comment. 2013-04-14 04:38:46 -07:00
JoelKatz
f30ce4171a Don't count forced issuer nodes after exchanges because we didn't have to find them.
Drop the default maximum path length to four because exchanges to non-XRP aren't overcounted.
2013-04-14 04:37:32 -07:00
JoelKatz
1ca88a8a14 Don't explore paths if we don't have enough path length left to use them. 2013-04-14 04:37:26 -07:00
JoelKatz
d69bccc797 Misuse of scoped lock. 2013-04-14 04:35:58 -07:00
JoelKatz
7d97f314f1 Remove mLedger from PathState. It's not used and it's scary (because an LES could amend it). 2013-04-14 04:35:34 -07:00
JoelKatz
298a29ebc6 Some extra assert's and stricter checks. 2013-04-14 03:17:00 -07:00
JoelKatz
632ce3d8bd Use isSet rather than isValid to avoid needless crypto operations. 2013-04-14 03:16:42 -07:00
JoelKatz
f561acd4c8 add 'isSet' to tell if a RippleAddress is non-empty. 2013-04-14 03:16:27 -07:00
JoelKatz
1058df99ea Reject objects with duplicate keys. 2013-04-13 21:53:35 -07:00