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
seelabs
41125a0a34
Support for clang specific boost and protobuf dirs:
...
Clang does not understand gcc 5's new ABI. On linux systems
that default to the new ABI (such as ubuntu 15.10), building
with clang requires using C++ libraries built with the the old
gcc ABI.
When building with the clang protobuf lib, a common error is to
load the gcc protobuf library at run time. When set, PROTOBUF_ROOT
is added to rpath to make sure the correct lib is loaded.
Adds a script to install clang and download and build boost and
protobuf with boost.
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
2b640532f2
Merge remote-tracking branch 'upstream/release' into develop
2016-02-08 15:45:10 -08:00
Nik Bougalis
c717006c44
Set version to 0.30.1
0.30.1
2016-02-08 15:37:02 -08:00
Nik Bougalis
fd33d693c4
Merge remote-tracking branch 'upstream/master'
2016-02-08 15:36:04 -08:00
Nik Bougalis
31ecb4dcf3
Revert "Set version to 0.30.1"
...
This reverts commit 5a4e900a21 .
2016-02-08 15:35:22 -08:00
Nik Bougalis
5a4e900a21
Set version to 0.30.1
2016-02-03 14:49:07 -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
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
5062e65277
Set version to 0.30.1-rc4
2016-01-27 13:33:07 -08:00
seelabs
bd44880d5a
Enforce no-ripple constraints
2016-01-27 13:32:38 -08:00
Nik Bougalis
ad2383bd4b
Set version to 0.30.0-hf2
0.30.0-hf2
2016-01-27 12:27:27 -08:00
Nik Bougalis
5b5a01989c
Improve compile-time OpenSSL version check
2016-01-27 12:27:18 -08:00
seelabs
c17f7e8b37
Enforce no-ripple constraints
2016-01-26 13:52:41 -08: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