Commit Graph

2333 Commits

Author SHA1 Message Date
JoelKatz
4cae3dca7b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-29 18:40:16 -08:00
JoelKatz
4f58ab14b0 Don't break the unit tests by slowing shutdown. 2012-11-29 18:40:01 -08:00
jed
0865c99cee windows 2012-11-29 18:28:49 -08:00
Stefan Thomas
eb185769fa Fix account_tx - metadata was being read from incorrect db column. 2012-11-29 17:10:13 -08:00
Arthur Britto
007f241040 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-29 16:05:48 -08:00
Stefan Thomas
6a889d6ccc Add missing comma (fix transaction metadata persistence.) 2012-11-29 15:56:04 -08:00
Arthur Britto
460776115c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-29 15:46:56 -08:00
JoelKatz
0fe9f178ef NetworkOPs function to test if we have in our database a specified range of ledger numbers. 2012-11-29 11:46:22 -08:00
JoelKatz
6d858ab178 Get rid of "full history". You can now configure how many back ledgers you want to retrieve
on startup. The default is 256. The configuration element is "ledger_history". Valid values are:
0/off/false/none = don't retrieve any history
on/full/yes/-1 = retrieve all history back to the genesis ledger
<number> = retrieve that number of past ledgers
2012-11-29 11:33:33 -08:00
JoelKatz
87ee255251 Save txn metadata into transaction database. 2012-11-29 10:35:53 -08:00
JoelKatz
326250b554 Escape helper. 2012-11-29 10:35:44 -08:00
JoelKatz
dd1ff90351 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-29 10:08:12 -08:00
JoelKatz
a38e7fd496 Metadata versions of the transaction SQL helper functions. 2012-11-29 09:50:34 -08:00
jed
92cee7d089 Merge branch 'master' of github.com:jedmccaleb/NewCoin into notdone 2012-11-29 09:23:08 -08:00
jed
32c231ab57 add meta to account_tx 2012-11-29 09:22:44 -08:00
JoelKatz
377747fb2c Helper function. 2012-11-29 09:00:16 -08:00
JoelKatz
2664229017 Fix a compiler warning. 2012-11-29 09:00:05 -08:00
JoelKatz
5cf15b3f4e Shutdown cleanly on control-C. 2012-11-28 20:49:07 -08:00
Arthur Britto
6a72d6eb8a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-28 19:19:57 -08:00
Arthur Britto
2268989609 Work toward ripple_path_find. 2012-11-28 19:19:39 -08:00
jed
e90a1a404d still working 2012-11-28 16:29:15 -08:00
JoelKatz
72777b6b83 Remove some shared pointers on load monitors. 2012-11-28 15:53:07 -08:00
JoelKatz
8ba70c73f6 Make some boost::format objects static. 2012-11-28 15:35:12 -08:00
JoelKatz
bfbf0aa185 Eliminate redundant write set waits. You don't need to wait on future write sets. 2012-11-28 15:34:47 -08:00
JoelKatz
6aca65ff76 Get the shared pointers out of the scoped lock stuff. We don't need it. 2012-11-28 15:27:20 -08:00
Jed
725761d60e Remove a C++11 warning. 2012-11-27 16:44:56 -08:00
JoelKatz
885925a83b Add a 'CAUTION' notice to warn about creating vectors (or other containers
that use copy assignment) of types derived from SerializedType. You
generally don't want to do this anyway due to slicing, but make clear
the other risks. (Field names get mangled.)
2012-11-26 11:44:04 -08:00
JoelKatz
6013d994e2 STArray cannot use a vector of STObject's because bad things happen when you delete them. 2012-11-26 11:20:12 -08:00
JoelKatz
f5018b6cd1 Cleanup and log, no semantic changes. SerializedType::operator=(const SerializedType &) 2012-11-26 11:19:24 -08:00
JoelKatz
90ff46ff77 Add isUseful. 2012-11-26 11:18:16 -08:00
JoelKatz
4093f8a7a9 Small cleanup. 2012-11-26 10:54:32 -08:00
JoelKatz
949c49fbaf Cleanup. 2012-11-26 10:53:22 -08:00
JoelKatz
3f9d2e4b05 bugfix 2012-11-26 09:47:54 -08:00
JoelKatz
ea94feb643 Slots the PoW peer code will go into. 2012-11-25 21:32:21 -08:00
JoelKatz
ca59a885ca Suppress metadata for unmodified nodes. Add a transaction application sequence number to txn metadat. 2012-11-25 10:31:33 -08:00
JoelKatz
73ad63849c Some cleanups. 2012-11-25 08:54:23 -08:00
Arthur Britto
553d55b5db Prepare for PathState:createCanonical. 2012-11-24 14:53:01 -08:00
JoelKatz
a9d9353f9b Remove TaggedList's, they're obsolete. 2012-11-24 11:02:27 -08:00
JoelKatz
d12eb08619 Cleanup. 2012-11-24 10:57:06 -08:00
JoelKatz
8bb2168392 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-24 09:26:40 -08:00
JoelKatz
95e3b5ece7 Explain the various times. 2012-11-24 09:26:26 -08:00
jed
89f02efc16 option to return date of transaction in the JSON 2012-11-23 17:58:48 -08:00
JoelKatz
6bc817d377 Don't use the most expensive synchronization primitives available. 2012-11-23 12:43:16 -08:00
JoelKatz
8b53f85f60 Separate ledger publish logic so we can tell if clients are overloading us. 2012-11-23 12:15:04 -08:00
Arthur Britto
64ec8a7b6f Make ripple_path_find more robust and clean up. 2012-11-22 19:10:43 -08:00
Arthur Britto
09ac6ec8a4 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-22 14:03:42 -08:00
Arthur Britto
5c1605ab35 Rough cut at ripple_path_find. 2012-11-22 14:03:32 -08:00
Arthur Britto
b7e18f367b Cosmetic changes. 2012-11-22 14:02:51 -08:00
JoelKatz
6e2bbaf2e7 Fix missing metadata bug. 2012-11-22 12:25:17 -08:00
JoelKatz
7acdb36257 Cleanup. 2012-11-22 12:25:08 -08:00