Commit Graph

2163 Commits

Author SHA1 Message Date
JoelKatz
6b144f8749 Quick fix to the bug causing crashes.
Will rethink shortly to make sure it's correct, but this should be adequate.
2012-08-29 17:33:37 -07:00
JoelKatz
774110eef9 Fix a bug that could cause an idle ledger to spend insufficient time
establishing a consensus.
2012-08-29 16:01:30 -07:00
JoelKatz
ed709e0ccc Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-29 14:40:00 -07:00
JoelKatz
5db8082608 Small bugfixes. 2012-08-29 14:39:43 -07:00
Arthur Britto
dacc4a7286 Merge branch 'ripple' 2012-08-29 12:38:35 -07:00
Arthur Britto
7967b4ec11 Improve error handling for transaction engine path creation. 2012-08-29 12:38:24 -07:00
Arthur Britto
4ae4807c16 Merge branch 'ripple'
Conflicts:
	src/LedgerConsensus.cpp
2012-08-29 12:00:29 -07:00
Arthur Britto
aec95e3a0f Merge branch 'ripple' of github.com:jedmccaleb/NewCoin into ripple 2012-08-29 11:58:57 -07:00
Arthur Britto
d96070f083 Rename TransactionEngineResult to TER & work on ripple. 2012-08-29 11:58:34 -07:00
JoelKatz
45329b8d08 Remove some dead code. 2012-08-29 00:09:28 -07:00
JoelKatz
af5c04b816 Some extra debug. 2012-08-29 00:03:30 -07:00
JoelKatz
004f3719a5 Perhaps a fix for the problem. Try to make sure there's no window in which
we can receive a proposal and be unable to act on it, even if our clock is
way off and there are no transactions.

The basic problem is this: With no transactions and no clock
synchronization, we have no way to know when to close an idle ledger.
2012-08-28 23:44:29 -07:00
JoelKatz
54eca8a3bb Whitespace fix. 2012-08-28 23:44:19 -07:00
JoelKatz
e4f7ffe995 Some cleanups that should make Arthur happy. 2012-08-28 16:07:44 -07:00
JoelKatz
192c64461d Simplify and improve performance a bit. 2012-08-28 15:35:47 -07:00
JoelKatz
7bf224200b This is not only simpler, but should perform slightly better too. 2012-08-28 15:31:41 -07:00
JoelKatz
fccbe7db8d Merge branch 'ripple' of github.com:jedmccaleb/NewCoin into ripple 2012-08-28 13:35:26 -07:00
JoelKatz
fd62f72c6e Merge branch 'ripple' of github.com:jedmccaleb/NewCoin 2012-08-28 13:32:31 -07:00
Arthur Britto
354c33f71a Work toward ripple loop detection and offer deletion. 2012-08-28 13:27:54 -07:00
JoelKatz
bcd08c368c This should complete the code to build the transaction meta data based on
the ledger entry set.
2012-08-28 04:05:19 -07:00
Arthur Britto
0d8ad928f6 Simplify clean up for takeOffers. 2012-08-27 13:20:47 -07:00
Arthur Britto
344f551c39 Merge branch 'ripple' 2012-08-27 13:16:03 -07:00
Arthur Britto
421841b209 Fix offer creation to support threading. 2012-08-27 13:15:04 -07:00
Arthur Britto
e02e785a72 Work on transaction engine offer deleting. 2012-08-27 12:22:03 -07:00
JoelKatz
9148127083 Fix threading. 2012-08-27 03:04:33 -07:00
Arthur Britto
bb7f692a76 Rework transaction engine result codes. 2012-08-26 20:38:35 -07:00
Arthur Britto
3fd5e10390 More ripple engine fixes. 2012-08-25 18:03:05 -07:00
Arthur Britto
cf450106c4 Require issuer when specifying currency when creating STAmount. 2012-08-25 14:49:45 -07:00
Arthur Britto
0cb14e4e8a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-08-24 20:18:27 -07:00
Arthur Britto
ba45778a08 Fixes for ripple quality in transaction engine. 2012-08-24 20:18:07 -07:00
Arthur Britto
59cf548953 Add issuer support to RPC send commend. 2012-08-24 20:17:46 -07:00
JoelKatz
4633aa019c Mid-level threading code. 2012-08-24 09:35:35 -07:00
JoelKatz
82c3a49e26 Missing newlins. 2012-08-24 09:35:26 -07:00
JoelKatz
db873ff9f5 Functions for owned nodes (nodes that have a single other node that owns
them) and dual-owner nodes (nodes that have two other nodes that own them).
Owned nodes would be things like nicknames. Dual-owner nodes would be things
like ripple balances.
2012-08-24 09:32:58 -07:00
Arthur Britto
e6511732c7 Fix compiler warnings. 2012-08-23 22:31:14 -07:00
Arthur Britto
0f51eb8ccf Merge branch 'ripple' 2012-08-23 20:23:06 -07:00
Arthur Britto
4bacf99977 Use issuer from send and send_max when building paths in transaction engine. 2012-08-23 16:23:56 -07:00
Arthur Britto
068b237784 Change order book for issuer in STAmount. 2012-08-23 14:59:03 -07:00
Arthur Britto
78462beb59 Merge branch 'ripple' 2012-08-23 14:55:21 -07:00
Arthur Britto
e4b8d874e7 Encode issuer in STAmount. Breaking protocol and db version change. 2012-08-23 14:55:03 -07:00
jed
27490e1f0b pathfinding 2012-08-23 14:01:39 -07:00
Arthur Britto
acb4502a04 Work toward rippling through offers. 2012-08-23 13:26:53 -07:00
Arthur Britto
cedb9d08fa Add Account field back to AccountRoot nodes. 2012-08-22 16:24:05 -07:00
JoelKatz
e00426a3be Finalizing of metadata building. 2012-08-22 14:56:01 -07:00
JoelKatz
c120a4cada Fix thread. New constructor. 2012-08-22 08:03:29 -07:00
JoelKatz
962e9f0180 Type comparison is handled in higher-level code and not needed at the bottom. 2012-08-22 05:17:23 -07:00
JoelKatz
c2a3d5b468 compare and duplicate should both be private. 2012-08-22 05:17:10 -07:00
JoelKatz
a8316fac26 Missing from previous commits. 2012-08-22 04:55:10 -07:00
JoelKatz
a3e3318943 Silence a warning. 2012-08-22 04:55:01 -07:00
JoelKatz
f9e1ee033b TxMeta rewrite. 2012-08-21 08:16:10 -07:00