Vinnie Falco
fe83f471f5
Use duration in insight::Event, add chrono_util
2014-01-21 10:28:35 -05:00
Vinnie Falco
7570b6489d
Fix and tidy up NodeStore
...
* Use std::unique_ptr
* Move globals to Manager singleton (fixes RocksDB exit crash)
2014-01-17 15:21:51 -05:00
Vinnie Falco
c341d1a71e
Tidy up for C++11, and fixes:
...
* Remove shared_ptr legacy support
* Add make_unique support for pre-C++14 environments
* Fix comparison bug in sqdb
* Use std::shared_ptr in a few places
2014-01-17 12:19:04 -05:00
Vinnie Falco
fa10e90c9d
Use abstract_clock
2014-01-17 12:19:04 -05:00
Vinnie Falco
544642a6ea
Fix io_latency_probe hang on exit
2014-01-13 18:24:22 -08:00
Vinnie Falco
4d5df92cbc
Add io_latency_probe
2014-01-10 22:54:00 -08:00
JoelKatz
4591658160
PathRequests object to own all path requests.
2014-01-10 22:53:57 -08:00
Vinnie Falco
34fb12344c
Fix JobQueue
2014-01-08 14:55:10 -08:00
Vinnie Falco
62516ef07f
Refactor TaggedCache
2014-01-07 21:14:14 -08:00
Vinnie Falco
087301933a
General refactoring, using C++11
...
* Remove broken RecycledObjectPool
* Fix beast::ServiceQueue using List instead of LockFreeStack
* Add class semaphore, fixes broken Semaphore
* Move crytpo module files to new beast directory
* Use c++11 replacements for boost and beast types:
- std::atomic instead of beast::Atomic
- std::function instead of boost::function, beast::function
- std::unique_ptr instead of beast::ScopedPointer
- std::shared_ptr instead of boost::shared_ptr
* Remove modules:
- beast_db
- beast_crypto
- beast_extras
* Remove unnecessary classes:
- AbstractFifo
- AddConst
- AtomicCounter
- AtomicFlag
- AtomicPointer
- AtomicState
- CopyConst
- Expression
- ForwardList
- IfCond
- Interval
- IntrusiveArray
- KeyvaDB
- PointerToOther
- PointerTraits
- RemoveConst
- RemoveConstVolatile
- RemoveReference
- RemoveVolatile
- SharedObjectArray
- SingleThreadedSharedObject
- SophiaDB factory
- SortedSet
- WeakReference
- beast::unique_ptr
2014-01-07 15:57:45 -08:00
Vinnie Falco
4b1155bf32
Improved diagnostic for RocksDB error codes
...
Conflicts:
Builds/VisualStudio2012/RippleD.vcxproj.filters
2014-01-07 15:46:38 -08:00
NATTSiM
9bdb0774ad
Make InboundLedgers, LedgerConsensus abstract
2013-12-27 16:48:03 -08:00
Vinnie Falco
81d418007a
Add CollectorManager for Beast.Insight support
2013-12-16 18:08:11 -08:00
JoelKatz
636d722e8d
Memory-conserving changes to SHAMapTreeNode and visitLeavesInternal.
2013-12-08 23:52:54 -08:00
JoelKatz
9996e4a57e
The new recommended fee schedule is:
...
* Transaction fee: 10 drops
* Base reserve: 20 XRP
* Incremental reserve: 5 XRP
2013-12-04 19:07:58 -08:00
JoelKatz
ed64c8bb29
Add LedgerCleaner:
...
* Manually invoked to clean ledgers
* Get status with: 'print app.ledgercleaner.*'
* Invoke or control with 'ledger_cleaner' command
2013-11-26 21:50:35 -08:00
JoelKatz
4d1c2a5798
Make --import work
2013-11-22 18:01:13 -08:00
Vinnie Falco
4ad84a339f
Make LedgerMaster abstract
2013-11-18 15:04:17 -08:00
Vinnie Falco
d8707cad2c
Refactor logging
2013-11-15 13:25:56 -08:00
David Schwartz
58f07a573f
New ResourceManager for managing server load.
...
* Track abusive endpoints
* Gossip across cluster.
* Use resource manager's gossip support to share load reporting across a cluster
* Swtich from legacy fees to new Resource::Charge fees.
* Connect RPC to the new resource manager.
* Set load levels where needed in RPC/websocket commands.
* Disconnect abusive peer endpoints.
* Don't start conversations with abusive peer endpoints.
* Move Resource::Consumer to InfoSub and remove LoadSource
* Remove port from inbound Consumer keys
* Add details in getJson
* Fix doAccountCurrencies for the new resource manager.
2013-11-12 21:08:52 -08:00
Vinnie Falco
b08c7d15cd
Stoppable, make stop() require call to start()
2013-11-01 13:31:38 -07:00
Vinnie Falco
a39fa8ae5f
New SiteFiles for fetching and managing ripple.txt files
2013-10-31 08:10:06 -07:00
Vinnie Falco
a1b487c512
New Resource::Manager for controlling access to server resources
2013-10-18 16:04:31 -07:00
Vinnie Falco
fb6ecebbd1
Add PropertyStream for server state introspection
2013-10-07 14:00:03 -07:00
Vinnie Falco
1ae3328642
Add PropertyStream
2013-10-06 17:30:44 -07:00
Vinnie Falco
678c241962
Validators work
2013-10-04 14:33:57 -07:00
Vinnie Falco
a2aa938e10
Remove Journal from most Stoppable overrides
2013-10-04 14:33:57 -07:00
Vinnie Falco
48eb92e366
Validators work
2013-10-04 14:33:56 -07:00
Vinnie Falco
66a272debd
Alphabet class for base58 conversions, Validators work
2013-10-04 14:33:56 -07:00
Vinnie Falco
4fe63f9f0d
PeerFinder work
2013-10-01 14:29:32 -07:00
Vinnie Falco
c82b1b1853
Validators improvements
2013-09-28 19:47:40 -07:00
Vinnie Falco
00a714d14d
Implement Stoppable for LoadManager
2013-09-28 17:40:46 -07:00
Vinnie Falco
8e58551475
Add Stoppable prepare and start interfaces
2013-09-28 15:30:01 -07:00
Vinnie Falco
6602aff53d
Update Validators for ServiceQueue
2013-09-28 15:09:10 -07:00
Vinnie Falco
fcd689afbf
Update copyright notice and licenses
2013-09-25 17:27:06 -07:00
David Schwartz
2f77ca416a
PEER_PRIVATE suppresses outbound connections to unconfigured peers.
2013-09-24 15:40:24 -07:00
JoelKatz
d90c2c0e11
Fix erroneous 1-2 in complete ledgers.
2013-09-23 13:04:22 -07:00
Vinnie Falco
5bd6fb27e6
Split up RPCService
2013-09-22 13:27:23 -07:00
Vinnie Falco
d16aa7f928
Use JobQueue to process RPC-JSON asynchronously
2013-09-22 13:22:06 -07:00
Vinnie Falco
0dc3cf07d0
Add HTTPServer
2013-09-22 11:52:22 -07:00
Vinnie Falco
ec6c09d995
Rename to Stoppable
2013-09-22 11:51:44 -07:00
Vinnie Falco
e59293ec92
Add RPCService, call the Manager from RPCServerHandler
2013-09-21 16:58:55 -07:00
Vinnie Falco
85fc59b28b
Refactor NodeStore, add NodeStoreSchedulerService
2013-09-20 01:12:21 -07:00
Vinnie Falco
e6e090c542
Fixes for Service API hang on exit during unit tests
2013-09-19 19:41:55 -07:00
Vinnie Falco
89b1859929
Refactor Application shutdown using new Service, AsyncService interfaces
2013-09-19 17:18:43 -07:00
Vinnie Falco
ff674a32e2
Remove unused and broken classes
2013-09-19 14:42:49 -07:00
Vinnie Falco
f22e91cb9e
Use Thread in LoadManager
2013-09-19 14:42:48 -07:00
Vinnie Falco
846b8e339c
Tidy and rename all Ripple source files
2013-09-13 16:58:24 -07:00