Scott Schurr
a9a4e2c8fb
Add Destination to Check threading
2019-09-07 11:39:02 -07:00
Miguel Portilla
56eac5c9a1
Fix rand_int assert in shard store
2019-09-07 11:39:02 -07:00
Miguel Portilla
4b1970afa9
Log database connection error
2019-09-07 11:39:02 -07:00
Miguel Portilla
22c9de487a
Add shard thread safety
2019-09-07 11:39:02 -07:00
Miguel Portilla
66fad62e66
Implement Shard SQLite support
2019-09-07 11:39:02 -07:00
seelabs
5834fbbc5d
Set version to 1.4.0-b2
2019-08-23 11:33:59 -07:00
seelabs
c2d2ba9f45
Simplify code using if constexpr:
...
Also simplify msig construction
2019-08-23 11:33:59 -07:00
seelabs
1eb3753f26
Replace from_string_checked pair return type with optional<Endpoint>
2019-08-23 11:33:59 -07:00
seelabs
0a256247a0
Replace strUnHex pair return type with optional<Blob>
2019-08-23 11:33:59 -07:00
seelabs
7912ee6f7b
Use structured bindings in some places:
...
Most of the new uses either:
* Replace some uses of `tie`
* bind to pairs when iterating through maps
2019-08-23 11:33:59 -07:00
seelabs
9c58f23cf8
Replace unordered_map::emplace with insert_or_assign
2019-08-23 08:47:43 -07:00
seelabs
9245b0b666
Use std::gcd to implement lowestTerms
2019-08-23 08:47:43 -07:00
seelabs
92925a0af6
Use [[fallthrough]] in some switch statements
2019-08-23 08:47:43 -07:00
seelabs
70c2e1b419
remove make_Amounts:
...
* c++-17's class template type deduction can replace this function
2019-08-23 08:47:43 -07:00
seelabs
5d1728cc96
Use class template argument deduction for locks
2019-08-23 08:47:43 -07:00
seelabs
4076b6d92e
Replace for_each_arg trick with fold expressions
2019-08-23 08:47:42 -07:00
seelabs
b9e73b4852
Fix shadowing variables
2019-08-23 08:47:42 -07:00
seelabs
014df67fed
Remove unused member variable
2019-08-23 08:47:35 -07:00
Mike Ellery
7fa9b91d23
Fix jenkins/travis CI:
...
* remove clang builds from jenkins
* disable windows travis cache
* limit make parallelism
* update linux CI image
2019-08-23 08:41:49 -07:00
Nik Bougalis
98c4a7a2b1
Set version to 1.4.0-b1
2019-08-19 06:58:55 -07:00
Vishwas Patil
c04c00d279
Add "sahyadri.isrdc.in" to list of bootstrap nodes
2019-08-19 06:58:50 -07:00
Mo Morsi
1942fee581
Modernize code and clean up out-of-date or obsolete comments:
...
- Remove references to nodestore ledger index. This was removed
in f946d7b447 .
2019-08-19 06:58:50 -07:00
seelabs
b3c85e2709
Remove unused TER code from StrandResult
2019-08-19 06:58:50 -07:00
seelabs
561942da23
Use enums for some parameters in payments:
...
* Use enums for StrandDirection, DebtDirection, and QualityDirection
2019-08-19 06:58:50 -07:00
seelabs
c217baa367
Enable C++17
2019-08-19 06:58:50 -07:00
Howard Hinnant
c699864c85
Fix incorrect snapShot unsharing
...
This fixes #3020 .
2019-08-19 06:58:50 -07:00
Howard Hinnant
4ff0f482c3
Remove unneeded and unused base classes in insight
2019-08-19 06:58:50 -07:00
Mike Ellery
cbc6e500b6
Set minimum versions for gcc/clang
2019-08-16 10:33:08 -07:00
John Freeman
87e9ee5ce9
Add support for reserved peer slots:
...
This commit allows server operators to reserve slots for specific
peers (identified by the peer's public node identity) and to make
changes to the reservations while the server is operating.
This commit closes #2938
2019-08-05 17:46:24 -07:00
Miguel Portilla
9e117b7b38
Fix shard path detection
2019-08-04 20:48:08 -07:00
Miguel Portilla
a02d914093
Move shard store init to Application
2019-08-04 20:48:08 -07:00
Miguel Portilla
c5a95f1eb5
Remove SQLite Validations table
2019-08-04 20:01:34 -07:00
Manoj doshi
e1adbd7ddd
Set version to 1.3.1
2019-07-24 15:22:24 -07:00
Joseph Busch
355a7b04a8
Add a LogicError when a deadlock is detected
2019-07-24 14:08:47 -07:00
Mark Travis
7c24f7b170
Improve logging during process startup.
2019-07-24 13:55:38 -07:00
Nik Bougalis
caa5c9e223
Set version to 1.3.0
2019-07-09 13:56:37 -07:00
Manoj doshi
846538304f
Set version to 1.3.0-rc2
2019-07-09 13:50:12 -07:00
Mo Morsi
7b7e3b6750
Return WS error on closure when balance threshold exceeds
2019-07-09 13:50:12 -07:00
Miguel Portilla
a988b3224f
Use NuDB context with backends
2019-07-09 13:50:12 -07:00
Scott Schurr
89b3bf0796
Stabilize RPC error code values:
...
The original intent was that RPC error codes were not stable.
But those codes were made available through the API, so some
users came to depend on the code values. This change adapts
to the current state of affairs.
2019-07-09 13:50:12 -07:00
seelabs
6d8988b78a
Improve handling of revoked manifests:
...
Manifests which are revoked can include ephemeral keys although doing
so does not make sense: a revoked manifest isn't used for signing and
so don't need to define an ephemeral key.
2019-07-09 13:38:59 -07:00
Manoj doshi
45403b877f
Set version to 1.3.0-rc1
2019-06-25 12:03:18 -07:00
Manoj doshi
f17d9bc421
Set version to 1.3.0-b6
2019-06-21 14:59:08 -07:00
Nik Bougalis
ba2714fa22
Make protocol message counters more granular:
...
A running instance of the server tracks the number of protocol messages
and the number of bytes it sends and receives.
This commit makes the counters more granular, allowing server operators
to better track and understand bandwidth usage.
2019-06-21 14:53:50 -07:00
Mike Ellery
2c4b3d515d
Trim whitespace for all config lines
...
FIXES: 2979
2019-06-21 14:48:45 -07:00
Manoj doshi
efa926676c
Set version to 1.3.0-b5
2019-06-13 21:06:25 -07:00
Scott Schurr
dc24748c24
Improve locking of PeerImp member variables
2019-06-13 20:59:28 -07:00
Mo Morsi
f8365f5009
Add JsonOptions enum class to contain options passed to getJSON methods
2019-06-13 20:40:33 -07:00
Mike Ellery
bfad96dbb9
Force snappy compression for RocksDB (remove option):
...
FIXES: https://github.com/ripple/rippled/issues/2860
* Also remove RocksDBQuick backend which is non-functional.
2019-06-13 20:38:42 -07:00
Howard Hinnant
773dcd1d48
Modernize base_uint:
...
* Add construction and assignment from a generic
contiguous container. Both compile-time and run time
safety checks are made to ensure the safety of this
conversion.
* Remove base_uint::copyFrom. The generic copy assignment
operator now does this functionality with enhanced
safety and better syntax.
* Remove construction from and dedendence on Blob.
The generic constructor and assignment now handle this
functionality.
* Fix client code to adhere to this new API.
* Removed the use of fromVoid in PeerImp.cpp as it was
an inappropriate use of this dangerous API. The
generic container constructors do it with enhanced
safety and better syntax.
* Rename data member pn to data_ and make it private.
* Remove constraint from hash_append
* Remove array_type alias
2019-06-13 20:37:29 -07:00