Matt Gucci
35e808d723
Remove duplicates of DEFAULT_JSON_RPC_APIS ( #218 )
6 years ago
Lucas Saldanha
8354acd071
NC-1378: Adding error handling to http requests on websocket endpoint ( #213 )
6 years ago
Adrian Sutton
824b56f141
Add wrapper classes for config section of genesis file ( #208 )
...
* Introduce classes to wrap JSON config instead of accessing it directly in multiple places.
* Fix discrepancy in how CliqueProtocolSchedule and CliquePantheonController loaded the block period configuration.
6 years ago
Lucas Saldanha
c71944f19b
Implementing eth_chainId ( fixes #206 ) ( #219 )
6 years ago
Adrian Sutton
42d69d89ce
Decouple DefaultMutableBlockchain from KeyValueStorage ( #211 )
...
* Introduce createInMemoryBlockchain test utility and use it everywhere appropriate.
* Inject BlockchainStorage into DefaultMutableBlockchain.
6 years ago
Jussi Virtanen
7062a420fa
Create unit tests for EthBlockNumber ( #195 )
6 years ago
Jussi Virtanen
388a948e32
Improve variable name in EthGetBlockByHashTest ( #196 )
6 years ago
Jussi Virtanen
de5796e478
Create unit tests for Web3ClientVersion ( #194 )
6 years ago
tmohay
3569b0de78
Add MiningCoordinator interface ( #168 )
6 years ago
Adrian Sutton
c53b8498b0
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.
6 years ago
Adrian Sutton
8a53c32ebf
[NC-1805] net_version should return the network ID not the chain ID ( #162 )
6 years ago
Adrian Sutton
1849460e46
[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.
6 years ago
Adrian Sutton
d2583e3ef2
[NC-1384] Disable mining while catching up to chain head ( #125 )
6 years ago
Adrian Sutton
45e0037321
[MINOR] Add missing finals. ( #128 )
6 years ago
Adrian Sutton
725cdb34c2
[NC-1679] Set vertx upload directory to be under the pantheon data dir. ( #115 )
6 years ago
Danno Ferrin
570ba55520
NC-1244 Implement JSON-RPC method "eth_getWork" ( #111 )
...
JAX-B is no longer shipped with Java 11. Guava provides similar
hex printing functionality.
6 years ago
Danno Ferrin
9fe2cdfdf0
NC-1675 Ensure that default logging is appropriate ( #113 )
...
More logging demotions.
6 years ago
S. Matthew English
ef50390398
[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
6 years ago
Michael Connor
1325a419c8
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
6 years ago
mark-terry
33cc977f9b
[NC-862] License headers applied to non-java files ( #93 )
6 years ago
Chris Mckay
0d77c515b5
[nc-1756] jsonrpc enabling for clique and ibft ( #91 )
6 years ago
mark-terry
c02c3ad7b1
Nc 862 spotless license headers ( #69 )
...
* [NC-862] Added licenseHeader java rule to spotless.
* [NC-862] Spotless java headers applied.
6 years ago
Lucas Saldanha
03f92e3eb0
NC-1721: Filter timeout if not queried for 10 minutes ( #66 )
6 years ago
Lucas Saldanha
c7b8b8ea06
NC-1564: Only subscription owner can unsubscribe ( #43 )
6 years ago
Christopher Mckay
6ed3560863
changed all the imports to tech.pegasys packaging
6 years ago
Christopher Mckay
b46faa9f8a
renamed package paths
6 years ago
tmohay
61432b5a4b
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.
6 years ago
Adrian Sutton
7f7a5e781e
[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.
6 years ago
S. Matthew English
671adffac4
[MINOR] Normalize references to Logger ( #28 )
...
* normalize references to Logger
* stanrdize on getLogger()
6 years ago
tmohay
003fd4b6a0
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.
6 years ago
Chris Mckay
a67b026181
[MINOR] removing executable from files ( #14 )
6 years ago
Lucas Saldanha
66ffcf8fa9
Changing WebSocketService test to use random port ( #5 )
6 years ago
PegaSys Admin
550411b4ad
Initial commit
6 years ago