Commit Graph

2246 Commits

Author SHA1 Message Date
JoelKatz
2da2b340fc Make it compile. 2012-09-05 21:55:20 -07:00
JoelKatz
687578abd9 Get rid of "dead" ledgers. We don't need them any more and they make trouble.
Fix close time synch to be more accurate.
2012-09-05 21:55:00 -07:00
jed
8e5374b338 contract stuff. Still aways a way I just wanted to get it in github. 2012-09-05 16:54:14 -07:00
jed
a61b5e98fe Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-09-05 15:56:29 -07:00
jed
0d40390e6b contract 2012-09-05 15:33:48 -07:00
JoelKatz
2512eac370 Rounding was messing up the close time consensus test. 2012-09-05 14:52:55 -07:00
JoelKatz
ec625a608f Small tweaks. 2012-09-05 14:37:42 -07:00
JoelKatz
0b67ad7858 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-09-05 14:37:09 -07:00
JoelKatz
159fe2145a Copy the correct hash 2012-09-05 14:36:50 -07:00
Arthur Britto
34101d0a7a Merge branch 'ripple' 2012-09-05 14:19:25 -07:00
Arthur Britto
986fd52f19 Get indirect ripple working again. 2012-09-05 14:18:58 -07:00
JoelKatz
7a300f6c7b Fix deadlock. 2012-09-05 10:18:23 -07:00
JoelKatz
1dfdf8e9d8 Count a validation for its previous ledger if it's during consensus time. 2012-09-05 10:05:15 -07:00
JoelKatz
7785b89b5d Some extra debugging. Don't jump back to the ledger we just left (yeah,
there was another way that could happen.)
2012-09-05 07:22:04 -07:00
jed
6c7fadf479 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-09-05 07:12:19 -07:00
jed
090e7c6064 start contracts 2012-09-05 07:12:00 -07:00
Arthur Britto
1c963cc1a0 Merge branch 'master' into ripple 2012-09-04 16:16:13 -07:00
Arthur Britto
829b57173f Restruct reverse ripple through offers. 2012-09-04 15:40:53 -07:00
JoelKatz
00199d3915 An imperfect fix for the case where we get validations during the consensus process for the next ledger and
think it's a change in the previous ledger.
2012-09-03 20:36:51 -07:00
JoelKatz
cfedc4b981 Bugfix. 2012-09-03 20:29:59 -07:00
JoelKatz
4930ebb945 Simplify the way we handle validations. Include a signing time instead of a
closing time. Keep only the validation with the most recent signing time.
Sign using network time. This eliminates the ValidationPair nightmare and
makes the logic must easier to understand, increasing confidence that it
does what it's supposed to do.
2012-09-03 20:13:57 -07:00
Arthur Britto
9a5d23d5d4 Cosmetic. 2012-09-03 14:43:16 -07:00
Arthur Britto
dda279e5a6 Remove remaining support for redeem and issue flags. 2012-09-03 14:37:00 -07:00
Arthur Britto
74392e5929 Provide seperate ledger entry to state to ripple reverse. 2012-09-03 14:28:45 -07:00
Arthur Britto
8910a3e14b Implement quality limit for ripple. 2012-09-03 14:15:31 -07:00
Arthur Britto
61831eaa3c Obsolete redeem and issue flag support from ripple paths. 2012-09-03 13:57:01 -07:00
JoelKatz
0862ed2957 Don't get stuck in consensus process. 2012-09-03 10:14:25 -07:00
JoelKatz
f4dad6fe3c Timestamps were expiring too soon. 2012-09-03 09:54:27 -07:00
JoelKatz
1891cf0654 Improve error message. 2012-09-03 09:50:25 -07:00
JoelKatz
ee78114033 Convenience type. 2012-09-03 09:47:14 -07:00
JoelKatz
7eef087d53 Typo. 2012-09-03 09:47:03 -07:00
JoelKatz
c598b25b87 Remove annoying debug. 2012-09-03 09:46:49 -07:00
JoelKatz
203533db3d Remove chatty debug. 2012-09-03 09:46:35 -07:00
JoelKatz
0149c3948b Ack! Test for stale proposals was backwards. 2012-09-03 08:50:28 -07:00
JoelKatz
46f6110cdd Small cleanup. 2012-09-03 08:40:10 -07:00
JoelKatz
df1e5ab95a Cleanup.
Fix a bug when we incompletely remove a vote on a disputed transaction.
2012-09-03 08:35:53 -07:00
JoelKatz
b4548760df New-style proposal support. 2012-09-03 06:03:45 -07:00
JoelKatz
cc4827559c Support for proposals that contain the previous ledger hash.
A fix for ledger acquires not stopping when they should.
2012-09-03 06:03:09 -07:00
JoelKatz
7d6259d8b3 Whitespace fix. 2012-09-03 06:02:42 -07:00
JoelKatz
4f598af582 Change 'shouldClose' to return a bool.
Clear structures on LCL view change during consensus window.
Cleaner calculation of 'rounded' close times.
Maintain close time offset.
2012-09-03 05:16:32 -07:00
JoelKatz
8eb33f6bb5 Better logging of time offsets on connection. 2012-09-03 05:16:08 -07:00
JoelKatz
81793192cb Bugfix and close time offset set function. 2012-09-03 04:37:25 -07:00
JoelKatz
9f8c1bdc7a Cleanups. 2012-09-03 03:15:42 -07:00
JoelKatz
9977463122 You no longer need .getFullText() on an operator<< to an ostream.
There's like 25 of them in TransactionEngine.cpp that can be removed when convenient
2012-09-03 02:30:17 -07:00
JoelKatz
d5fe3261ab Cleanups and simplfications. 2012-09-03 01:47:03 -07:00
JoelKatz
b950877758 Some proposal cleanups. 2012-09-03 01:19:58 -07:00
Arthur Britto
1024af54b6 Modify RPC and transactions to use quality flags for ripple. 2012-09-02 21:32:52 -07:00
Arthur Britto
9329604836 Restructure forward ripple through offers. 2012-09-01 17:24:14 -07:00
Arthur Britto
60653a5108 Add STAmount divide and multiply shortcuts. 2012-09-01 17:24:12 -07:00
Arthur Britto
8d7773dcd6 Remove unused variable. 2012-09-01 17:23:40 -07:00