Commit Graph

13080 Commits

Author SHA1 Message Date
JoelKatz
790a759927 Cleanups. 2012-04-23 15:57:29 -07:00
JoelKatz
9a94752da1 Remove dead code. Add tie in to TransactionEngine code. 2012-04-23 15:56:29 -07:00
JoelKatz
59872be189 Remove obsolete ledger functionality. Update to use new code. 2012-04-23 15:55:58 -07:00
JoelKatz
b3773f1d52 Typo. 2012-04-23 15:55:19 -07:00
JoelKatz
cd73263f2f Rework AccountState to fit new model. 2012-04-23 15:54:56 -07:00
JoelKatz
a641149834 Wrong return value. 2012-04-22 21:11:14 -07:00
JoelKatz
a5e8ab6943 Handle make payment for native currencies.
Keep a vector of affected account state nodes to make atomicity easier.
2012-04-22 19:14:06 -07:00
JoelKatz
003ec1af1e Missing helper functions. 2012-04-22 18:47:59 -07:00
JoelKatz
82644c4c00 Additional error codes. "No param" parameter for TransactionEngineParms.
TEP helper functions.
2012-04-22 16:28:24 -07:00
JoelKatz
adf0313ab8 Transaction fee handling. 2012-04-22 16:27:55 -07:00
JoelKatz
585d800fb4 Bug fixes. 2012-04-21 02:20:09 -07:00
JoelKatz
5a9050aa69 Bugfix. 2012-04-20 20:21:42 -07:00
JoelKatz
9a50a0e4f1 Helper function for STAccount->uint160 inside an object. 2012-04-20 20:21:27 -07:00
JoelKatz
7b82cbcbe8 This function is completed -- applyTransaction. It needs helper functions. 2012-04-20 20:09:04 -07:00
JoelKatz
f6f9ba4d08 Missing functions, and an easy way to specify no special parameters. 2012-04-20 17:42:54 -07:00
JoelKatz
8372b0d572 Some additional return codes for the transaction engine. 2012-04-20 17:42:37 -07:00
JoelKatz
31d65b222e Missing from previous commit. 2012-04-20 17:42:17 -07:00
JoelKatz
ad8ff12803 Fix mishandling of signing account.
Fix failure to set transaction type.
2012-04-20 13:30:18 -07:00
JoelKatz
3b6fca362b Add nickname node functions. Simplify. 2012-04-19 06:16:02 -07:00
JoelKatz
8f7c6b5f2b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-04-19 03:45:55 -07:00
JoelKatz
693df8bb8a Missing function Ledger::writeBack 2012-04-19 03:45:33 -07:00
JoelKatz
7c7ee23c64 Cleanup. 2012-04-19 03:45:23 -07:00
JoelKatz
271283b930 Update comments. 2012-04-19 03:45:15 -07:00
Arthur Britto
65126360c9 Add RPC command unl_score to request scoring for debugging. 2012-04-18 17:24:49 -07:00
Arthur Britto
99d61cc8e6 Store and score IPs. 2012-04-18 17:24:05 -07:00
Arthur Britto
9d55bec56e Minor clean up. 2012-04-18 17:23:46 -07:00
Arthur Britto
b056eb887b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-04-17 19:47:17 -07:00
Arthur Britto
24088dbe9b Add scoring for TrustedNodes. 2012-04-17 19:44:00 -07:00
Arthur Britto
5d7a2ed8e3 Add strJoin to utils.h 2012-04-17 19:43:28 -07:00
Arthur Britto
8fabf505fc Require TrustedNodes to have a score. 2012-04-17 19:42:14 -07:00
Arthur Britto
e7307dca6d Have executeSQL take a String. 2012-04-17 19:41:12 -07:00
JoelKatz
e0e7a822a1 More ledger work:
Ledger::getAccountRoot
LedgerStateParms
SerializedLedgerEntry(const Serialier&..
2012-04-17 05:06:16 -07:00
JoelKatz
fb415dc6ac Have a SHAMapItem use a serializer internally to save copies and avoid ugliness. 2012-04-17 05:03:21 -07:00
JoelKatz
23e46d4f12 Allow a serializer to be used much like a vector. 2012-04-17 05:02:28 -07:00
JoelKatz
33fb458c9a Cleanup. 2012-04-17 05:02:02 -07:00
JoelKatz
1ea7b56fa8 Various cleanups, mostly style and whitespace. 2012-04-17 02:34:24 -07:00
JoelKatz
cc4b350eb7 Build the LedgerEngine logic into the Ledger class.
Add index rules for account state and ripple nodes.
2012-04-16 11:39:29 -07:00
JoelKatz
7ab3da2f76 This will be built into the Ledger class. 2012-04-16 11:39:01 -07:00
Arthur Britto
34e5b77223 Bug fixes and add scoring framing work. 2012-04-14 19:13:43 -07:00
Arthur Britto
d03c1bd11d Cosmetic changes. 2012-04-14 19:13:08 -07:00
Arthur Britto
2c6544d3d3 Remove misc persistancy from Wallet. 2012-04-14 19:12:23 -07:00
Arthur Britto
1c722ea893 Fix url parsing. 2012-04-14 19:11:12 -07:00
Arthur Britto
1e980dae29 Initial check in of misc utilities. 2012-04-14 19:10:18 -07:00
JoelKatz
5f7d182a7c It makes much more sense this way:
LedgerEngine: Performs high-level ledger operations.
TransactionEngine: Performs high-level transaction operations.
2012-04-14 12:55:01 -07:00
Arthur Britto
e36bf8f907 Merge branch 'bootstrap' 2012-04-13 20:50:24 -07:00
Arthur Britto
85b5922603 Work toward automated UNL maintenance. 2012-04-13 20:47:34 -07:00
Arthur Britto
658cd9cf30 Add support for getting a Sha256 from a String. 2012-04-13 20:45:08 -07:00
Arthur Britto
96f23534c3 Add const to some ParseSection functions. 2012-04-13 20:44:11 -07:00
Arthur Britto
12349122e5 Improve error reporting and add clearing to NewcoinAddress. 2012-04-13 20:43:29 -07:00
Arthur Britto
1d8d60b6a6 Comment out debugging. 2012-04-13 20:42:55 -07:00