JoelKatz
61e5359231
Track peer traffic by category
2015-10-13 17:15:46 -07:00
JoelKatz
5ee94f8928
Fix some account_tx issues: (RIPD-1035)
...
* Sanely handled specified ledger in account_tx
* Reject un-validated ledger in account_tx
* Wait to publish a ledger until it's indexed
* Add unit test for PendingSaves
2015-10-13 17:15:45 -07:00
Scott Schurr
caa4ed31de
Convert LoadManager to use std::thread (RIPD-236)
2015-10-13 17:15:45 -07:00
Nik Bougalis
570bb2e139
Use more C++11 features:
...
* Remove beast::static_initializer
* Remove noexcept VS2013 workaround
* Use [[noreturn]] attribute
2015-10-13 17:15:45 -07:00
Nik Bougalis
b7c3b96516
Remove beast::SharedData
2015-10-13 17:15:45 -07:00
Nik Bougalis
0e7c8ce554
Use OpenSSL for digests
2015-10-13 17:15:44 -07:00
Vinnie Falco
97feec6b5e
Set version to 0.30.1-b1
2015-10-06 17:01:26 -07:00
Edward Hennis
9b80081122
Add preclaim functionality to transactors:
...
The preclaim() function performs static validity
analysis of transactions using limited information
from a ledger.
2015-10-06 17:01:21 -07:00
Miguel Portilla
ad8e9a76ed
Add BookDir container and iterator (RIPD-1027)
2015-10-06 16:03:39 -07:00
Miguel Portilla
20f186d855
Path find cleanup (RIPD-1023)
2015-10-06 16:03:39 -07:00
Miguel Portilla
3af0c38315
Remove BookRef and IssueRef (RIPD-1028)
2015-10-06 16:03:38 -07:00
Nik Bougalis
6db0ceaf81
Allow multiple connections from private IPs
2015-10-06 15:52:59 -07:00
Nik Bougalis
6f81d2e45d
Warn if no outbound connections will be made
2015-10-06 15:52:59 -07:00
seelabs
442ad4e445
Suppress warnings & allow copy elision:
...
* Suppress warnings from rocksdb2
* Add `override` to rippled rocksdb functions
* Remove moves preventing copy elision
2015-10-06 13:08:48 -07:00
Vinnie Falco
9315d98aa9
Isolate Application object in Env:
...
This change causes each instance of Env to construct its own
isolated Application object for testing. Also included is
part of a framework to create multiple Application objects
in the same unit test and connect them together.
2015-10-06 13:08:47 -07:00
Scott Schurr
19903674af
Improve syntax of submit_multisigned [RIPD-182]
...
In usage it was determined that the submit_multisigned RPC
command could be improved by moving the Signers array inside the
tx_json in the submitted form of the command. This has the
advantage that the RPC command is more similar to the native form.
Also the returned JSON looks more like the submitted JSON.
2015-10-06 13:08:47 -07:00
Scott Schurr
434a63fa07
Improve tecNO_ALTERNATIVE_KEY error text (RIPD-182)
2015-10-06 13:08:47 -07:00
Scott Schurr
b44d68ea5d
Trap another malformed transaction form (RIPD-182):
...
A transaction with both a Signers array and a TxnSignature field
is malformed.
2015-10-06 13:08:46 -07:00
Nik Bougalis
f424ae6942
Use standard C++ types instead of type aliases:
...
* Remove ripple::RippleMutex and ripple::RippleRecursiveMutex
and use std::mutex and std::recursive_mutex respectively.
* Use std::lock_guard instead of std::unique_lock when the
additional features of std::unique_lock are not needed.
2015-10-06 13:08:46 -07:00
JoelKatz
333ba69d60
Some trivial cleanups/fixes:
...
* Avoid throwing in OrderBookDB::processTxn
* Fix missing space in debug output
* Avoid duplicate lock of PathRequest in updateAll
* Avoid shadowing in insertPathRequest
* Improve indentation in runOnCoroutine
* Remove extraneous space in ServerHandlerImp::processRequest
2015-10-06 13:08:46 -07:00
David Schwartz
5b6cc3b036
Make sure LedgerHistory::builtLedger gets called
2015-10-06 13:08:45 -07:00
Vinnie Falco
8b8334af86
Set admin privileges on websocket:
...
When the websocket connection is established, any configured administrative
privileges are applied to resource limits.
2015-10-06 13:08:45 -07:00
Vinnie Falco
84c0ae1c6d
OpenSSL: Visual Studio 2015 support
2015-10-06 13:08:45 -07:00
Miguel Portilla
caccee1d98
Set version to 0.30.0-rc1
0.30.0-rc1
2015-10-01 14:18:56 -04:00
seelabs
379110a8a2
Improve treatment of signature components
2015-09-30 21:44:02 -04:00
Miguel Portilla
8d37cd9169
Disable RPC coroutines
2015-09-30 19:05:00 -04:00
Nik Bougalis
b40ade5165
Set version to 0.30.0-b1
2015-09-28 17:30:42 -07:00
wilsonianb
c475b23c7d
Fix and update rippled.spec for rpm builds
2015-09-28 17:24:05 -07:00
Miguel Portilla
d6b9cfcc34
Enable websocket coroutines
2015-09-28 17:24:05 -07:00
JoelKatz
0c05bd3def
Improve transport security:
...
* Add fields for local and remote IP addresses in hello.
* Add configuration for known local public IP address
* Set fields appropriately
* Check the fields
* Disallow self connection by key
2015-09-28 17:24:05 -07:00
JoelKatz
8f7ab21423
IPAddressV4 fixes:
...
* Loopback addresses are not publicly routable
* The Internet is not classful
2015-09-28 17:24:04 -07:00
JoelKatz
07418cfb34
Make transaction ordering much more difficult to predict
...
Randomize the initial transaction execution order for closed
ledgers based on the hash of the consensus set. Transaction
processing change will take effect October 27, 2015 at
11:00 AM Pacific time.
2015-09-28 17:24:04 -07:00
Vinnie Falco
ac9816c01d
Release PeerFinder slot on error
2015-09-28 17:24:04 -07:00
Nik Bougalis
bd3e4ac11c
Correctly parse the --rpc_port command line argument
2015-09-28 16:49:46 -07:00
Nik Bougalis
926d08db6f
Adjust ledger switch time and disambiguate logging:
...
- The new activation date for 1e9624270d
is now October 27, 2015 at 11:00 PDT
2015-09-28 16:49:35 -07:00
Nik Bougalis
a23f6457dc
Initialize HTTP client after the config is loaded
2015-09-27 13:17:20 -07:00
Vinnie Falco
4f9dba22c7
Set version to 0.29.1-rc1
0.29.1-rc1
2015-09-25 16:21:44 -07:00
Vinnie Falco
97e1a7db25
Merge branch 'release' into develop
2015-09-25 16:21:16 -07:00
JoelKatz
e03effd63b
Disable compatible ledger safety if quorum is strict
2015-09-25 14:18:18 -07:00
JoelKatz
f9a65e4966
Add '--valid" command line option to consider starting ledger valid
2015-09-25 14:18:06 -07:00
JoelKatz
3c52fdfabe
Allow the "quorum" command line option to lock the quorum
2015-09-25 14:18:03 -07:00
Vinnie Falco
938b2fed7c
Set version to 0.29.1-b14
2015-09-25 13:43:32 -07:00
JoelKatz
d6875975ab
Fix OpenLedger::empty:
...
* Fix logic of OpenLedger::empty
* Add regression test
* Remove some dead code
2015-09-25 11:37:54 -07:00
seelabs
92b2ca70b7
Inject journals:
...
Calls to WriteLog are replaced with injected journals
2015-09-25 06:29:08 -07:00
Vinnie Falco
df6ac8f7f5
Use injected Logs
2015-09-25 06:29:07 -07:00
Nik Bougalis
fa796a2eb5
Inject Config:
...
* Use dependency injections instead
* Remove deprecated fee interfaces
2015-09-25 06:29:07 -07:00
Miguel Portilla
c7b3153958
Upgrade ripple-lib. Fix OS X warnings
2015-09-24 20:22:07 -04:00
Vinnie Falco
5bbb89753d
Set version to 0.29.1-b13
2015-09-22 17:06:23 -07:00
Miguel Portilla
654084d181
Allow partialPayment with path_find
2015-09-22 17:05:51 -07:00
Nik Bougalis
094f08211a
Set version to 0.29.1-b12
2015-09-21 10:55:57 -07:00