Howard Hinnant
81238e21a5
Force BOOST_ASIO_HAS_STD_ARRAY to 1
...
for the clang / gcc libstdc++ 4.8 combination
2014-04-03 14:58:28 -04:00
Howard Hinnant
fd9206584f
Sub in std::array for boost::array and beast::FixedArray
2014-04-03 14:02:34 -04:00
Howard Hinnant
cc354ee9f2
Sub in std::array for boost::array and beast::FixedArray
2014-04-03 14:02:34 -04:00
JoelKatz
90842073bf
Must set flags before signing validation.
2014-04-02 18:39:59 -07:00
Nik Bougalis
a5488c3727
Autobridging hooks and cleanups:
...
- Detect when we should autobridge and get bridge books.
- Move applyOffer from STAmount into the OfferCreate transactor.
2014-04-02 18:39:59 -07:00
Nik Bougalis
166b8963bb
Don't create peer doors in standalone mode
2014-04-02 14:16:24 -07:00
Nik Bougalis
c51644f1b9
More robustly validate signature inputs, closes #313
2014-04-02 14:16:07 -07:00
Vinnie Falco
f124a34730
Fix assert invariant in Peers::close_all
2014-04-01 10:24:55 -07:00
Howard Hinnant
2ab7cfbf30
New hash_append robust container hash function framework:
...
* is_contiguous_hashable trait identifies optimizable types
* hash_append() function overloads for basic types:
- scalars, floats
- array, C array
- pair, tuple
- boost array and tuple (if configured)
* Provided Spooky hash wrapper for use with hash_append
* Use hash_append in hardened_hash and other places
* New Utility meta functions for working with variadics:
- static_and
- static_sum
* Added type_name utility function for diagnostics
* hash_metrics suite of functions to evalulate hash functions
* Test suites to measure hash function performance
* Various fixes
2014-03-31 15:49:23 -07:00
Howard Hinnant
30e882196f
New hash_append robust container hash function framework:
...
* is_contiguous_hashable trait identifies optimizable types
* hash_append() function overloads for basic types:
- scalars, floats
- array, C array
- pair, tuple
- boost array and tuple (if configured)
* Provided Spooky hash wrapper for use with hash_append
* Use hash_append in hardened_hash and other places
* New Utility meta functions for working with variadics:
- static_and
- static_sum
* Added type_name utility function for diagnostics
* hash_metrics suite of functions to evalulate hash functions
* Test suites to measure hash function performance
* Various fixes
2014-03-31 15:49:23 -07:00
David Schwartz
14830c7cb4
Avoid redundant unlock
2014-03-31 09:11:52 -07:00
JoelKatz
5a21269da4
mRecentPositions must be protected by the master lock.
2014-03-28 13:45:53 -07:00
JoelKatz
cc5466d450
Reject expired transactions immediately
2014-03-28 10:33:53 -07:00
JoelKatz
a068bff9c1
Set fully-canonical flag in transactions and validations.
2014-03-28 09:34:22 -07:00
David Schwartz
1e54472a1d
Clean local transaction checks. Check account field size
2014-03-25 16:20:22 -07:00
David Schwartz
be9e18ddb8
Track and re-appply LocalTransactions as needed
2014-03-25 16:20:22 -07:00
JoelKatz
5d1aec6280
Charge for pathfinding updates.
2014-03-25 16:20:22 -07:00
JoelKatz
0442b3a683
Change resource costs.
2014-03-25 16:20:22 -07:00
Vinnie Falco
6b467e7e59
Move hardened_hash to container/
2014-03-25 15:22:34 -07:00
Vinnie Falco
bbc8a8fdc4
Move hardened_hash to container/
2014-03-25 15:22:34 -07:00
Vinnie Falco
d64f5a387c
Add beast SConstruct and .travis.yml
2014-03-25 15:22:34 -07:00
Vinnie Falco
428872731a
Add beast SConstruct and .travis.yml
2014-03-25 15:22:34 -07:00
Nik Bougalis
015d91b50d
OfferCreateTransactor cleanups:
...
- Use std containers instead of their boost counterparts
- Reduce transactor console verbosity
- Remove unneeded parameter shadowing member variable
- Remove BOOST_FOREACH
- Add comments
- Small cleanups
2014-03-25 15:22:33 -07:00
Nik Bougalis
cc6cd0bb8f
Transactor journal support and small cleanups
2014-03-25 15:22:13 -07:00
Nik Bougalis
436061be22
Transactor journal support and small cleanups
2014-03-25 15:22:13 -07:00
Nik Bougalis
d447a1db39
Refactor ECDSA canonical checks:
...
* Add signature canonicalization unit tests
* Tidy up into new classes and functions
2014-03-25 15:22:13 -07:00
Luke Cyca
a4a7dd4314
Fedora RPM support:
...
- Add RPM spec file
- Whitelist Fedora during SConstruct
2014-03-24 14:07:36 -07:00
Roberto Catini
4886772ca3
Add Arch Linux PKGBUILD:
...
The install process will first fetch the tip of the master branch
to build the latest official rippled release. It will also create
all the necessary data directories in /var.
An optional systemd service definition file is included.
2014-03-24 14:07:27 -07:00
The Doctor
0f19efac2d
Example configuration file update:
...
- Fix config database default location.
- Add SSL/TLS for WebSockets config. Currently commented out.
2014-03-24 14:07:19 -07:00
Vinnie Falco
3fbff6e620
beast cleanup and tidying:
...
* Replace custom types with C++11 <cstdint> types
* Fix sqlite integer intos and uses
* Fix String implicit integer constructors
* Escape the enclosing namespace in sqdb
* Replace contract checks with assert
* Make many header files compile independently
* Remove the dependence on beast_core.h in many places
* Remove unused or obsolete classes and functions
* Remove unused or obsolete macros
* Remove unused network functions and files
* Remove unused or obsolete classes:
- ChildProcess
- HighResolutionTimer
- InterProcessLock
- Throw
- TrackedMutex
- UntrackedMutex
- XmlDocument
- XmlElement
2014-03-23 15:23:55 -07:00
Vinnie Falco
b2d97703c6
beast cleanup and tidying:
...
* Replace custom types with C++11 <cstdint> types
* Fix sqlite integer intos and uses
* Fix String implicit integer constructors
* Escape the enclosing namespace in sqdb
* Replace contract checks with assert
* Make many header files compile independently
* Remove the dependence on beast_core.h in many places
* Remove unused or obsolete classes and functions
* Remove unused or obsolete macros
* Remove unused network functions and files
* Remove unused or obsolete classes:
- ChildProcess
- HighResolutionTimer
- InterProcessLock
- Throw
- TrackedMutex
- UntrackedMutex
- XmlDocument
- XmlElement
2014-03-23 15:23:55 -07:00
Vinnie Falco
5eb0aa2765
Add hardened_hash, prevents adversarial inputs
2014-03-22 18:42:18 -07:00
Vinnie Falco
936f45c7ec
Add hardened_hash, prevents adversarial inputs
2014-03-22 18:42:18 -07:00
Vinnie Falco
f63cf33118
New unit_test framework:
...
* Header-only!
* No external dependencies or other beast modules
* Compilation options allow for:
- Stand-alone application to run a single test suite
- Stand-alone application to run a set of test suites
- Global suite of tests inline with the host application
- Disable test suite generation completely
* Existing tests reworked to use the new classes
2014-03-21 18:00:37 -07:00
Vinnie Falco
a865149c65
New unit_test framework:
...
* Header-only!
* No external dependencies or other beast modules
* Compilation options allow for:
- Stand-alone application to run a single test suite
- Stand-alone application to run a set of test suites
- Global suite of tests inline with the host application
- Disable test suite generation completely
* Existing tests reworked to use the new classes
2014-03-21 18:00:37 -07:00
Vinnie Falco
0bb6171a85
beast.streams improvements:
...
* New basic_std_ostream wraps any std::stream.
* New debug_ostream redirects output to debugger if attached.
2014-03-21 07:33:16 -07:00
Vinnie Falco
547019bd1b
beast.streams improvements:
...
* New basic_std_ostream wraps any std::stream.
* New debug_ostream redirects output to debugger if attached.
2014-03-21 07:33:16 -07:00
Vinnie Falco
e92dd73169
Add const_container
2014-03-21 07:33:16 -07:00
Vinnie Falco
953805d97e
Add const_container
2014-03-21 07:33:16 -07:00
Vinnie Falco
2d490f6e6a
beast cleaning and tidying:
...
* Consolidate small modules into one
* Remove Android-specific platform support
* Remove Chrono.h from beast_core.h
* Removed files:
- TypeTraits.h
- Utility.h
- Net.h
- Asio.h
* Remove zlib support:
- Remove inline zlib library sources
- Remove GZIPCompressorOutputStream
- Remove GZIPDecompressorInputStream
* Remove obsolete or unused classes:
- AbstractObject
- BigInteger
- BufferedInputStream
- CacheLine
- CPUMeter
- DatagramSocket
- DynamicObject
- FileLogger
- FPUFlags
- Identifier
- JSON
- LocalisedStrings
- MACAddress
- MemoryAlignment
- MemoryInputStream
- MemoryMappedFile
- NamedValueSet
- OptionalScopedPointer
- PerformanceCounter
- PropertySet
- ScopedTimeInterval
- SparseSet
- SpinDelay
- StreamingSocket
- StringPool
- SubregionStream
- Uuid
- Variant
2014-03-21 07:30:50 -07:00
Vinnie Falco
e344cb3d62
beast cleaning and tidying:
...
* Consolidate small modules into one
* Remove Android-specific platform support
* Remove Chrono.h from beast_core.h
* Removed files:
- TypeTraits.h
- Utility.h
- Net.h
- Asio.h
* Remove zlib support:
- Remove inline zlib library sources
- Remove GZIPCompressorOutputStream
- Remove GZIPDecompressorInputStream
* Remove obsolete or unused classes:
- AbstractObject
- BigInteger
- BufferedInputStream
- CacheLine
- CPUMeter
- DatagramSocket
- DynamicObject
- FileLogger
- FPUFlags
- Identifier
- JSON
- LocalisedStrings
- MACAddress
- MemoryAlignment
- MemoryInputStream
- MemoryMappedFile
- NamedValueSet
- OptionalScopedPointer
- PerformanceCounter
- PropertySet
- ScopedTimeInterval
- SparseSet
- SpinDelay
- StreamingSocket
- StringPool
- SubregionStream
- Uuid
- Variant
2014-03-21 07:30:50 -07:00
Vinnie Falco
761affacc3
Update to SQLite 3.8.4.1
2014-03-20 19:17:25 -07:00
Vinnie Falco
693a5927a9
Update to SQLite 3.8.4.1
2014-03-20 19:17:25 -07:00
Howard Hinnant
979c834ee0
Fix and add tests for empty_base_optimization.
2014-03-20 13:47:48 -07:00
Howard Hinnant
07e2f87079
Fix and add tests for empty_base_optimization.
2014-03-20 13:47:48 -07:00
Vinnie Falco
aff0ec18b0
Fix error code assignment in raw_parser
2014-03-20 10:43:01 -07:00
Vinnie Falco
9b152d8098
Fix error code assignment in raw_parser
2014-03-20 10:43:01 -07:00
Vinnie Falco
d32b91e0de
Add abstract streams module:
...
* New basic_abstract_ostream template for generic output
* New abstract_ostream, common type alias
* basic_scoped_ostream, RAII output to abstract streams
2014-03-19 15:42:20 -07:00
Vinnie Falco
8daecb5430
Add abstract streams module:
...
* New basic_abstract_ostream template for generic output
* New abstract_ostream, common type alias
* basic_scoped_ostream, RAII output to abstract streams
2014-03-19 15:42:20 -07:00
Vinnie Falco
8b659a6d32
Add workaround/noexcept.h for visual studio
2014-03-19 13:42:05 -07:00