Commit Graph

49 Commits

Author SHA1 Message Date
JoelKatz
5b2d5e8428 Add a way for us to place jobs with a concurrency limit.
The main use case is having all threads stuck in ledgerData, fighting each other.
2013-07-13 19:02:35 -07:00
JoelKatz
ecc864ac8e Send cluster reports 2013-07-10 15:42:18 -07:00
JoelKatz
ea7730a419 More cluster status work. 2013-07-10 15:42:18 -07:00
Vinnie Falco
72769c5c40 Plug backends into NodeStore 2013-07-10 14:23:23 -07:00
Vinnie Falco
d6fb686426 Rename to NodeObject 2013-07-10 14:23:22 -07:00
JoelKatz
3017929746 Parsing the cluster status message, updates to tracking code 2013-07-10 10:25:39 -07:00
JoelKatz
08af000895 Skeleton for accepting cluster messages. 2013-07-10 10:16:26 -07:00
JoelKatz
cc8af2275d Track cluster load and local load separately. 2013-07-10 10:16:26 -07:00
Vinnie Falco
33bb2f6887 Use DeadlineTimer in UniqueNodeList 2013-07-10 09:51:32 -07:00
Vinnie Falco
5855e8d0cf Remove unused constants 2013-07-10 09:51:26 -07:00
JoelKatz
37fe9a6098 Merge branch 'master' into develop
Conflicts:
	Builds/VisualStudio2012/RippleD.vcxproj
	modules/ripple_app/ripple_app.cpp
	modules/ripple_websocket/ripple_websocket.cpp
	src/cpp/ripple/NetworkOPs.cpp
	src/cpp/ripple/ripple_Application.cpp
	src/cpp/ripple/ripple_Peer.cpp
2013-07-07 15:28:18 -07:00
JoelKatz
bc5781e05d Load manager fixes. 2013-07-03 12:36:37 -07:00
JoelKatz
da9cd1dcfe Missing return in previous commit. 2013-07-03 11:36:18 -07:00
JoelKatz
c9b8009e3a Avoid relaying very old transactions 2013-07-03 11:16:14 -07:00
JoelKatz
dd431b47f5 Typo 2013-07-03 09:46:52 -07:00
JoelKatz
537b0f1088 Temporary workaround. 2013-07-03 09:43:21 -07:00
JoelKatz
a732f397cb Limit transaction queue size. 2013-07-03 09:38:22 -07:00
JoelKatz
5b6e9f9f9b Log display name for transactions. 2013-07-03 08:36:07 -07:00
JoelKatz
86196a6e46 More logging. 2013-07-03 07:14:47 -07:00
Vinnie Falco
b52bbccd8a Streamline Log with print() and out() 2013-07-01 09:32:09 -07:00
Vinnie Falco
c35c52ff08 Fix platform and debug macros 2013-07-01 09:32:08 -07:00
Vinnie Falco
4d7fe731d8 Tidy up LeakChecked and configuration macro 2013-07-01 09:32:07 -07:00
Vinnie Falco
0deaeb1000 Cleanly destroy Application on exit 2013-07-01 09:32:06 -07:00
Vinnie Falco
b0c401bc3f Replace boost::bind with BIND_TYPE where appropriate 2013-06-28 17:01:03 -07:00
Vinnie Falco
df9fa7b897 Fix default param using std::function 2013-06-28 17:01:02 -07:00
Vinnie Falco
832f67b35c Roll back 7 commits 2013-06-28 11:48:43 -07:00
Vinnie Falco
f1a4ea3c3f Replace boost::bind with BIND_TYPE where appropriate 2013-06-28 09:18:17 -07:00
Vinnie Falco
903cc001dd Use beast for bind, placeholders, and function 2013-06-28 07:02:48 -07:00
Vinnie Falco
1dffaf5d57 Use manual method for naming CountedObject classes 2013-06-26 01:10:54 -07:00
Vinnie Falco
fe15cfbf31 Use provided names for CountedObject instead of typeid() 2013-06-26 00:19:41 -07:00
Vinnie Falco
36ecca14d7 Full Refactor of LoadManager 2013-06-24 15:52:01 -07:00
Vinnie Falco
2abec05b5b Replace InstanceCounter with CountedObject 2013-06-19 16:23:03 -07:00
JoelKatz
6c4b870165 Don't do PoW until that code is completed. 2013-06-19 09:41:21 -07:00
JoelKatz
898ee39375 Add the 'fail_hard' flag for submitting and signing transactions. If fail
hard is set, on a local error, the transaction should be guaranteed not to
happen unless it is resubmitted.
2013-06-18 13:52:52 -07:00
Vinnie Falco
7474c17823 Rename ripple namespace used for protobuf to 'protocol' 2013-06-17 09:52:41 -07:00
Vinnie Falco
7eff38c1bb Rename LedgerAcquire to InboundLedger 2013-06-16 16:57:52 -07:00
Vinnie Falco
00a7cbf610 Update copyright notice and 80 column separators 2013-06-15 18:20:59 -07:00
Vinnie Falco
8a6ce5de68 Rename Wallet to LocalCredentials 2013-06-15 18:20:59 -07:00
JoelKatz
17e370918b Don't accumulate untrusted validations/proposals when we're loaded. 2013-06-15 16:31:40 -07:00
Vinnie Falco
521e812fc4 Reformatting using AStyle 2013-06-14 08:45:13 -07:00
JoelKatz
968768cdb8 Avoid an extraneous dispatch to the same context we're already in.
Get rid of stored proposals in a more sane way.
2013-06-13 23:38:21 -07:00
JoelKatz
af167031c9 Clean this up a bit more.
Conflicts:
	src/cpp/ripple/ripple_Peer.cpp
2013-06-10 19:30:37 -07:00
JoelKatz
f0cf90ab24 Cleanup bit tests. 2013-06-10 19:24:16 -07:00
Vinnie Falco
3273625f61 Split up InfoSub and tidy up various files 2013-06-09 11:26:18 -07:00
Vinnie Falco
b51edb58fc Replace std::vector<unsigned char> with Blob 2013-06-07 15:24:39 -07:00
Vinnie Falco
a6fdabc68a Reformat annotations in preparation for automated extraction 2013-06-07 14:46:09 -07:00
JoelKatz
b305e682ed Only touch remote_endpoint under a try/catch block. 2013-06-07 05:11:20 -07:00
Vinnie Falco
eb57573f9a Refactor ConnectionPool into IPeers and hide the implementation
Conflicts:
	src/cpp/ripple/Application.h
2013-06-06 21:50:49 -07:00
Vinnie Falco
d8c97c2149 Refactor Peer 2013-06-06 21:43:55 -07:00