Commit Graph

159 Commits

Author SHA1 Message Date
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
Arthur Britto
3cb3b41cef Rename unl_default to validators_file. 2012-11-20 13:13:52 -08:00
JoelKatz
7d4d18bf8d Add RPC to load tracking. 2012-11-20 13:04:17 -08:00
JoelKatz
b4ff61b9e6 Fix the other half. 2012-11-20 12:57:25 -08:00
JoelKatz
61df47658c Fixed huge performance-sapping bug. 2012-11-20 12:54:47 -08:00
JoelKatz
9aa461ca9a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-20 12:49:56 -08:00
Arthur Britto
ddf380c6e5 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-20 12:43:32 -08:00
Arthur Britto
db7a1ef4ba Fixes for rippling through offers. 2012-11-20 12:42:25 -08:00
JoelKatz
5ac22ff31b Two more load monitoring hooks. 2012-11-20 12:09:51 -08:00
jed
9d83ce6bf2 . 2012-11-20 08:22:53 -08:00
jed
280f832c14 regular key set fee 2012-11-20 06:31:58 -08:00
JoelKatz
e837988481 Cosmetic fix. 2012-11-19 21:33:19 -08:00
JoelKatz
145a7d8df0 Keep 1's from getting stuck in the load monitor stats. 2012-11-19 21:01:37 -08:00
JoelKatz
11088937a4 Track special disk accesses. 2012-11-19 17:08:58 -08:00
JoelKatz
b79a927c28 Tweak. 2012-11-19 15:45:35 -08:00
JoelKatz
82c4d81b0e Better naming. 2012-11-19 15:44:54 -08:00
JoelKatz
cec3aaf4b3 Bugfixes. 2012-11-19 15:43:55 -08:00
JoelKatz
19d73bd477 More tie ins. 2012-11-19 15:41:45 -08:00
JoelKatz
08f271443d Start to hook this stuff up. 2012-11-19 15:33:49 -08:00
JoelKatz
54fe46feda Fix STPath breakage. 2012-11-19 14:19:01 -08:00
JoelKatz
93104c79eb Load and latency monitoring class.
This will allow us to assess our load level.
2012-11-19 13:53:43 -08:00
JoelKatz
f78d936936 More balanced table requires more memory. 2012-11-19 10:53:29 -08:00
JoelKatz
bb9f47f624 Misplaced } 2012-11-19 10:40:51 -08:00
JoelKatz
645f7022c4 More PoW work. 2012-11-19 01:06:23 -08:00
JoelKatz
366b477052 Metadata rework to make it possible to watch things like order books or
directories.

1) Some fields are never put in metadata, like Indexes, PreviousTxnID, and
others that are useless/redundant

2) Directory nodes now contain a RootIndex field so you can tell which
directory they're part of.

3) Some fields are always put in metdata, even if they don't change, like
RootIndex. So if a directory entry node is touched, you can tell what
directory it was part of.

Note that this change will cause ledger divergence. Also, existing directory
nodes will not be fully metadata indexed but newly-created nodes will be.
2012-11-18 17:13:19 -08:00
Arthur Britto
ffb4955127 Fix ripple paths with XRP. 2012-11-17 17:35:19 -08:00
Arthur Britto
cdd3ba0791 Make rippleCredit() do better with ACCOUNT_ONE. 2012-11-17 17:34:04 -08:00
Arthur Britto
2d98ce4526 Make TrustSet disallow ACCOUNT_ONE. 2012-11-17 17:33:10 -08:00
JoelKatz
8bd212e6bc Sanely handle optional fields set to their default values.
Specify when this is allowed and when it's prohibited.
2012-11-16 15:11:16 -08:00
JoelKatz
7b1540c5fd Missing #include 2012-11-16 15:09:31 -08:00
jed
c502bfad99 Merge branch 'master' of github.com:jedmccaleb/NewCoin into api2
Conflicts:
	test/config.js
2012-11-16 09:08:37 -08:00
jed
d4ef06fd67 rpchandler 2012-11-16 09:06:18 -08:00
JoelKatz
67fe605967 Some additional logging. 2012-11-15 18:16:48 -08:00
jed
25552ece7c freeBSD 2012-11-15 16:47:23 -08:00
Arthur Britto
f1a4bcc661 Fixes for rippling XRP via offers. 2012-11-15 16:42:23 -08:00
Arthur Britto
b08beed974 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-15 11:26:16 -08:00
JoelKatz
5217c92053 Let's use one simple general-purpose function rathern than five complex special-purpose ones. 2012-11-15 09:05:01 -08:00
jed
46cd90b47b . 2012-11-14 21:26:23 -08:00
jed
7500547fe1 Merge branch 'api2' of github.com:jedmccaleb/NewCoin into api2
Conflicts:
	src/cpp/ripple/TransactionAction.cpp
	src/cpp/ripple/TransactionEngine.cpp
	src/cpp/ripple/TransactionEngine.h
2012-11-14 20:58:00 -08:00
jed
8866ac384f . 2012-11-14 16:47:49 -08:00
jed
58e5e07823 . 2012-11-14 16:10:10 -08:00
jed
2c2a8b5660 Merge branch 'master' of github.com:jedmccaleb/NewCoin into api2 2012-11-14 13:23:41 -08:00
jed
5bbdd90a4c refactor Transaction. compiling. still need to test 2012-11-14 13:05:59 -08:00
JoelKatz
601db4491a Track when we have to abandon the consensus process because the network has moved on.
Issue partial validation if appropriate later.
Change the consensus abort threshold to 80% of trusted nodes. (Maybe there should be a delay?)
2012-11-14 08:47:36 -08:00
JoelKatz
bd44ae1b2b Fix standalone or non-validating modes. 2012-11-14 00:33:17 -08:00
JoelKatz
0a2beae3ac Better "unset source" messages. 2012-11-14 00:33:09 -08:00
JoelKatz
c6aab36fe7 Issue partial validations when appropriate. 2012-11-14 00:23:32 -08:00
Arthur Britto
b01853d836 Fixes for rippling through offers 2012-11-13 19:13:29 -08:00
JoelKatz
71cf18eee2 Track last validation so we can detect a missing validation and issue a partial. 2012-11-13 16:18:19 -08:00