Jussi Virtanen
ba4b66a055
Create unit tests for EthBlockNumber ( #195 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jussi Virtanen
8f3080267e
Improve variable name in EthGetBlockByHashTest ( #196 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jussi Virtanen
17af66d593
Create unit tests for Web3ClientVersion ( #194 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
14ead031d5
Add MiningCoordinator interface ( #168 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
699aee4c73
Revert "[NC-1805] net_version should return the network ID not the chain ID ( #162 )" ( #166 )
...
MetaMask depends on net_version returning the chain ID, not the network ID.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
9a3e2dfb30
[NC-1805] net_version should return the network ID not the chain ID ( #162 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
2cba87a899
[MINOR] Fix --rpc-api and --ws-api help output ( #147 )
...
* Fix default values for rpc-api and ws-api in --help output. Use ws-api values from the command line instead of always using the rpc apis.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ce033eee55
[NC-1384] Disable mining while catching up to chain head ( #125 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ebe9f3e36d
[MINOR] Add missing finals. ( #128 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
35bfbd7563
[NC-1679] Set vertx upload directory to be under the pantheon data dir. ( #115 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
fcd048fc32
NC-1244 Implement JSON-RPC method "eth_getWork" ( #111 )
...
JAX-B is no longer shipped with Java 11. Guava provides similar
hex printing functionality.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
9489899108
NC-1675 Ensure that default logging is appropriate ( #113 )
...
More logging demotions.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
dde408c47c
[NC-1711] Ommer blocks should be considered valid even when they are from the future ( #92 )
...
* eliminate black for relevant tests
* partition TimestampValidationRule
* adapt existing tests
* further adaptions of status quo
* create creator
* adding ommer validator
* resolving builder sequence
* remove blank lines, fix comment
* rename classes
* remove unnecessary blank lines
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Michael Connor
ee78db1a86
NC-1244 Implement JSON-RPC method "eth_getWork" ( #70 )
...
* EthGetWork Added with Unit and acceptance tests
* EthGetWork Added with Unit and acceptance tests
* EthGetWork Added with Unit and acceptance tests
* EthGetWork Added with Unit and acceptance tests
Debugged
* EthGetWork Added with Unit and acceptance tests
Debugged
Change Requests Actioned
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mark-terry
cb01231ac0
[NC-862] License headers applied to non-java files ( #93 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
6c2fd5d875
[nc-1756] jsonrpc enabling for clique and ibft ( #91 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mark-terry
310bd4035c
Nc 862 spotless license headers ( #69 )
...
* [NC-862] Added licenseHeader java rule to spotless.
* [NC-862] Spotless java headers applied.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
b4330969c1
NC-1721: Filter timeout if not queried for 10 minutes ( #66 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
0b3991b4a0
NC-1564: Only subscription owner can unsubscribe ( #43 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Christopher Mckay
cf66277a57
changed all the imports to tech.pegasys packaging
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Christopher Mckay
f6ed2d3d02
renamed package paths
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
2584fed97d
Json RPCs report Invalid_Request for unsupported ops ( #40 )
...
With the advent of Clique, some JSON RPCs pertaining to mining are
no longer going to produce appropriate results.
The Get/Set coinbase RPCs cannot affect a Clique based miner, as such
the miner throws an "Unsupported Operation" exception. The JSON
handler is responsible for catching this, and returning an
appropriate error code.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
84d89fe56e
[NC-1685][NC-1644] BlockHashOperation fixes ( #38 )
...
* [NC-1685] Fix BlockHashOperation so it handles blocks being added on forks and gets the hash of the block at the requested number on that fork rather than on the current canonical chain.
* [NC-1644] Cache block hashes across all transactions in a block.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
d01b29f150
[MINOR] Normalize references to Logger ( #28 )
...
* normalize references to Logger
* stanrdize on getLogger()
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
76a50ee180
Extract common components from MiningCoordinator ( #21 )
...
The MiningCoordinator has been split into common, and ethhash
specific funcationality.
This adversely affects the JSON RPC, in that all mining related
RPCs are now generic based on the type of miner being used.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
75ce3a4f02
[MINOR] removing executable from files ( #14 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
b6d150e60e
Changing WebSocketService test to use random port ( #5 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
7dfc2e4085
Initial commit
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago