Howard Hinnant
9dc32cb791
SHAMap refactoring:
...
* Rename SHAMapNode to SHAMapNodeID.
* Cleanups
2014-06-23 20:19:53 -07:00
Howard Hinnant
23dc08c925
Improve Journal logging framework:
...
* Allow partition log levels to be adjusted
* Cleanups
2014-06-23 20:19:53 -07:00
Vinnie Falco
488a44b88e
Fix case-sensitivity for NOLOGO in booltable
2014-06-18 17:04:31 -07:00
evhub
530bdf975e
Fix VSProject generation issues with SConstruct:
...
* Always describe the Visual Studio targets
* Prevent checking nonexistant enviro vars
* Prevent pkg-config protobuf env vars if not clang/gcc
* Don't use any pkg-config enviro vars unless clang/gcc
* Make all VSProject/config directories windows-style
* Prevent beastobjc.mm from showing up in vcxproj
* Remove duplicate \src\protobuf\src
* Consistent quoting
2014-06-18 16:41:34 -07:00
evhub
d7a6627a1f
Fixes to VSProject generator:
...
* Canonical sorting for all platforms
* Fix incorrect path separator
* Filter predefined duplicate environment switches
2014-06-18 16:38:26 -07:00
Vinnie Falco
d6066183b9
Refactor Overlay for Structured Network support:
...
* Move overlay up one directory
* Add abstract_protocol_handler, message_stream
* Add peer_protocol_detector
* Tidy up some declarations
* Use strand::running_in_this_thread instead of bool
* Update README.md
* Replace protocol message read loop:
- Process data in arbitrary size chunks
- message_stream extracts individual messages
- peer_protocol_detector identifies the handshake
- abstract_protocol_handler used for dispatching messages
* Remove unused protocol message types:
- mtACCOUNT
- mtCONTACT
- mtERROR
- mtGET_ACCOUNT
- mtGET_CONTACTS
- mtGET_VALIDATIONS
- mtSEARCH_TRANSACTION
- mtUNUSED_FIELD
Conflicts:
src/ripple/module/app/main/Application.cpp
src/ripple/module/app/misc/NetworkOPs.cpp
src/ripple/module/app/peers/PeerSet.cpp
2014-06-18 15:17:18 -07:00
Vinnie Falco
3e2c3ba035
Add missing beast includes
2014-06-18 14:07:18 -07:00
Tom Ritchford
e24cba8c35
Better types and more comments in RippleCalc.
...
* Better automatic conversions to and from tagged uint160 varints.
* Start using tagged variants of uint160 for Currency, Account.
* Comments from 2014/6/11 RippleCalc session.
2014-06-18 12:38:06 -07:00
Tom Ritchford
a23013abc1
Tidy up rpc module:
...
* Move directory up to ripple/module/rpc
* Use C++11 idioms and best practices
2014-06-18 12:37:53 -07:00
evhub
27a4f44de5
Process switches with regex in VSProject generator:
...
* Handles "DisableSpecificWarnings" switches
2014-06-16 19:01:28 -07:00
Vinnie Falco
4e07dbbefc
Fix state check in PeerImp::recvHello
2014-06-16 18:14:25 -07:00
David Schwartz
dcf4ad2c21
Ledger load and ledger replay fixes:
...
* Stash the loaded ledger where consensus can find it.
* When loading a ledger for startup, try the backend too
* Apply replay transactions to a mutable snapshot
2014-06-16 17:29:11 -07:00
Nik Bougalis
04dd861fe3
Cleanup:
...
* Remove is_bit_set and use regular bitwise operations instead.
* Remove the function-like macro "nothing".
2014-06-16 17:29:11 -07:00
Vinnie Falco
c8ee6c6f6d
Use std::thread instead of boost::thread
2014-06-16 16:18:10 -07:00
Vinnie Falco
a57e4263d7
Fix MSVC workaround in basic_seconds_clock
2014-06-16 16:18:09 -07:00
Vinnie Falco
3d58f0d941
Add static_initializer
2014-06-16 16:18:09 -07:00
Vinnie Falco
a52c9232c4
Tidy up basics module:
...
* Move directory up
* Remove unity includes and "include what you use"
2014-06-15 18:51:05 -07:00
Vinnie Falco
7a059c7a73
Remove ScopedPointer, ContainerDeletePolicy
2014-06-15 18:35:12 -07:00
Vinnie Falco
506910147f
Tidy up includes:
...
* Replace boost with std equivalents:
- bind, ref, cref, function, placeholders
* More "include what you use"
* Remove unnecessary includes
2014-06-15 18:26:50 -07:00
Vinnie Falco
cf3eb24eb0
Move nodestore to its own module
2014-06-15 12:50:44 -07:00
Vinnie Falco
d965b23b2a
Add missing beast includes
2014-06-15 12:37:52 -07:00
Vinnie Falco
f660743065
Remove unused SHAMap::getItem
2014-06-13 14:00:17 -07:00
David Schwartz
4559bd9030
Improve the way we declare a close time consensus
2014-06-12 10:20:48 -07:00
David Schwartz
3ac98fb101
SyncUnorderedMap cleanup
2014-06-12 10:14:47 -07:00
David Schwartz
aff52db289
Re-use the serializer
2014-06-12 10:14:47 -07:00
David Schwartz
ea27dfe08d
Find 'sbfd' paths.
2014-06-12 09:41:52 -07:00
Tom Ritchford
27620af1bf
Further cleanups of RippleCalc.
...
* Rename many variables.
* Make most of PathState private.
* Extract out common Node::isAccount() code.
* Rename bConsumed to allLiquidityConsumed_.
* Extract out code into PathState::clear().
2014-06-09 12:57:26 -07:00
Tom Ritchford
bf116308d4
Add newer validators to validators-example.txt
2014-06-09 12:41:27 -07:00
Tom Ritchford
3fb27d98ab
Clean up LookupLedger and resolve issue 278.
...
* Use beast::zero to resolve issue 278.
* Rename variables and simplify logic.
* Restrict to 80 columns.
2014-06-09 12:40:38 -07:00
Tom Ritchford
7e45c17730
Rename ledger_get to ledger_request.
2014-06-09 12:37:24 -07:00
Tom Ritchford
626533d4a7
Clean up RPC messages from Main
2014-06-09 12:37:23 -07:00
Tom Ritchford
39719f4c17
Rearrange branch in accordance with new practices.
2014-06-09 12:37:23 -07:00
JoelKatz
526bd88dc4
Add ledger_get RPC command to fetch a ledger from the network
...
Conflicts:
Builds/VisualStudio2013/RippleD.vcxproj
Builds/VisualStudio2013/RippleD.vcxproj.filters
Builds/VisualStudio2013/RippleD2.vcxproj
Builds/VisualStudio2013/RippleD2.vcxproj.filters
src/ripple_rpc/impl/Handlers.cpp
2014-06-09 12:37:22 -07:00
Vinnie Falco
37201ecaa6
Include BeastConfig.h from the root include path
2014-06-09 12:35:16 -07:00
Vinnie Falco
02ed879837
Update VS project file
2014-06-06 07:39:55 -07:00
Vinnie Falco
8b881d3a77
Add CBase58Data::hash_append
2014-06-05 20:00:24 -07:00
Miguel Portilla
f25456ce25
Fix VSProject.py extra dot
2014-06-05 17:47:46 -07:00
mDuo13
dfb1db4ab3
Return correct error for missing pathfinding request. Fixes RIPD-293
2014-06-05 17:47:28 -07:00
Vinnie Falco
4362cb660b
Replace boost::shared_ptr with std::shared_ptr
2014-06-05 13:04:23 -07:00
Vinnie Falco
1aa0749ba8
Update rocksdb unity build
2014-06-04 17:20:43 -07:00
Vinnie Falco
c7f1f6a91f
RocksDB changes to support unity build:
...
* Remove extra definition of TotalFileSize
* Remove extra definition of ClipToRange
* Move EncodedFileMetaData out from anonymous namespace
* Move version_set Saver to its own namespace
* Move some symbols into a named namespace
* Move symbols out of anonymous namespace (prevents warning)
* Make BloomHash inline
2014-06-04 17:15:28 -07:00
Vinnie Falco
888a3fec21
Merge commit '8514b88974c71c0fa85bb154507536ee49c33458' as 'src/rocksdb'
2014-06-04 16:10:38 -07:00
Vinnie Falco
8514b88974
Squashed 'src/rocksdb/' content from commit 457bae6
...
git-subtree-dir: src/rocksdb
git-subtree-split: 457bae6911343c2e03222e24d0c946b94dca82b4
2014-06-04 16:10:38 -07:00
Vinnie Falco
724ec46129
Use per-file include directories for external code subtrees:
...
* leveldb, hyperleveldb, rocksdb, snappy
* SConstruct OSX fix regarding OpenSSL version check
2014-06-04 13:28:43 -07:00
Vinnie Falco
4f1d1d2a8a
Reorganize source file hierarchy:
...
* Rename unity files
* Move some modules to new subdirectories
* Remove obsolete Visual Studio project files
* Remove obsolete coding style and TODO list
2014-06-03 21:43:59 -07:00
Tom Ritchford
39a387b54c
Check for openSSL version in SConstruct.
...
* Uses the platform specific openssl binary to detect the current version.
2014-06-02 10:56:21 -07:00
Roberto Catini
2b0034667d
Add Dockerfile:
...
* The ports are not automatically exposed.
* No test is performed after the build.
2014-06-02 10:27:09 -07:00
Tom Ritchford
98202c56ae
base_uint now compares and assigns with beast::Zero.
...
Conflicts:
src/ripple/types/api/base_uint.h
src/ripple_basics/ripple_basics.h
2014-06-02 10:15:45 -07:00
Vinnie Falco
1e06ddf13c
Refactor MultiSocket:
...
* Variadic constructor argument list
* Tidy up sources and filenames
2014-06-02 10:07:05 -07:00
Vinnie Falco
560071bb68
Make all include paths relative to a root directory:
...
* Better include path support in the VSProject scons tool.
* Various manual fixes to include paths.
2014-06-02 09:16:28 -07:00