Vinnie Falco
1fda99ba82
Add suite::this_suite
2016-02-11 18:42:32 -05:00
Vinnie Falco
9f5b58c8ab
Fix short_read test race/deadlock
2016-02-11 18:42:31 -05:00
Vinnie Falco
8c11d24454
Reinforce Env Application log severity
2016-02-11 18:42:30 -05:00
Vinnie Falco
924b6b663e
Increase severity on Stoppable logging
2016-02-11 18:42:30 -05:00
Nik Bougalis
688452d971
Fix OptionalProxy<T> equality comparison
2016-02-11 18:41:42 -05:00
Scott Schurr
2f94e16359
Add SignerList to account_info response (RIPD-1061):
...
The caller of the account_info RPC command can optionally
specify that they want the account's SignerList returned by
adding the argument:
"signer_lists": "true"
The returned SignerList is in an array. This leaves us room to
support multiple signer lists on an account in the future without
changing the syntax of the result.
The command-line version of account_info does not support the new
option.
2016-02-11 18:41:03 -05:00
Miguel Portilla
fbf736f169
Improved reporting for delivered_amount:
...
* Determine tx success from metadata result.
* Report delivered_amount for legacy account_tx queries.
2016-02-11 18:39:12 -05:00
Nik Bougalis
1e92ac3cf5
Set version to 0.31.0-b7
2016-02-08 15:50:12 -08:00
Scott Schurr
acaf91a2f7
Add AccountLinesRPC unit tests.
2016-02-08 15:50:02 -08:00
Nik Bougalis
35ed095dbf
Cleanup ledger fetching
2016-02-08 15:50:02 -08:00
Nik Bougalis
ce31e26f58
Enable amendment support
2016-02-08 15:47:57 -08:00
Nik Bougalis
94ed5b3a53
Set version to 0.31.0-b6
2016-02-01 21:07:52 -08:00
Scott Schurr
2eaf211e9b
Improve error message when signing fails (RIPD-1066):
...
With the addition of multisigning there are a variety of reasons
a signature may fail. We now return a more descriptive message
for the reason certain signature checks fail.
2016-02-01 21:07:41 -08:00
Miguel Portilla
ed9f5639a8
Throws, explicits and trivial cleanups
2016-02-01 21:07:41 -08:00
Edward Hennis
8e842b5893
Disable tx sig checking at the Application level:
...
* Only skip sig checking on the RPC/Websocket interface.
* Used by Env tests which submit unsigned transactions.
2016-02-01 21:07:41 -08:00
JoelKatz
1b378172b6
Clean up some consensus edge cases:
...
* Ensure sufficient time for proposals before increasing avalanche threshold
* Only validators should count themselves towards 80% needed for consensus
2016-02-01 21:07:41 -08:00
Vinnie Falco
2be11874e3
Improved unit test logging:
...
Logging from the Application object in the Env is
redirected to the suite::log, with the severity level
set to error and above.
2016-02-01 21:07:41 -08:00
Nik Bougalis
5ac744ff66
Implement a debug Journal
2016-02-01 21:06:56 -08:00
Nik Bougalis
57d6ab091c
Cleanups:
...
* Use Throw instead of directly throwing an exception
2016-02-01 21:06:56 -08:00
Nik Bougalis
f13668371e
Amendment RPC enhancements:
...
* RPC command to veto/unveto
* Store votes
* Add vote information to JSON
* Add ledger majority information to JSON
* Config section for vetos
2016-02-01 21:06:56 -08:00
Nik Bougalis
c9486863c3
Set version to 0.31.0-b5
2016-01-28 12:05:08 -08:00
Nik Bougalis
e9e0277b7c
Improve manifest loading
2016-01-28 12:05:00 -08:00
Miguel Portilla
b69f0356ec
Convert PathRequest to use std::chrono (RIPD-1069)
2016-01-28 12:05:00 -08:00
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