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
JoelKatz
74b0a7c633
Improve SHAMap missing node behavior:
...
* Prevent recursive invocation of missing node handler
* Do not throw from ledger constructor
2015-09-21 10:55:30 -07:00
JoelKatz
8f09d3449d
Improve ledger replay logic
...
Build a replay structure holding the transactions
in execution order along with the close time. Use
this structure when replaying a ledger close.
2015-09-21 10:55:30 -07:00
JoelKatz
0c7a7903b6
Use the new OpenView/OpenLedger classes
...
The server's open ledger is now an instance of the OpenView
class, managed by an instance of the OpenLedger class. This
should improve the performance of operations on open ledgers
because they are no longer Ledger/SHAMap operation.
2015-09-21 10:55:30 -07:00
seelabs
6a8d24372e
Fix Travis compile
2015-09-21 08:59:15 -07:00
Edward Hennis
884dc11365
Set version to 0.29.1-b11
2015-09-18 12:19:32 -04:00
Howard Hinnant
83830ef9c0
Install upper_bound in ReadView:
...
* And use it in doLedgerData.
2015-09-18 12:18:41 -04:00
Tom Ritchford
849e1ce5f4
Bring some constants into RPC::Tuning.h.
2015-09-18 12:18:40 -04:00
Nicholas Dudfield
4eb6020813
Add npm test for ledger_data command.
2015-09-18 12:18:39 -04:00
Tom Ritchford
d655fdca56
Honor markers in ledger_data requests (RIPD-1010).
2015-09-18 12:18:39 -04:00
seelabs
b6df6748df
Use gcc-5 in travis
2015-09-18 12:18:38 -04:00
seelabs
269809dd1a
Transitional support gcc 5.2
2015-09-18 12:18:37 -04:00
Vinnie Falco
65fdf1dc5e
Add order book stuffing tests:
...
* PlumpBook makes sure large order books remain sane
* OversizeMeta checks for tecOVERSIZE handling
* FindOversizeBook probes metadata offer limits
2015-09-18 11:51:49 -04:00
Vinnie Falco
60002bf9bc
Improve Env::ter and ter() funclet
2015-09-18 11:51:48 -04:00
Vinnie Falco
dd94de2830
jtx: Allow disabling of sig checks
2015-09-18 11:51:47 -04:00
Howard Hinnant
e1fc81f66f
Add override keyword on all derived functions:
...
This silences warnings on latest clang compiler.
2015-09-18 11:50:33 -04:00
Tom Ritchford
b2cf1e4c65
Extract common function RPC::readLimitField.
2015-09-18 11:18:17 -04:00