Commit Graph

  • e89af2f784 Merge branch 'continuousClose' JoelKatz 2012-07-16 14:48:21 -07:00
  • 659bb5af63 Simplifications made possible by CLC JoelKatz 2012-07-16 13:30:51 -07:00
  • e39c73d704 Remove wobble logic from the ledger master code. JoelKatz 2012-07-16 13:25:52 -07:00
  • 40e0dba6b6 Simplify timing. JoelKatz 2012-07-16 13:25:38 -07:00
  • 19b4ea8160 Beging removing the "wobble" logic, as CLC doesn't use it. JoelKatz 2012-07-16 12:02:09 -07:00
  • f9e0a6ae72 Don't treat idle time as wobble time. JoelKatz 2012-07-16 11:34:38 -07:00
  • 7e7356c155 Cleanups and bugfixes. JoelKatz 2012-07-16 00:47:46 -07:00
  • c9f4d5d900 If we complete a ledger from cache, the completion code didn't run. JoelKatz 2012-07-16 00:46:11 -07:00
  • 5bf33c4604 Store the acquired ledger. JoelKatz 2012-07-16 00:31:30 -07:00
  • 0f3a218aea Typo. JoelKatz 2012-07-16 00:31:17 -07:00
  • 3b43d2d88c Make a function to store a ledger. JoelKatz 2012-07-16 00:30:59 -07:00
  • 74ef722156 Split the difference. JoelKatz 2012-07-16 00:30:41 -07:00
  • d9d1d72556 Bugfix. Don't use rounded ledger timing to decide when to close an idle ledger. JoelKatz 2012-07-16 00:06:00 -07:00
  • 3bc0f78b0c Bugfix. JoelKatz 2012-07-15 23:50:17 -07:00
  • fd6bed1f4c Typo. JoelKatz 2012-07-15 23:47:31 -07:00
  • 2e2547ad0a Close time fixes. JoelKatz 2012-07-15 23:46:38 -07:00
  • 16451d8d55 Remove debug. JoelKatz 2012-07-15 23:44:08 -07:00
  • 0e8de5b6f0 Bugfix. JoelKatz 2012-07-15 23:43:57 -07:00
  • 4d9500a076 Bugfix. JoelKatz 2012-07-15 23:41:52 -07:00
  • d1adcb03c6 Remove debug. JoelKatz 2012-07-15 23:30:29 -07:00
  • d3f95a37c9 We have to at least count our own ledger, otherwise we can find no closed ledgers at all. JoelKatz 2012-07-15 23:30:14 -07:00
  • 4336e877c8 Some extra asserts to help catch bugs sooner. JoelKatz 2012-07-15 23:30:04 -07:00
  • 46af12050c Add close time information to ledger json output. JoelKatz 2012-07-15 16:26:09 -07:00
  • 060772ad7d Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-14 22:13:55 -07:00
  • 0f47f72e30 Work on WS account_info_subscribe. Arthur Britto 2012-07-14 22:13:22 -07:00
  • 6e06f205ba Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-07-14 20:54:25 -07:00
  • 5e401c3f4e . jed 2012-07-14 20:54:12 -07:00
  • bafaf5257d Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-07-14 19:18:16 -07:00
  • 0b0cf71d41 Cleanups. JoelKatz 2012-07-14 19:18:04 -07:00
  • 8bcb9c0041 Add get first/last/next SLE functions. JoelKatz 2012-07-14 19:16:58 -07:00
  • 9670b46e28 Cosmetic. Arthur Britto 2012-07-14 18:46:21 -07:00
  • 6feb16709e Add RPC owner_info. Arthur Britto 2012-07-14 17:21:43 -07:00
  • d6af13330a Fix for doOfferCancel. Arthur Britto 2012-07-14 16:15:09 -07:00
  • 291cb7f7a4 Merge branch 'ripple' Arthur Britto 2012-07-14 15:58:16 -07:00
  • f6fcef9101 Misc fixes. Arthur Britto 2012-07-14 12:53:07 -07:00
  • 0cbe1bfe35 Fix a bug Arthur found. JoelKatz 2012-07-14 13:15:00 -07:00
  • 520a8039b4 Remove "none" support from accountID. Arthur Britto 2012-07-14 12:52:51 -07:00
  • b03f73067f Add clang support to SConstruct. Arthur Britto 2012-07-14 12:52:19 -07:00
  • 36e3ed784a . jed 2012-07-14 08:42:22 -07:00
  • 13a68da567 compile on windows jed 2012-07-14 08:41:05 -07:00
  • d7e78d15c9 Typo. JoelKatz 2012-07-14 02:25:55 -07:00
  • 19002c5b55 Fix bug in previous commit. JoelKatz 2012-07-14 02:24:59 -07:00
  • b516cdcf04 Bugfixes to code to get into sync during consensus phase. JoelKatz 2012-07-14 02:24:00 -07:00
  • 532a103ef8 Function to check if a peer has a ledger. JoelKatz 2012-07-14 02:23:45 -07:00
  • 4b91e91f43 Bugfix. JoelKatz 2012-07-14 02:16:44 -07:00
  • 53594f126f Bugfixes. JoelKatz 2012-07-14 02:14:50 -07:00
  • 5f5633c163 Bugfix. JoelKatz 2012-07-14 01:57:34 -07:00
  • 67743ad628 Extra debug test. JoelKatz 2012-07-14 01:57:28 -07:00
  • deebb7307b Make this more logical. JoelKatz 2012-07-14 01:54:41 -07:00
  • 4ba8545762 Buglet. JoelKatz 2012-07-14 01:53:20 -07:00
  • 90935666bd Bugfix. JoelKatz 2012-07-14 00:27:26 -07:00
  • 6bf1a154b0 Typo. JoelKatz 2012-07-14 00:24:20 -07:00
  • b2b131ab0d Whitespace fix. JoelKatz 2012-07-14 00:21:13 -07:00
  • 7957efbf48 Typo. JoelKatz 2012-07-14 00:18:14 -07:00
  • 5a660d1f04 Bugfixes. JoelKatz 2012-07-14 00:17:41 -07:00
  • 7ce766dd4f Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose JoelKatz 2012-07-13 23:55:27 -07:00
  • d3e1b98fe8 Bug fixes for offer_create and offer_cancel. Arthur Britto 2012-07-13 23:01:26 -07:00
  • bbea33f3c2 Implement RPC commands offer_create & offer_cancel. Arthur Britto 2012-07-13 15:32:32 -07:00
  • 81def6601f Create transactions offer_create & offer_cancel. Arthur Britto 2012-07-13 15:32:03 -07:00
  • 3982a67dbe Work on offer backend. Arthur Britto 2012-07-13 15:31:08 -07:00
  • a3fb732e24 Rework offer amount calculation. Arthur Britto 2012-07-13 15:27:22 -07:00
  • adcec3cabb Bugfix. JoelKatz 2012-07-13 12:40:46 -07:00
  • 2463d25682 Must update positions even if not proposing. Otherwise, we never realize there's a consensus on close times. JoelKatz 2012-07-13 10:35:08 -07:00
  • 92dce90b90 Add a 'verbose' flag. JoelKatz 2012-07-13 10:34:51 -07:00
  • db2e9f83dd More debug. JoelKatz 2012-07-13 10:25:04 -07:00
  • 34c5a22d81 By controlling when we create a LedgerConsensus object, we can control when we switch our view of the network's LCL. JoelKatz 2012-07-13 10:15:01 -07:00
  • 338fa90387 Correctly sequence to acquiring a new LCL if it changes. Don't keep acquiring the old one. JoelKatz 2012-07-12 23:07:55 -07:00
  • 02decebe08 Rest of close time logic. JoelKatz 2012-07-12 21:46:13 -07:00
  • 036d8f8d6d Functions to retrieve close time information from the ledger. JoelKatz 2012-07-12 21:45:09 -07:00
  • c839f93d3c 32-bit network times. Close time cleanup. JoelKatz 2012-07-12 01:43:56 -07:00
  • cdd1bff788 Sometimes it's okay to be clever. JoelKatz 2012-07-12 01:43:35 -07:00
  • b5fa3a0900 32-bit network times. Mark a FIXME. JoelKatz 2012-07-12 01:43:18 -07:00
  • fc48efea59 Track proposed ledger close times. JoelKatz 2012-07-12 01:43:02 -07:00
  • 16f9d7d74e 32-bit times. Track proposed ledger close times. JoelKatz 2012-07-12 01:42:44 -07:00
  • ecd47f0ea8 Cut to 32-bit network times. JoelKatz 2012-07-12 01:41:24 -07:00
  • 34935be1f4 More of the close time resolution code. JoelKatz 2012-07-11 18:25:47 -07:00
  • f71469f55c Mark a FIXME needed for new timing to work right. JoelKatz 2012-07-11 18:18:48 -07:00
  • 513d248c93 Change ledger and db structures to use new ledger close timing logic. JoelKatz 2012-07-11 18:18:28 -07:00
  • c637c01abc Mark a FIXME for some cases this code mishandles. (I'll fix it shortly.) JoelKatz 2012-07-11 18:16:47 -07:00
  • 9e60cfc925 Remove this abomination. JoelKatz 2012-07-11 16:29:17 -07:00
  • 9d40598b2b Cosmetic. Arthur Britto 2012-07-11 12:32:06 -07:00
  • effcc07c92 Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose JoelKatz 2012-07-11 11:41:30 -07:00
  • bde6db0cac Don't change our position too soon, before others have a chance to weigh in. JoelKatz 2012-07-11 11:39:23 -07:00
  • 9022a96495 Bugfix. JoelKatz 2012-07-11 11:39:06 -07:00
  • 8266c87dc9 Have RPC ripple_lines_get now show redundant currencies. Arthur Britto 2012-07-10 21:44:11 -07:00
  • 8ae768d2a7 Add hack to show currency in Json for STAmount. Arthur Britto 2012-07-10 21:38:41 -07:00
  • 0c4b739010 Fix RPC decimal parsing. Arthur Britto 2012-07-10 21:20:09 -07:00
  • 6cf3657dc4 Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose JoelKatz 2012-07-10 19:25:27 -07:00
  • 187130fe31 Properly sequence from one converge window to the next. JoelKatz 2012-07-10 19:24:52 -07:00
  • db7cf11312 Fix RPC ripple_lines_get to return multiple lines for peer account. Arthur Britto 2012-07-10 15:19:39 -07:00
  • 93089186e1 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-07-10 15:04:34 -07:00
  • fb009bae3b Fix adding second entry to directory. Arthur Britto 2012-07-10 15:04:12 -07:00
  • a61269ddd3 Make NetworkOPs::getDirNodeInfo more robust. Arthur Britto 2012-07-10 14:54:09 -07:00
  • 1e99069aff small fix jed 2012-07-10 14:41:54 -07:00
  • 878a0889ee Fix reporting of lines by ripple_lines_get. Arthur Britto 2012-07-10 14:11:38 -07:00
  • a1424fcd60 Fix error class for terBAD_AUTH_MASTER. Arthur Britto 2012-07-10 13:16:08 -07:00
  • c82bd2805b Merge branch 'master' of github.com:jedmccaleb/NewCoin into continuousClose JoelKatz 2012-07-10 10:31:13 -07:00
  • 74cd8a65b8 More continuous ledger close work: CLC code now compiles and links. Remove dead code. Decide when to come out of idle. Decide when we have a convergence. Give all state handlers access to timing information. JoelKatz 2012-07-10 10:25:54 -07:00
  • 164350658f Rename RPC commands to ripple_lines_get and ripple_line_set. Arthur Britto 2012-07-09 21:10:51 -07:00
  • 96b314c78c Add getQualityNext. Arthur Britto 2012-07-09 18:01:52 -07:00