JoelKatz
c1ecd661c3
Fix broken assert in built/validated ledger mismatch handler
2014-10-01 08:47:54 -07:00
JoelKatz
b27e2aad07
Improve transaction security
...
* Check signatures of every transaction on every validator
* Remove obsolete code
* Check transaction status in submit/sign RPC handler
2014-10-01 08:47:54 -07:00
MarkusTeufelberger
5ce508e09d
Change output range names of ledger_cleaner
...
The input parameters are called "min_ledger" and "max_ledger", they are also called "minRange" and "maxRange" in the code BUT "ledger_min" and ledger_max" if printed. This is inconsistent and should be changed, as it might lead to confusion on how to call this module via RPC.
2014-10-01 08:47:53 -07:00
Nik Bougalis
3cfa5a41b1
Improve BuildInfo interface:
...
* Remove unnecessary beast::String dependency
* Explicitly cast to result type while packing a version
* Add unit tests for version formatting
2014-10-01 08:47:53 -07:00
Vinnie Falco
6c072f37ef
Remove unused testoverlay module
2014-10-01 08:47:53 -07:00
Nik Bougalis
dbd993ed2b
Use namespaces instead of static-only classes
2014-10-01 08:47:52 -07:00
Nik Bougalis
45b5c4ba7a
Use deleted members to prevent copying in Beast (RIPD-268)
2014-10-01 08:47:52 -07:00
Nik Bougalis
7933e5d1f9
Use deleted members to prevent copying in rippled (RIPD-268)
2014-10-01 06:28:32 -07:00
Vinnie Falco
01e52e6f9f
Use trusted validators median fee
...
Conflicts:
src/ripple/app/misc/Validations.cpp
2014-10-01 06:28:32 -07:00
Vinnie Falco
40a955e192
Consume handshake data in HTTP/S server
2014-10-01 06:28:12 -07:00
Vinnie Falco
6dfc805eaa
Rewrite HTTP/S server to use coroutines:
...
* Fix bug with more than one complete request in a read buffer
* Use stackful coroutines for simplified control flow
* Door refactored to detect handshakes
* Remove dependency on MultiSocket
* Remove dependency on handshake detect logic framework
2014-09-30 13:29:32 -07:00
Vinnie Falco
5ce6068df5
Remove obsolete SharedArg
2014-09-29 07:18:51 -07:00
Nik Bougalis
bf9b8f4d1b
Use secure RPC connections when configured
2014-09-28 04:39:49 -07:00
Vinnie Falco
d618581060
Config improvements:
...
* More fine-grained Section mutators
* Add remap for mapping legacy single sections to key value pairs
* Add output stream operators for BasicConfig and Section
* Allow section values to be overwritten from command line
* Update rpc key/value configs from command line
* Add RPC::Setup with defaults and remap legacy rpc sections
2014-09-28 04:39:49 -07:00
David Schwartz
2936bbfae8
Make path filtering smarter (RIPD-561)
...
* Break path liquidity checking into its own function
* Measure initial quality over minimum destination amount
* Test for available liquidity
2014-09-24 11:54:12 -07:00
Nik Bougalis
47b08bfc02
Add --quorum command line argument (RIPD-563)
2014-09-24 11:19:39 -07:00
Nik Bougalis
da4f77ca1f
Return correct error message for invalid fields
2014-09-24 11:19:38 -07:00
David Schwartz
1c0a75d467
Distinguish Byzantine failure from tx bug (RIPD-523)
2014-09-24 11:19:38 -07:00
Nik Bougalis
659cf0c221
Decouple LedgerMaster from configuration
2014-09-24 11:19:38 -07:00
Howard Hinnant
430229fd84
Mark several Ledger member functions as const.
2014-09-24 11:19:37 -07:00
Howard Hinnant
81699a0971
Add +DEBUG to the raw version string for DEBUG builds.
...
This will show up in the rpc server_info command.
There is no impact on the version string for release builds.
2014-09-24 11:19:37 -07:00
MarkusTeufelberger
c54aff74b3
Build gcc.debug using -Og flag
...
Since gcc 4.8 is required anyways, it might be nice to use its features.
Intro to feature (second bullet point):
https://gcc.gnu.org/gcc-4.8/changes.html
-g (line 328) is still needed:
http://stackoverflow.com/questions/12970596/gcc-4-8-does-og-imply-g
2014-09-24 11:19:37 -07:00
Mark Travis
7f43ab9097
Improvements to SConstruct:
...
* Default target is release instead of debug (scons with no arguments).
* All targets now include debug symbols, including release.
Rationale: "out of the box" builds of rippled using plain "scons" or "scons -j4" will produce
a debug instead of a release build, which could underperform.
2014-09-24 11:19:36 -07:00
Miguel Portilla
d78f740250
Add account_offers paging (RIPD-344)
2014-09-19 16:38:10 -07:00
Miguel Portilla
cd1bd18a49
Add account_lines paging (RIPD-343)
2014-09-19 16:18:50 -07:00
sublimator
f81b084448
Set page sizes for ledger_data correctly (RIPD-249)
2014-09-19 16:16:49 -07:00
Howard Hinnant
a0c903c68c
Add needed #include <istream>
...
This is needed for the combination of boost 1.56 and libc++
2014-09-19 10:29:14 -07:00
JoelKatz
6aa325d3da
On missing node in consensus, bow out (RIPD-567)
2014-09-18 15:12:45 -07:00
Nik Bougalis
526ecd6a81
Detect invalid inputs during STAmount conversion (RIPD-570):
...
* More robust validation of input
* XRP may not be specified using fractions
* Prevent creating native amounts larger than max possible value
* Add unit tests to verify correct parsing
2014-09-18 12:46:21 -07:00
Nik Bougalis
d373054fc4
Templetize and improve beast string-to-integer conversions:
...
* Properly handle numbers at the edge of precision
* Improve and expand unit test coverage
2014-09-18 12:46:16 -07:00
Vinnie Falco
b6d9f1d4b2
Add fee voting configuration and docs (RIPD-564)
2014-09-17 12:22:51 -07:00
Vinnie Falco
3fef916972
Move some constants to core/SystemParameters.h
2014-09-17 12:22:49 -07:00
Vinnie Falco
89a51e5b91
Split Section to its own header and add convenience accessors
2014-09-17 12:22:49 -07:00
miguelportilla
f87a6ccc7a
Fix missing includes for boost 1.56.0
2014-09-16 15:22:00 -07:00
Nik Bougalis
f65cea66ef
Remove unused macros, config variables, and file
2014-09-16 14:15:13 -07:00
Vinnie Falco
4239880acb
Clean up and restructure sources
2014-09-16 14:15:12 -07:00
Vinnie Falco
1dcd06a1c1
Add missing includes and tidy up
2014-09-16 14:03:50 -07:00
Vinnie Falco
0f30191d10
Refactor STAmount:
...
* Remove unused functions
* Remove unused constructor
* Use delegating constructors
* Mark some observers deprecated
* Clean up declaration parameter names
* Add checked and unchecked constructors
* De-inline unnecessary inlined functions
* Reorder and regroup members into sections
* Move globals from the unity file to the .cpp
* Change some member functions to be free functions
* Put implementation in one .cpp and the test in another .cpp
Remove unused STAmount constructor and delegate two others No change in functionality.
2014-09-16 07:39:50 -07:00
Vinnie Falco
8fb9d5daaa
Set version to 0.26.4-alpha
2014-09-15 18:20:47 -07:00
Nik Bougalis
ed3c942ff1
Inject JobQueue in NetworkOPs
2014-09-15 16:05:01 -07:00
Nik Bougalis
80436d4a8b
Cleanups:
...
* Remove obsolete string formatting function
* Remove unused ADDRESS macro
* Re-scope functions
2014-09-15 16:04:48 -07:00
Howard Hinnant
cfc702c766
Fix beast::http::headers move members
2014-09-15 16:03:36 -07:00
Vinnie Falco
88ae15ea8e
Add base64 conversions and tests
2014-09-15 14:52:42 -07:00
Vinnie Falco
6bafca7386
Use transform_iterator in http::headers
2014-09-15 14:52:42 -07:00
Vinnie Falco
379e842080
Add BasicConfig simplified config interface
2014-09-15 12:46:04 -07:00
Vinnie Falco
c41ce469d0
Cleanup:
...
* Move QUALITY_ONE to Quality.h
* Move functional files up one level
* Remove core.h
* Merge routines into Config.cpp
* Rename Section to IniFileSections
* Rename IniFileSections routines
2014-09-15 12:21:36 -07:00
Vinnie Falco
a1ca68473d
Merge branch 'release' into develop
2014-09-14 15:39:09 -07:00
Nik Bougalis
3345d03433
Avoid conversions whenever possible during RippleState lookups
2014-09-13 11:06:38 -07:00
Nik Bougalis
81a426608a
Make log partitions case-insensitive
2014-09-13 11:06:19 -07:00
Vinnie Falco
2ad6f0a65e
Set version to 0.26.3-sp1
0.26.3-sp1
2014-09-12 15:22:54 -07:00