Commit Graph

  • f4639058f0 Tie to new code. JoelKatz 2012-04-23 16:01:35 -07:00
  • 39fbc0fb62 Tie to new code. JoelKatz 2012-04-23 16:01:23 -07:00
  • 2d24d05174 Mark a FIXME. BOOST_FOREACH caches the end. JoelKatz 2012-04-23 16:01:02 -07:00
  • 012ac4a20b Bugfix. JoelKatz 2012-04-23 16:00:55 -07:00
  • a15549a797 Remove obsolete assumptions. (Not every transaction has an amount, not every transaction has a destination). JoelKatz 2012-04-23 16:00:24 -07:00
  • 18c1b104a0 NewcoinAddress functions. JoelKatz 2012-04-23 16:00:09 -07:00
  • 00f06feae0 Tie to NewcoinAddress code. JoelKatz 2012-04-23 15:59:55 -07:00
  • bf4becf436 Get STAccount value as NewcoinAddress. JoelKatz 2012-04-23 15:59:39 -07:00
  • 454f47fa99 Tie SerializedTransacion code to NewcoinAddress code. JoelKatz 2012-04-23 15:59:02 -07:00
  • 44afa8fcf9 Tie the STAccount class to the NewcoinAddress code. JoelKatz 2012-04-23 15:58:27 -07:00
  • 3a09455e6c Remove dead code. Change unit tests to compensate. JoelKatz 2012-04-23 15:58:05 -07:00
  • 238b2d16f8 Cleanups. JoelKatz 2012-04-23 15:57:42 -07:00
  • 790a759927 Cleanups. JoelKatz 2012-04-23 15:57:29 -07:00
  • 9a94752da1 Remove dead code. Add tie in to TransactionEngine code. JoelKatz 2012-04-23 15:56:29 -07:00
  • 59872be189 Remove obsolete ledger functionality. Update to use new code. JoelKatz 2012-04-23 15:55:58 -07:00
  • b3773f1d52 Typo. JoelKatz 2012-04-23 15:55:19 -07:00
  • cd73263f2f Rework AccountState to fit new model. JoelKatz 2012-04-23 15:54:56 -07:00
  • a641149834 Wrong return value. JoelKatz 2012-04-22 21:11:14 -07:00
  • a5e8ab6943 Handle make payment for native currencies. Keep a vector of affected account state nodes to make atomicity easier. JoelKatz 2012-04-22 19:14:06 -07:00
  • 003ec1af1e Missing helper functions. JoelKatz 2012-04-22 18:47:59 -07:00
  • 82644c4c00 Additional error codes. "No param" parameter for TransactionEngineParms. TEP helper functions. JoelKatz 2012-04-22 16:28:24 -07:00
  • adf0313ab8 Transaction fee handling. JoelKatz 2012-04-22 16:27:55 -07:00
  • 585d800fb4 Bug fixes. JoelKatz 2012-04-21 02:20:09 -07:00
  • 5a9050aa69 Bugfix. JoelKatz 2012-04-20 20:21:42 -07:00
  • 9a50a0e4f1 Helper function for STAccount->uint160 inside an object. JoelKatz 2012-04-20 20:21:27 -07:00
  • 7b82cbcbe8 This function is completed -- applyTransaction. It needs helper functions. JoelKatz 2012-04-20 20:09:04 -07:00
  • f6f9ba4d08 Missing functions, and an easy way to specify no special parameters. JoelKatz 2012-04-20 17:42:54 -07:00
  • 8372b0d572 Some additional return codes for the transaction engine. JoelKatz 2012-04-20 17:42:37 -07:00
  • 31d65b222e Missing from previous commit. JoelKatz 2012-04-20 17:42:17 -07:00
  • ad8ff12803 Fix mishandling of signing account. Fix failure to set transaction type. JoelKatz 2012-04-20 13:30:18 -07:00
  • 3b6fca362b Add nickname node functions. Simplify. JoelKatz 2012-04-19 06:16:02 -07:00
  • 8f7c6b5f2b Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-04-19 03:45:55 -07:00
  • 693df8bb8a Missing function Ledger::writeBack JoelKatz 2012-04-19 03:45:33 -07:00
  • 7c7ee23c64 Cleanup. JoelKatz 2012-04-19 03:45:23 -07:00
  • 271283b930 Update comments. JoelKatz 2012-04-19 03:45:15 -07:00
  • 65126360c9 Add RPC command unl_score to request scoring for debugging. Arthur Britto 2012-04-18 17:24:49 -07:00
  • 99d61cc8e6 Store and score IPs. Arthur Britto 2012-04-18 17:24:05 -07:00
  • 9d55bec56e Minor clean up. Arthur Britto 2012-04-18 17:23:46 -07:00
  • b056eb887b Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-04-17 19:47:17 -07:00
  • 24088dbe9b Add scoring for TrustedNodes. Arthur Britto 2012-04-17 19:44:00 -07:00
  • 5d7a2ed8e3 Add strJoin to utils.h Arthur Britto 2012-04-17 19:43:28 -07:00
  • 8fabf505fc Require TrustedNodes to have a score. Arthur Britto 2012-04-17 19:42:14 -07:00
  • e7307dca6d Have executeSQL take a String. Arthur Britto 2012-04-17 19:41:12 -07:00
  • e0e7a822a1 More ledger work: Ledger::getAccountRoot LedgerStateParms SerializedLedgerEntry(const Serialier&.. JoelKatz 2012-04-17 05:06:16 -07:00
  • fb415dc6ac Have a SHAMapItem use a serializer internally to save copies and avoid ugliness. JoelKatz 2012-04-17 05:03:21 -07:00
  • 23e46d4f12 Allow a serializer to be used much like a vector. JoelKatz 2012-04-17 05:02:28 -07:00
  • 33fb458c9a Cleanup. JoelKatz 2012-04-17 05:02:02 -07:00
  • 1ea7b56fa8 Various cleanups, mostly style and whitespace. JoelKatz 2012-04-17 02:34:24 -07:00
  • cc4b350eb7 Build the LedgerEngine logic into the Ledger class. Add index rules for account state and ripple nodes. JoelKatz 2012-04-16 11:39:29 -07:00
  • 7ab3da2f76 This will be built into the Ledger class. JoelKatz 2012-04-16 11:39:01 -07:00
  • 34e5b77223 Bug fixes and add scoring framing work. Arthur Britto 2012-04-14 19:13:43 -07:00
  • d03c1bd11d Cosmetic changes. Arthur Britto 2012-04-14 19:13:08 -07:00
  • 2c6544d3d3 Remove misc persistancy from Wallet. Arthur Britto 2012-04-14 19:12:23 -07:00
  • 1c722ea893 Fix url parsing. Arthur Britto 2012-04-14 19:11:12 -07:00
  • 1e980dae29 Initial check in of misc utilities. Arthur Britto 2012-04-14 19:10:18 -07:00
  • 5f7d182a7c It makes much more sense this way: LedgerEngine: Performs high-level ledger operations. TransactionEngine: Performs high-level transaction operations. JoelKatz 2012-04-14 12:55:01 -07:00
  • e36bf8f907 Merge branch 'bootstrap' Arthur Britto 2012-04-13 20:50:24 -07:00
  • 85b5922603 Work toward automated UNL maintenance. Arthur Britto 2012-04-13 20:47:34 -07:00
  • 658cd9cf30 Add support for getting a Sha256 from a String. Arthur Britto 2012-04-13 20:45:08 -07:00
  • 96f23534c3 Add const to some ParseSection functions. Arthur Britto 2012-04-13 20:44:11 -07:00
  • 12349122e5 Improve error reporting and add clearing to NewcoinAddress. Arthur Britto 2012-04-13 20:43:29 -07:00
  • 1d8d60b6a6 Comment out debugging. Arthur Britto 2012-04-13 20:42:55 -07:00
  • c01ca8bf39 Comment out unused config variables. Arthur Britto 2012-04-13 20:42:05 -07:00
  • 4d7f86c43e Add support for escaping String and detecting nulls to database. Arthur Britto 2012-04-13 20:41:03 -07:00
  • d861cf5719 Add support for detecting NULL entires to sqlite. Arthur Britto 2012-04-13 20:40:25 -07:00
  • a5e8afa228 Small cleanups. JoelKatz 2012-04-13 20:19:21 -07:00
  • f05d6e0642 Rename SerializedLedger to SerializedLedgerEntry. It's not a whole ledger. JoelKatz 2012-04-13 20:07:57 -07:00
  • a4ae83c6fe Make style right. JoelKatz 2012-04-13 19:27:19 -07:00
  • 12b5eb5991 Skeleton, for comments. JoelKatz 2012-04-13 16:55:11 -07:00
  • a3c0661451 A simplification. JoelKatz 2012-04-13 16:29:42 -07:00
  • f5464e02b6 Unit test framework. JoelKatz 2012-04-12 23:41:32 -07:00
  • 9f58a4bfbf Cleanups. JoelKatz 2012-04-12 23:23:14 -07:00
  • d8a284f129 Cleanups. JoelKatz 2012-04-12 23:22:44 -07:00
  • 498aba272f Fixes and cleanups. JoelKatz 2012-04-12 23:22:13 -07:00
  • f354f1578a Missing from previous commit. JoelKatz 2012-04-12 16:02:33 -07:00
  • 9fa335af63 Update to 32-bit flags. A few serialized transaction fixes. JoelKatz 2012-04-12 16:02:20 -07:00
  • 519a1c9a1d Native currency scaling. JoelKatz 2012-04-12 06:06:48 -07:00
  • e42084d496 Warning, this is not the current design. It will be fixed to use the new STAmount code. JoelKatz 2012-04-12 05:21:03 -07:00
  • f4e4ef5bc9 Update to sqlite 3.7.11 Arthur Britto 2012-04-11 23:47:02 -07:00
  • a7493aea2f Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-04-11 23:46:07 -07:00
  • 6aeded3863 Missing commit. JoelKatz 2012-04-11 23:38:07 -07:00
  • 5492c62703 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-04-11 23:36:57 -07:00
  • 1c895a593d Sync. JoelKatz 2012-04-11 14:59:31 -07:00
  • ded4d19a65 Optimize / operation. JoelKatz 2012-04-11 14:24:22 -07:00
  • efd363538c Fix some special cases. Cleanup whitespace. JoelKatz 2012-04-11 12:32:41 -07:00
  • dc8889668a Simplification. JoelKatz 2012-04-11 12:25:09 -07:00
  • b771a11836 A 1/3 lsb offset is needed to make the multiplication round down correctly. JoelKatz 2012-04-11 00:27:49 -07:00
  • 48fe991cdb Rounding fix. JoelKatz 2012-04-10 17:00:40 -07:00
  • e61ddb980e Off by one error. JoelKatz 2012-04-10 16:51:00 -07:00
  • db2846547f Missed one special cast. JoelKatz 2012-04-10 16:47:17 -07:00
  • c1cd616359 Always display these exactly. JoelKatz 2012-04-10 16:46:41 -07:00
  • ce30701744 Code to compute how much you need to pay to get a particular output from an offer. JoelKatz 2012-04-10 16:04:28 -07:00
  • 6bf6d86cd9 Offer logic seems to be working now. JoelKatz 2012-04-10 15:26:44 -07:00
  • 22d3354ccc Typo. JoelKatz 2012-04-10 14:37:20 -07:00
  • 7ebd7a1845 Cleanups, add comments, some fixes. JoelKatz 2012-04-10 14:36:53 -07:00
  • ad1ae6af23 Fix mishandling of zero values. Must add to unit test! JoelKatz 2012-04-10 13:22:16 -07:00
  • b093110890 Fixes. JoelKatz 2012-04-10 13:11:20 -07:00
  • 95adce1baf Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-04-10 12:18:24 -07:00
  • 3cac1416ae Ignore editor backups. JoelKatz 2012-04-09 21:50:43 -07:00
  • 4f163947d9 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-04-09 21:15:08 -07:00