Commit Graph

1852 Commits

Author SHA1 Message Date
JoelKatz
19b4ea8160 Beging removing the "wobble" logic, as CLC doesn't use it. 2012-07-16 12:02:09 -07:00
JoelKatz
f9e0a6ae72 Don't treat idle time as wobble time. 2012-07-16 11:34:38 -07:00
JoelKatz
7e7356c155 Cleanups and bugfixes. 2012-07-16 00:47:46 -07:00
JoelKatz
c9f4d5d900 If we complete a ledger from cache, the completion code didn't run. 2012-07-16 00:46:11 -07:00
JoelKatz
5bf33c4604 Store the acquired ledger. 2012-07-16 00:31:30 -07:00
JoelKatz
0f3a218aea Typo. 2012-07-16 00:31:17 -07:00
JoelKatz
3b43d2d88c Make a function to store a ledger. 2012-07-16 00:30:59 -07:00
JoelKatz
74ef722156 Split the difference. 2012-07-16 00:30:41 -07:00
JoelKatz
d9d1d72556 Bugfix. Don't use rounded ledger timing to decide when to close an idle ledger. 2012-07-16 00:06:00 -07:00
JoelKatz
3bc0f78b0c Bugfix. 2012-07-15 23:50:17 -07:00
JoelKatz
fd6bed1f4c Typo. 2012-07-15 23:47:31 -07:00
JoelKatz
2e2547ad0a Close time fixes. 2012-07-15 23:46:38 -07:00
JoelKatz
16451d8d55 Remove debug. 2012-07-15 23:44:08 -07:00
JoelKatz
0e8de5b6f0 Bugfix. 2012-07-15 23:43:57 -07:00
JoelKatz
4d9500a076 Bugfix. 2012-07-15 23:41:52 -07:00
JoelKatz
d1adcb03c6 Remove debug. 2012-07-15 23:30:29 -07:00
JoelKatz
d3f95a37c9 We have to at least count our own ledger, otherwise we can find no closed ledgers at all. 2012-07-15 23:30:14 -07:00
JoelKatz
4336e877c8 Some extra asserts to help catch bugs sooner. 2012-07-15 23:30:04 -07:00
JoelKatz
46af12050c Add close time information to ledger json output. 2012-07-15 16:26:09 -07:00
JoelKatz
0cbe1bfe35 Fix a bug Arthur found. 2012-07-14 13:15:00 -07:00
JoelKatz
d7e78d15c9 Typo. 2012-07-14 02:25:55 -07:00
JoelKatz
19002c5b55 Fix bug in previous commit. 2012-07-14 02:24:59 -07:00
JoelKatz
b516cdcf04 Bugfixes to code to get into sync during consensus phase. 2012-07-14 02:24:00 -07:00
JoelKatz
532a103ef8 Function to check if a peer has a ledger. 2012-07-14 02:23:45 -07:00
JoelKatz
4b91e91f43 Bugfix. 2012-07-14 02:16:44 -07:00
JoelKatz
53594f126f Bugfixes. 2012-07-14 02:14:50 -07:00
JoelKatz
5f5633c163 Bugfix. 2012-07-14 01:57:34 -07:00
JoelKatz
67743ad628 Extra debug test. 2012-07-14 01:57:28 -07:00
JoelKatz
deebb7307b Make this more logical. 2012-07-14 01:54:41 -07:00
JoelKatz
4ba8545762 Buglet. 2012-07-14 01:53:20 -07:00
JoelKatz
90935666bd Bugfix. 2012-07-14 00:27:26 -07:00
JoelKatz
6bf1a154b0 Typo. 2012-07-14 00:24:20 -07:00
JoelKatz
b2b131ab0d Whitespace fix. 2012-07-14 00:21:13 -07:00
JoelKatz
7957efbf48 Typo. 2012-07-14 00:18:14 -07:00
JoelKatz
5a660d1f04 Bugfixes. 2012-07-14 00:17:41 -07:00
JoelKatz
7ce766dd4f Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose 2012-07-13 23:55:27 -07:00
Arthur Britto
d3e1b98fe8 Bug fixes for offer_create and offer_cancel. 2012-07-13 23:01:26 -07:00
Arthur Britto
bbea33f3c2 Implement RPC commands offer_create & offer_cancel. 2012-07-13 15:32:32 -07:00
Arthur Britto
81def6601f Create transactions offer_create & offer_cancel. 2012-07-13 15:32:03 -07:00
Arthur Britto
3982a67dbe Work on offer backend. 2012-07-13 15:31:08 -07:00
Arthur Britto
a3fb732e24 Rework offer amount calculation. 2012-07-13 15:28:58 -07:00
JoelKatz
adcec3cabb Bugfix. 2012-07-13 12:40:46 -07:00
JoelKatz
2463d25682 Must update positions even if not proposing. Otherwise, we never realize there's a consensus on close times. 2012-07-13 10:35:08 -07:00
JoelKatz
92dce90b90 Add a 'verbose' flag. 2012-07-13 10:34:51 -07:00
JoelKatz
db2e9f83dd More debug. 2012-07-13 10:25:04 -07:00
JoelKatz
34c5a22d81 By controlling when we create a LedgerConsensus object, we can control when we switch our view
of the network's LCL.
2012-07-13 10:15:01 -07:00
JoelKatz
338fa90387 Correctly sequence to acquiring a new LCL if it changes. Don't keep acquiring the old one. 2012-07-12 23:07:55 -07:00
JoelKatz
02decebe08 Rest of close time logic. 2012-07-12 21:46:13 -07:00
JoelKatz
036d8f8d6d Functions to retrieve close time information from the ledger. 2012-07-12 21:45:09 -07:00
JoelKatz
c839f93d3c 32-bit network times. Close time cleanup. 2012-07-12 01:43:56 -07:00