Lucas Saldanha
4a32c72268
Error response handling for permissions APIs ( #736 )
...
* Generifying account/node result object
* Added null/empty check on whitelist ops
* Updating successful whitelist operation to return Success instead of true
* Updating error messages
* Moving Success string into JsonRpcSuccessful response
* Updating unit tests
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
4bd8679041
Create wrapper types for Ibft Signed messages ( #731 )
...
As future IBFT message will require only subsets of the data to be signed,
the message structures need to be modified such taht the signed-data
aspects can be a component of the message (Rather than the whole
message).
This change starts this process by having a "flat" message which allows
clients to query the required round, and author of the message.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
c662a00cb6
IPV6 bootnodes don't work ( #735 )
...
The IPV6 URL syntax for IPv6 addresses has the addresses enclosed in brackets.
Without the brackets the address could consume the port number. Java's URI class
also won't parse it correctly w/o brackets, and we rely on that parsing.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
ad3bac6907
Ibft to uniquely ID messages by their hash ( #730 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
c628a175c5
Updated to use tags of pantheon build rather than another repo ( #734 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ab9330891a
Log milestones at startup and other minor logging improvements ( #733 )
...
* Log the milestone blocks in use at startup.
* Remove duplicate word "key" in log message when new key is generated.
* Don't log that mining is paused while behind chain head when mining is not enabled.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
14c9153f06
[Gradle Release Plugin] - new version commit: '1.0.0-SNAPSHOT'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
9c234b68f2
[Gradle Release Plugin] - pre tag commit: '0.9.1'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
2b05028c94
0.9.1 release ( #732 )
...
Change to JDK 8 docker image
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
b39731fa95
Add serialization functionality to NodeDataRequest ( #724 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
a5afe34e34
[NC-2119] permissioning config path CLI ( #729 )
...
* added CLI for permissioning config file path
* added test for --permissions-config-file without param value
* merged changes from NC-1968 and set the config path on the PermissioningConfiguration object when it's created
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Vinicius Stevam
f2438dcf79
[PRIV] Private Transaction Handler ( #695 )
...
* Add PrivateTransactionHandler
* Implementing PrivateTransactionHandler
* Send Privacy Marker Transaction to Privacy Precompile Smart Contract
* Tests Handler
* Fix up Private Transaction Handler Test
* Remove wildcard import
* Remove Orion tests from PrivateTransactionHandler
* Fix test exception
* Return error if orion call fails
* Fix PrivateTransactionHandler implementation
- The whole base64 rlp encoded private transaction should be sent to Orion rather than the base64 encoded input of the private transaction.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
ece38ec3a6
[Gradle Release Plugin] - new version commit: '1.0.0-SNAPSHOT'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
67848bdbc1
[Gradle Release Plugin] - pre tag commit: '0.9.0'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
1905986ed5
updating dockerbuild to the one that includes libsodium ( #728 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Rob Dawson
dfaaec82c8
Updated to use the deployed version of orion. ( #727 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
b2060ff612
Repair IBFT Over-gossiping ( #726 )
...
* Repair IBFT Over-gossiping
* repair issue
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
7d8440e048
Rename SignedData methods ( #718 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
aaa7a0ce5b
Minor cli doc updates ( #725 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
dbf48d8e0a
Changelog Updates for 0.9 ( #719 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
cfbb1589f6
Wrong config options for clique in genesis files ( #720 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
80670c5c46
Wrong config keys in Clique genesis file config ( #721 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
8c98388e6c
[NC-2207] Add a basic queue on top of RocksDB ( #698 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
75f147503a
Update goerli config to launch network. ( #717 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
8b83c8d893
CLI refactoring to make host options able to accept localhost strings ( #716 )
...
* CLI refactoring
Stop using Guava's HostAndPort and HostSpecifier and just use Strings.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
2730bdbdb3
Added password-hash subcommand
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
9f04072c43
Build stability ( #715 )
...
* make spotless groovy formatter ignore compilation errors
* move errorprone FieldCanBeFinal to off for performance reasons.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
0557c3c50e
NC-1930: Handling duplicate nodes/accounts in permissioning api requests ( #707 )
...
* NC-1930: Handling duplicate nodes/accounts in permissioning api requests
* Fixing json rpc error messages
* Fixing acceptance test
* PR comments
* Renaming add/remove node result objects
* Spotless
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
dfb3c39fd4
rename test methods to clarify meaning ( #713 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
01feb87bc9
updates from Grant's review ( #712 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
254661683b
[NC-2138] Complete fast sync chain download ( #701 )
...
* Download receipts
* store blocks without processing transactions
* Only apply light validation during fast sync.
* Mark fast sync chain download as complete when pivot block has been reached.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Nicolas MASSART
1489fa5543
fixed key export subcommand option was --from instead of --to ( #711 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
8586357036
typo ( #710 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
b078310845
admin_addPeer ( #708 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
f4b0e1d0ce
changes for CLI updates ( #699 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
25275b070d
Updated for not being able to specify private key location with Docker ( #688 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
2651b00f0a
Updated Permissions CLI options ( #705 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
935d712098
Getting started with binaries update ( #700 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
e785d77d6d
Added options for metrics push mode ( #674 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
0fe372a22f
[NC-2100] Parallel Processing File Import Performance ( #683 )
...
* reactive by hand
* restore final checks
* rename variable
* explicitly shutdown the executors.
* fix log4j traps
try CompletableFuture.allOf
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
7c835db064
[MINOR] added acceptance test for admin_addPeer with P2P disabled ( #703 )
...
* added acceptance test for calling admin_addPeer on a node that has P2P disabled
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
b9a21f6e06
Added metrics options for running from Docker image ( #687 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
11eea36977
Added privacy CLI options ( #669 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
d220a2965e
A few additions and fixes to the Consensus Mechanisms documentation page ( #639 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
721c713fa8
NC-2043: Toml authentication provider ( #689 )
...
* NC-2043: Toml authentication provider
* NC-2043: CLI option to generate hashed password
* Renaming test
* Removing unnecessary TomlAuth interface
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
157b42ed19
Made private key option docker aware ( #684 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
214ddcc60a
Added libsodium requirement ( #675 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
f58d995d74
[NC-2138] Implement chain download for fast sync ( #690 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
ebf336d4a4
benchmark update ( #691 )
...
update the Jenkins file for benchmarks
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
d19d9fa5e4
Metrics Service configuration incorrect ( #697 )
...
* Metrics Service configuration incorrect
--metrics-push-enabled is not eabling metrics push and --metrics-enabled
is enabling push instead of polling.
* formatting
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago