seelabs
dd2feb8d1f
Use boost::thread_specific_ptr instead of thread_local:
...
`thread_local` causes deployment problems with CentOS 7
2016-07-07 14:45:15 -04:00
seelabs
d790c3b671
Set version to 0.32.1-b3
2016-07-06 14:09:41 -04:00
seelabs
a56c43f3b3
Rename file to avoid duplicate object file name
2016-07-06 14:08:31 -04:00
seelabs
6f3a35e8be
Better unhandled exception handling:
...
Log thread name and exception type on unhandled exceptions and use a
terminate handler to get a stack trace that includes the function that
thows the exception.
2016-07-06 14:07:57 -04:00
seelabs
c9d8fa9e96
Rename reportUncaughtExceptions to threadEntry
2016-07-06 14:07:57 -04:00
wilsonianb
b72724a4a4
Ignore empty CONFIG_DIR for validators file (RIPD-1221)
2016-07-06 14:06:56 -04:00
seelabs
e29163e922
Set version to 0.32.1-b2
2016-07-01 17:14:37 -04:00
JoelKatz
2633949d5b
Fix access to obsolete reference in PathRequest (RIPD-1219):
...
* Don't access jvArray if newStatus is replaced
* Remove iLastLevel and use just iLevel
2016-07-01 17:13:16 -04:00
Nik Bougalis
16a38f3979
Catch unhandled exceptions in I/O service threads (RIPD-1166)
2016-07-01 17:13:16 -04:00
Scott Schurr
c4f8b38148
Remove undesirable Journal::Stream constructor:
...
Constructing a Stream from a Sink would elide specifying the
Severity level of the Stream. That constructor is removed so
if a Stream is constructed from a Sink the Severity must be
specified.
2016-07-01 17:13:16 -04:00
Scott Schurr
40678e9a78
Make debugLog() return a beast::Journal (RIPD-1209):
...
Previously, writes using debugLog() tagged every entry with
"TRC:". Now users of debugLog() must specify the severity
level they want their information logged at.
2016-07-01 17:13:16 -04:00
Miguel Portilla
8f5449dafb
Fix BaseHTTPPeer::write strand thread context
2016-07-01 17:13:16 -04:00
Nik Bougalis
8c90ef810a
Catch exception from websocketpp
2016-07-01 17:13:16 -04:00
Edward Hennis
177a52473a
Improve TxQ edge-case handling logic (RIPD-1200):
...
* HashRouter: Track relay expiration separately from item lifespan.
** Renamed `swapSet` to `shouldRelay`.
** Cleaned up `HashRouter` member names and removed unused code.
** Remove `SF_RELAYED` flag.
* Fix TxQ edge case replacing dropped transactions.
* Fix TxQ bug in maximumTxnPerAccount check.
2016-07-01 17:13:11 -04:00
Miguel Portilla
a22fa21ce4
Set version to 0.32.1-b1
2016-06-28 14:54:04 -04:00
Miguel Portilla
beb9883705
Remove incompatible OS X switches in Test.py
2016-06-28 14:53:49 -04:00
Edward Hennis
654772a860
Autofill with x-queue-okay uses mult_max fee (RIPD-1194):
...
* Only relevant if escalated fee is larger than mult_max.
* Will improved queue position, giving tx more chance to succeed.
2016-06-28 14:53:49 -04:00
Edward Hennis
9cc80b7cb6
Test.py exit code accurate in all cases (RIPD-1193):
...
* Also remove some redundant output.
2016-06-28 14:53:48 -04:00
seelabs
d46c21cc5f
Travis install clang from tar file:
...
The llvm apt repos are offline. This is a workaround to install clang
directly from a tar file.
2016-06-28 14:53:48 -04:00
seelabs
da18f7c053
Fix V2 line-quality bugs
2016-06-28 14:53:47 -04:00
Scott Schurr
0952ebfc1d
Add jtx support for trust line quality (RIPD-1094)
2016-06-28 14:53:47 -04:00
Nik Bougalis
a698104c55
Use Rate to represent transfer rates (RIPD-201, RIPD-983):
...
The Ripple protocol represent transfer rates and trust line
qualities as fractions of one billion. For example, a transfer
rate of 1% is represented as 1010000000.
Previously, such rates where represented either as std::uint32_t
or std::uint64_t. Other, nominally related types, also used an
integral representation and could be unintentionally substituted.
The new Rate class addresses this by providing a simple, type
safe alternative which also helps make the code self-documenting
since arithmetic operations now can be clearly understood to
involve the scaling of an amount by a rate.
2016-06-28 14:53:46 -04:00
Edward Hennis
f060820f3b
Sign-and-submit: Test escalated fee autofill (RIPD-1188)
2016-06-28 14:53:46 -04:00
Edward Hennis
119d5c1e47
JTx sign-and-submit mode support
2016-06-28 14:53:45 -04:00
seelabs
2d53ee4051
Add FlowV2 to supportedAmendments
2016-06-28 14:53:45 -04:00
seelabs
66f0caa309
Use protobuf int64 type
2016-06-28 14:53:45 -04:00
Howard Hinnant
d88b63d4c8
Complete SHAMap V2 cutover
2016-06-28 14:53:44 -04:00
Miguel Portilla
63a5522406
Add custom define to disable uncaught exception logging.
2016-06-27 14:35:21 -04:00
seelabs
d22eb0caa2
Set version to 0.32.0
2016-06-24 14:12:17 -04:00
seelabs
138cadc01c
Set version to 0.32.0-rc2
2016-06-23 18:29:59 -04:00
seelabs
b590e2c96f
Change RIPD-1141 Switchover date
2016-06-23 18:20:15 -04:00
seelabs
5dd8f28290
Set version to 0.32.0-rc1
2016-06-07 13:26:29 -04:00
seelabs
078436212c
Resolve warning
2016-06-07 13:26:27 -04:00
Miguel Portilla
10521de2fc
Remove obsolete Internal command (RIPD-888)
2016-06-07 13:00:55 -04:00
Edward Hennis
7d11471619
clang: Allow Travis CI builds to succeed
2016-06-07 13:00:53 -04:00
seelabs
434855f500
Fix sendMax path bug
2016-06-07 10:36:13 -04:00
seelabs
11c4ca00d5
Put flowV2 on an amendment only
2016-06-06 20:01:58 -04:00
seelabs
f16d701a2c
Add FlowDebugInfo to easily compare diffs between flow V1 and V2
2016-06-06 20:01:53 -04:00
seelabs
34d590d93a
Add balanceChanges to PaymentSandbox
...
fold
2016-06-06 20:01:53 -04:00
seelabs
a87f56448a
Prefer paths with more liquidity when qualities are equal
2016-06-06 19:52:25 -04:00
Nik Bougalis
bb61ad2afe
Set version to 0.32.0-b18
2016-06-06 07:28:38 -07:00
Nik Bougalis
57b8eb6ccd
Merge remote-tracking branch 'upstream/release' into develop
2016-06-06 07:27:30 -07:00
Edward Hennis
7f52249e40
Change fee escalation algorithms (RIPD-1177):
...
* Minimum factor 256*500, don't multiply by base fee
* Change autofill fee behavior to pay the open ledger fee.
** Experimental options: x-assume-tx - assume <int> more transactions in
the open queue when computing escalated fee, x-queue-okay - if true
and escalated fee is over limit, try with load fee.
* Port of 75af4ed .
2016-06-06 07:24:56 -07:00
Nik Bougalis
321e2a94fe
Revert "Increase minimum local fee":
...
The code is no longer necessary, as the fee is now dynamically
adjusted using the new fee escalation logic.
This reverts commit 57625e06ed .
2016-06-06 07:24:56 -07:00
Nik Bougalis
ceb01fb6a3
Correctly handle validations with no LedgerSequence
2016-06-06 07:24:54 -07:00
Nik Bougalis
2206d0ef65
Remove unused functions & cleanup code:
...
* Remove superseded ECDSA key functions
* Remove unused string helper functions
* Remove beast::FatalError
* Cleanup SSL context generation
* Improve parsing of RPC commands during startup
2016-06-06 07:24:52 -07:00
Nik Bougalis
279c2a6f82
Simplify PeerSet, InboundLedger and TransactionAcquire:
...
* Use std::mutex instead of std::recursive_mutex
* Remove unnecessary type alias
* Use std::set instead of ripple::hash_map
* Don't reinvent virtual functions
2016-06-06 07:24:50 -07:00
Nik Bougalis
d1200224e2
Update Release Notes
2016-06-06 07:24:48 -07:00
Scott Schurr
fdd1f2ec36
Log uncaught exceptions at the top of threads (RIPD-1166)
2016-06-06 07:10:36 -07:00
Edward Hennis
7295d7f4bb
RPC fee command checks open ledger rules (RIPD-1183):
...
* Matches internal getMetric() to avoid races.
2016-06-06 07:10:36 -07:00