Commit Graph

257 Commits

Author SHA1 Message Date
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
JoelKatz
520ad29387 Fix compilation errors/warnings. 2012-11-22 12:24:54 -08:00
Arthur Britto
4e713c58ad Work toward ripple_path_find. 2012-11-22 11:51:40 -08:00
JoelKatz
2e9d6a0d7d Cleanup. 2012-11-22 10:11:38 -08:00
Arthur Britto
814be24361 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-21 16:25:59 -08:00
Arthur Britto
2aa6eb8784 Add framework for RPC ripple_path_find. 2012-11-21 16:25:53 -08:00
Arthur Britto
8e35265922 Add issuerFromString() and bSetJson() to STAmount. 2012-11-21 16:22:51 -08:00
JoelKatz
46cc4395ab Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-21 15:29:14 -08:00
JoelKatz
637269fb80 Traverse the correct object when generating modification metadata. Other small similar fixes. 2012-11-21 15:28:50 -08:00
jed
4c1addc918 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-21 15:08:17 -08:00
jed
48bb22afac meta 2012-11-21 15:07:57 -08:00
JoelKatz
fd1468b71f Remove broken lock. 2012-11-21 14:13:37 -08:00
JoelKatz
6ce7d880e5 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-21 13:45:29 -08:00
JoelKatz
c36d967de8 Fix a bug in TransactionMaster::fetch. Also, don't use this anyway. 2012-11-21 13:45:09 -08:00
jed
20f0ca6689 windows 2012-11-21 10:54:07 -08:00
jed
2c6b001b25 . 2012-11-21 10:34:07 -08:00
JoelKatz
b4e7d8c5c3 Proof of work message structures 2012-11-21 09:49:00 -08:00
JoelKatz
89d54999c9 Rework the way the results of ledger and TX map acquisition is passed up and down the
call chain so that the peer logic will know how helpful peers are being, not just whether
they're sending invalid data.
2012-11-21 09:28:09 -08:00
Arthur Britto
f98741af3c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-20 18:52:48 -08:00
Arthur Britto
9755563e18 Cosmetic changes for path finding. 2012-11-20 18:52:42 -08:00
JoelKatz
0c2bc43492 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-20 15:21:02 -08:00
JoelKatz
8e520e8816 Locking fixes. 2012-11-20 15:20:43 -08:00
Arthur Britto
50cdc0c49f Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-20 14:49:12 -08:00
Arthur Britto
ad4725ae74 Add private peers. 2012-11-20 14:48:53 -08:00
Arthur Britto
ea00a2d0d0 Add configuration support for peer_private. 2012-11-20 14:47:55 -08:00
JoelKatz
0f010f0445 Close a loophole where someone requests a large number of proofs of work while they're very
easy and then has unlimited use of our system for several minutes because they can keep
turning in the easy proofs of work, causing us to keep raising the proof of work level to
insane levels.
2012-11-20 14:23:10 -08:00
Arthur Britto
97c577e5b2 Fix compiler warning. 2012-11-20 13:14:45 -08:00