Vinnie Falco
3c6534dc91
Add Stoppable::alertable_sleep_for
2015-12-23 11:58:38 -05:00
Vinnie Falco
889afd0cbd
Don't check free disk space in stand-alone mode.
2015-12-23 11:58:38 -05:00
Vinnie Falco
0141aadf3e
Use alertable_sleep_for in LoadManager:
...
This allows the LoadManager to exit immediately
instead of sleeping for up to 1 second on a stop.
2015-12-23 11:58:38 -05:00
Vinnie Falco
0d6ad47051
Add Stoppable::alertable_sleep_for
2015-12-23 11:58:38 -05:00
Vinnie Falco
95dcdf7ddc
Log slow calls to Stoppable::onStop
2015-12-23 11:58:36 -05:00
Vinnie Falco
035b308d7c
Log slow calls to Stoppable::onStop
2015-12-23 11:58:36 -05:00
Nik Bougalis
81a03285ec
Set version to 0.30.1-b12
2015-12-18 22:34:00 -08:00
Miguel Portilla
cb280b10c1
Improve ledger_request response
2015-12-18 22:33:57 -08:00
JoelKatz
4f40e94c99
Fix proposal relaying (RIPD-1057):
...
Stash the signature so we can relay a proposal later
2015-12-18 22:33:57 -08:00
JoelKatz
bb944466f2
Consensus singleton and lock changes (RIPD-1054):
...
* Make LedgerConsensus object a singleton
* Protect consensus structures with their own locks
* Simplify NetworkOPs interaction with LedgerConsensus
* Log when we build and validate the same ledger
2015-12-18 22:17:03 -08:00
Nik Bougalis
2a97bd3848
Do not open peer port in standalone mode
2015-12-18 21:33:03 -08:00
Nik Bougalis
e91f18946e
Improve STTx construction:
...
* Remove the ability to construct an empty transaction by type, only
to then have to add fields to it. Instead, offer a constructor that
accepts a transaction type and a lambda that can insert fields into
the STTx during construction.
* Remove now obsolete boost::optional transaction ID.
2015-12-18 16:39:29 -08:00
Nik Bougalis
6fd11db5a9
Set version to 0.30.1-b11
2015-12-17 10:29:27 -08:00
Nik Bougalis
5185fa3a92
Check validations for currency based on close time
2015-12-17 00:00:28 -08:00
Mark Travis
f26835e507
Command line option to not log to console after startup
2015-12-17 00:00:24 -08:00
Howard Hinnant
5423fa25d4
Change the use of integrals to chrono types as appropriate
2015-12-16 11:35:59 -08:00
Miguel Portilla
d17c8e235f
Fix RPF early response (RIPD-1064)
2015-12-16 11:35:59 -08:00
Miguel Portilla
754dea8d47
Handle account_objects empty response (RIPD-958)
2015-12-16 11:35:59 -08:00
Miguel Portilla
3fa2028eb2
Add expiration to account_offers (RIPD-1049)
2015-12-16 11:35:59 -08:00
Miguel Portilla
d5c14755ce
Add owner_funds to txs in RPC ledger (RIPD-1050)
2015-12-16 11:35:59 -08:00
Howard Hinnant
e86ff5daa1
Change the use of integrals to chrono types as appropriate
2015-12-16 11:35:59 -08:00
Howard Hinnant
bacf2605a4
Simplify SHAMap::firstBelow:
...
* Add SHAMap iteration test
2015-12-16 11:35:59 -08:00
Howard Hinnant
382c9c68b8
Have upper_bound use logic in walkToPointer:
...
* Rename walkToPointer to walkToKey
* Have walkToKey optionally take a stack
2015-12-16 11:35:54 -08:00
Howard Hinnant
bdd733bc0b
Simplify initial node-finding loop in SHAMap::upper_bound
2015-12-16 11:35:40 -08:00
Howard Hinnant
05ac32064f
Remove unused SHAMap::fetch
2015-12-16 11:35:40 -08:00
Howard Hinnant
bbe7457049
Make SHMapSyncFilter virtual functions const
2015-12-16 11:35:37 -08:00
Howard Hinnant
48ed44d117
Change SHAMapSyncFilter to use SHAMapHash:
...
* This also involves changing TaggedCache to use SHAMapHash
2015-12-16 11:35:35 -08:00
Howard Hinnant
0dbacedb58
Change signature of SHAMap::getFetchPack to use SHAMapHash
2015-12-16 11:35:33 -08:00
Nik Bougalis
493752e1c6
Set version to 0.30.1-b10
2015-12-09 12:11:35 -08:00
Nik Bougalis
25fe66bafc
Report server uptime in server_info
2015-12-09 12:11:27 -08:00
Mark Travis
496fea5995
Secure gateway:
...
This is designed for use by proxies in front of rippled. Configured IPs
can forward identifying user data in HTTP headers, including
user name and origin IP. If the user name exists, then resource limits
are lifted for that session. However, administrative commands are still
reserved only for administrative sessions.
2015-12-09 11:25:57 -08:00
Miguel Portilla
810175ae95
Remove ScopedMetrics
2015-12-09 11:24:45 -08:00
JoelKatz
45b07ff9ec
Consensus ledger switch improvements
...
* Expire validations faster based on when we first saw them.
* Never jump to a ledger prior to the latest fully-valid ledger
* Drop validations with signing times too far in the future immediately
2015-12-08 10:35:41 -08:00
seelabs
469d5494ea
Search /etc/opt/ripple for rippled.cfg
2015-12-08 10:28:49 -08:00
seelabs
e19e6c6b0a
Change link order for static links
2015-12-08 03:59:36 -08:00
Nik Bougalis
f6f4452231
Set version to 0.30.1-b9
2015-12-04 20:52:35 -08:00
JoelKatz
a8cdd4f66d
Must hold lock to call LedgerConsensusImp::getJson.
2015-12-04 20:51:58 -08:00
seelabs
999701e384
Fix underflow rounding issue:
...
Very small payment could fail when STAmount::mulRound underflowed
and returned zero, when it should have rounded up to the smallest
representable value.
2015-12-01 11:02:27 -08:00
wltsmrz
4626992474
Disable deprecation warnings
2015-12-01 10:59:56 -08:00
wltsmrz
6066c254c8
Add multi-sign test
2015-12-01 10:59:56 -08:00
wltsmrz
f2dfde3ee1
Add patches for ripple-lib core
2015-12-01 10:59:55 -08:00
Vinnie Falco
2401b44bed
Use qalloc for RawStateTable and OpenView::txs_
2015-12-01 10:59:55 -08:00
Miguel Portilla
3e5ec91977
Store index before publish (RIPD-1052, RIPD-1053)
2015-12-01 10:59:55 -08:00
Miguel Portilla
108906cb20
Implement new coroutines (RIPD-1043)
2015-12-01 10:59:55 -08:00
Miguel Portilla
880f354b90
Convert throws and catch alls (RIPD-1046)
2015-12-01 10:59:55 -08:00
Nik Bougalis
0633ef1ba1
Remove already-triggered ledger switches
2015-12-01 05:48:46 -08:00
Nik Bougalis
298ef4ac4d
Improve error code lookup
2015-12-01 05:48:46 -08:00
Nik Bougalis
01c9baf8ca
Set version to 0.30.1-b8
2015-11-24 13:22:26 -08:00
JoelKatz
3c496b07f9
Don't include zero traffic levels
2015-11-24 01:34:34 -08:00
JoelKatz
9f96d7ea38
Correct delivered_amount reporting for minor ledgers (RIPD-1051)
...
The existing delivered_amount logic will erroneously report
unavailable for ledgers that aren't in the network's live
chain because it is based solely on ledger sequence number.
This adds a check based on the ledger close time to permit
the code to give correct results in standalone mode and on
test networks.
2015-11-24 01:34:34 -08:00