Commit Graph

6950 Commits

Author SHA1 Message Date
JoelKatz
7643f3673c Manipulations of remote_endpoint must be done in a try/catch
block to avoid race conditions.
2013-06-07 05:07:56 -07:00
JoelKatz
6b4b239e72 Fix dir describer when an offer is added to a directory.
Check all amounts for orders, fees, and payments to make sure they're network legal.
2013-06-06 23:07:33 -07:00
Vinnie Falco
f94169af78 Merge pull request #68 from vinniefalco/feature-refactor
Feature refactor
2013-06-06 22:04:58 -07:00
Vinnie Falco
91359b1f5d Remove unused #include 2013-06-06 21:52:39 -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
Vinnie Falco
38edcc8f0d Split and refactor ProofOfWork 2013-06-06 21:43:50 -07:00
Vinnie Falco
4d1bf35236 Move PackedMessage to ripple_data 2013-06-06 21:43:44 -07:00
Vinnie Falco
b523b6c8d4 Replace all Application nonces with nonce singleton and refactor hash_value functions 2013-06-06 21:43:33 -07:00
Vinnie Falco
0523d6a054 Refactor free functions into RandomNumbers 2013-06-06 21:43:29 -07:00
Vinnie Falco
882102e9fd Update CodingStyle document 2013-06-06 21:43:22 -07:00
Vinnie Falco
16ecae5972 Move and rename STAmount into ripple_data 2013-06-06 21:43:15 -07:00
Vinnie Falco
8b6c2c0c7a Split Job and JobQueue and move functions to the .cpp 2013-06-06 21:43:07 -07:00
Vinnie Falco
3fafde063f Move serialization and error code stuff into ripple_data 2013-06-06 21:42:58 -07:00
Vinnie Falco
045c3cc01f Reorganize all includes in ripple_main.cpp 2013-06-06 21:42:46 -07:00
Vinnie Falco
34cb5c6569 Move LoadMonitor definitions to the .cpp 2013-06-06 21:42:39 -07:00
Vinnie Falco
aa33fbed92 Merge ripple_db into ripple_main because of circular dependencies 2013-06-06 21:42:31 -07:00
Vinnie Falco
3f3c76ab7e Split LoadEvent to a new file 2013-06-06 21:42:21 -07:00
Vinnie Falco
32a3024ce4 Refactor FeatureTable into IFeatures
Conflicts:
	src/cpp/ripple/FeatureTable.h
	src/cpp/ripple/ripple_Features.cpp
2013-06-06 21:38:01 -07:00
Vinnie Falco
ee49051e1c Downgrade access specification from protected to private in most places
Conflicts:
	src/cpp/ripple/FeatureTable.h
	src/cpp/ripple/HashedObject.h
	src/cpp/ripple/NetworkOPs.h
2013-06-06 20:44:58 -07:00
Vinnie Falco
594c47f16b Refactor SuppressionTable into IHashRouter
Conflicts:
	src/cpp/ripple/Application.h
2013-06-06 20:43:33 -07:00
Vinnie Falco
fb487bdb41 Refactor UniqueNodeList into IUniqueNodeList 2013-06-06 20:43:08 -07:00
Vinnie Falco
0581cf61e5 Add beast_core module to VS ripple project 2013-06-06 20:43:01 -07:00
Vinnie Falco
2cfcda1440 Use ScopedLock RAII for some Application members
Conflicts:
	src/cpp/ripple/Application.h
2013-06-06 20:42:54 -07:00
Vinnie Falco
17e066650e Merge commit '01aee08' into feature-refactor-part-1
Conflicts:
	src/cpp/ripple/Application.cpp
	src/cpp/ripple/Application.h
2013-06-06 20:42:19 -07:00
Vinnie Falco
f79144f122 Update SConstruct for beast 2013-06-06 20:41:44 -07:00
Vinnie Falco
739cde3f2a Use beast::ScopedPointer to hold IFeeVote in Application
Conflicts:
	RippleD.props
	newcoin.vcxproj.filters
	src/cpp/ripple/Application.cpp
	src/cpp/ripple/Application.h
2013-06-06 20:41:37 -07:00
Vinnie Falco
b96e3111b2 Beast initial commit 2013-06-06 20:41:10 -07:00
Vinnie Falco
70df832967 Suppress and document websocket warning C4309 2013-06-06 20:41:04 -07:00
Vinnie Falco
cd3195d901 Temporarily merge un-refactored modules into ripple_main 2013-06-06 20:40:56 -07:00
Vinnie Falco
456b6e5460 Refactor ValidationCollection into IValidations 2013-06-06 20:40:50 -07:00
Vinnie Falco
ec732ed113 Refactor LoadFeeTrack into ILoadFeeTrack, split DatabaseCon out from Application.h
Conflicts:
	src/cpp/ripple/Application.cpp
2013-06-06 20:40:44 -07:00
JoelKatz
f897b17027 Merge branch 'feature' into develop 2013-06-05 16:40:28 -07:00
JoelKatz
4492f0a1d2 server_info cleanup. 2013-06-05 16:40:14 -07:00
JoelKatz
339fb50370 server_info cleanup. 2013-06-05 16:39:55 -07:00
JoelKatz
1875ddd506 When an object is found in the epehermal DB, put it in the cache. 2013-06-05 16:15:26 -07:00
JoelKatz
72e0ac7cd5 Bugfix. 2013-06-05 16:15:21 -07:00
JoelKatz
60ed891a96 Support ephemeral cache with SQLite. 2013-06-05 16:15:15 -07:00
JoelKatz
f141b79d43 Implement the ephemeral cache. 2013-06-05 16:15:09 -07:00
JoelKatz
f524484dcb LevelDB is now mandatory 2013-06-05 16:15:03 -07:00
JoelKatz
c5c970467e Merge branch 'extra-cache' into develop 2013-06-05 16:14:47 -07:00
JoelKatz
e02a49f045 Sign with no locks. 2013-06-05 14:59:06 -07:00
JoelKatz
31f1a109a0 Wait longer for RPC. 2013-06-05 14:58:30 -07:00
JoelKatz
d3e7fb5ba0 When an object is found in the epehermal DB, put it in the cache. 2013-06-05 13:38:58 -07:00
JoelKatz
04b6eacf8e Bugfix. 2013-06-05 13:25:34 -07:00
JoelKatz
2af49fc55a Support ephemeral cache with SQLite. 2013-06-05 13:24:20 -07:00
JoelKatz
b7920f40b7 Implement the ephemeral cache. 2013-06-05 10:25:03 -07:00
JoelKatz
cc0b9ad01c LevelDB is now mandatory 2013-06-05 09:37:26 -07:00
JoelKatz
3d65ae7784 Typo 2013-06-05 09:32:44 -07:00
JoelKatz
cfc010f08e Typo 2013-06-05 09:32:33 -07:00