Edward Hennis
4d72fc225a
Unit test of RPC ledger_request
2016-01-28 12:04:58 -08:00
Edward Hennis
9786e432f8
ledger_request index must be positive
2016-01-28 12:04:57 -08:00
Vinnie Falco
040d7ebb46
Refactor Env for AbstractClient:
...
Env is changed to use the AbstractClient interface,
which generalizes the transport for submitting client
requests to the Env server instance.
The JSONRPCClient implementation is added, supporting
a simple, synchronous interface. Env is changed to
use the JSONRPCClient implementation instead of the
built in JSON-RPC client.
2016-01-28 12:04:57 -08:00
Scott Schurr
f9f2b8124d
Add cmdLineToJSONRPC (RIPD-1074)
2016-01-28 12:04:55 -08:00
Vinnie Falco
dd5d938aa3
Make ParsedPort public
2016-01-28 12:04:55 -08:00
Edward Hennis
7c82adcc84
Avoid missing node errors on genesis ledger creation
2016-01-28 12:04:53 -08:00
Howard Hinnant
bdb1966573
Remove lvalue overload of SHAMap::addItem:
...
This overload was mistakenly used, but not needed
in the Ledger logic. Removing this overload turns
this performance bug into a compile time error.
2016-01-28 09:39:30 -08:00
Howard Hinnant
a1582c610e
Consolidate getStack into walkTowardsKey:
...
* This removes duplicate functionality.
2016-01-28 09:39:30 -08:00
Howard Hinnant
2f9f217c11
Remove NodeStack:
...
* This gets all parts of SHAMap using a single type of stack.
* This paves the way for more code sharing.
2016-01-28 09:39:30 -08:00
seelabs
278f679bb1
Enable underflow fix after specified date
2016-01-28 09:39:30 -08:00
seelabs
96bc727fcb
Enforce no-ripple constraints
2016-01-27 17:05:31 -05:00
seelabs
7d2809eb27
Unit test for enforcing no ripple
2016-01-27 17:05:31 -05:00
Nik Bougalis
9b8133f65f
Set version to 0.31.0-b4
2016-01-25 10:35:56 -08:00
Vinnie Falco
77c0236cae
Serialize Application start up:
...
These changes ensure the caller can block until the
Application object can be fully prepared (especially
listening sockets). Solves the problem where tests
can attempt connections before the server sockets are
ready.
* WebSocket blocks until listening
* Application setup blocks until prepared and started
2016-01-25 10:35:54 -08:00
seelabs
07c4262392
Fix websocket deadlock:
...
A copy of the connection list is made on stop so it
can be iterated without holding the endpoint lock.
2016-01-25 10:35:54 -08:00
Vinnie Falco
10a5421987
Remove unused websocket04
2016-01-25 10:35:54 -08:00
Scott Schurr
48f0e1f51d
CBigNum unit tests
2016-01-25 10:35:53 -08:00
Scott Schurr
9063953ee7
Convert fast manual unit tests to automatic
2016-01-25 10:35:53 -08:00
seelabs
7315d9c300
Do not destroy objects until all threads exit in Stoppable test
...
Objects of class `A` could be destroyed before all their member
functions finished running.
2016-01-25 10:35:53 -08:00
wilsonianb
05c248f297
Include ledger_index in validations subscription stream
2016-01-25 10:35:53 -08:00
wilsonianb
b92a58d11e
Allow random seed with specified wallet_propose key_type (RIPD-1030)
2016-01-25 10:35:53 -08:00
Nik Bougalis
767d253593
Improve manifest public key loading
2016-01-25 10:35:53 -08:00
Nik Bougalis
78e59191ed
Add unit tests for Endpoint string parsing
2016-01-25 09:07:41 -08:00
Nik Bougalis
de4d872b7a
Simplify Beast:
...
* Remove asio HTTP classes
* Remove beast::File, beast::String, beast::Stream, beast::Array,
beast::MemoryBlock, beast::CriticalSection and other unused
classes.
* Remove unused platform-specific code.
* Reduce Beast custom assert and debugging helper macros.
2016-01-25 09:07:41 -08:00
Nik Bougalis
77955c74bc
Use boost::filesystem instead of beast::File
2016-01-25 09:07:41 -08:00
Nik Bougalis
555cd59a59
Cleanups:
...
* Reduce Beast dependencies
* Remove unnecessary includes
* Don't use deprecated bassert macros
* Don't use beast::String in Json::Value
2016-01-25 09:07:41 -08:00
Edward Hennis
b4f8dc7abf
Set version to 0.31.0-b3
2016-01-20 22:46:38 -05:00
Miguel Portilla
14dde47173
Convert STAmount switchovers to tls (RIPD-1068)
2016-01-20 22:46:09 -05:00
Miguel Portilla
4fb6bf3e67
Add coroutine thread specific storage
2016-01-20 22:46:07 -05:00
Miguel Portilla
f73c55a922
Add JobCoro::join
2016-01-20 22:46:06 -05:00
Vinnie Falco
49c86768e6
Peer to peer network simulator:
...
* Refine the Peer concept
* Remove incremental consensus simulations (coverage)
* Add unit test (coverage)
* Fix BasicNetwork::remove
2016-01-20 22:46:04 -05:00
Scott Schurr
0fca91c6c1
Remove tapENABLE_TESTING.
2016-01-20 22:46:02 -05:00
wilsonianb
749b4adc7c
Add manifests subscriptions
...
Add verify method to manifest script to check signature
2016-01-20 22:46:00 -05:00
Edward Hennis
a67e4ab9f1
Port test/transaction_ordering_test.js to C++
2016-01-20 22:45:58 -05:00
Edward Hennis
e0b2a26805
TxQ unit tests account for localTx.
2016-01-20 22:45:56 -05:00
Edward Hennis
6c5b23b317
OpenLedger::accept, flip order of modifier and locals:
...
* And call in to the TxQ if enabled.
2016-01-20 22:45:55 -05:00
Edward Hennis
8da2a724fb
Close/advance Env ledgers through RPC interface
2016-01-20 22:45:54 -05:00
Vinnie Falco
d5363d1a85
Submit Env transactions through RPC interface
2016-01-20 22:45:53 -05:00
seelabs
8f74ee1d96
Add sanitize build support
2016-01-20 22:45:52 -05:00
Miguel Portilla
796ee8e3de
Path find source currency limits (RIPD-1062)
2016-01-20 22:45:50 -05:00
Nik Bougalis
25f611d0ec
Delete unfunded offers in predictable order
2016-01-20 22:45:49 -05:00
Nik Bougalis
08e518af73
Correctly interrogate child process status
2016-01-20 22:36:57 -05:00
Nik Bougalis
27673c1c3f
Set version to 0.31.0-b2
2016-01-19 15:43:13 -08:00
Miguel Portilla
3394129894
Remove unused declaration
2016-01-19 15:43:03 -08:00
Nik Bougalis
57625e06ed
Increase minimum local fee
2016-01-14 14:11:20 -08:00
Nik Bougalis
d7935192dd
Set version to 0.31.0-b1
2016-01-12 18:50:58 -08:00
Howard Hinnant
97d5325468
Correct handling of comparators in boost::intrusive:
...
This facilitates the port of rippled to boost 1.60 while
maintaining compatibility with previous versions of boost.
2016-01-12 18:50:53 -08:00
Scott Schurr
8433851652
Add SignerList support to account_objects (RIPD-1061):
...
Return just SignerList objects on an account using the
account_objects RPC command with "type":"signer_list".
2016-01-12 18:45:36 -08:00
Edward Hennis
f7b2b84ece
Integration test for transaction ordering.
2016-01-12 18:45:36 -08:00
Edward Hennis
8be67c1766
Speed up out of order transaction processing (RIPD-239):
...
* After successfully applying a transaction to the open ledger, resubmit any held transactions from the same account.
* All held transactions will continue to be retried after consensus round.
2016-01-12 18:45:36 -08:00