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
Markus Teufelberger
0dc911c091
Do not show progess bar on npm install on CI
...
See https://github.com/npm/npm/issues/11283 for more discussion on this.
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
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