Adrian Sutton
42d69d89ce
Decouple DefaultMutableBlockchain from KeyValueStorage ( #211 )
...
* Introduce createInMemoryBlockchain test utility and use it everywhere appropriate.
* Inject BlockchainStorage into DefaultMutableBlockchain.
6 years ago
Adrian Sutton
e5e21ba298
Make KeyValueStorage extend Closeable ( #207 )
...
Replace explicit usages of RocksDbKeyValueStorage with the more generic but now just as capable KeyValueStorage.
6 years ago
Adrian Sutton
e56125c6d8
Add benchmark for BlockHashOperation ( #203 )
...
Includes a reusable OperationBenchmarkHelper to make writing EVM opcode benchmarks easier in future.
6 years ago
Jussi Virtanen
b9e5d74deb
Add --ropsten command line argument ( #197 )
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
mbaxter
f0553ef5f9
[NC-1561] Remove RLPUtils from RawBlockIterator ( #179 )
6 years ago
mbaxter
13ae9f5701
[NC-1561] Remove RLPUtils from GetBlockHeadersMessage ( #180 )
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
3881f19335
Fix JavaDoc errors due to invalid HTML on JDK 11. ( #160 )
6 years ago
Roberto Saltini
dfed9e5f4a
Fixed javadoc warnings ( #159 )
6 years ago
Roberto Saltini
77a3df36ae
[NC-1582] Added iBFT 2.0 Hashing functions and header validation rules ( #119 )
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
Chris Mckay
6584168b70
[MINOR] delayed submodule check until submodule used
6 years ago
Adrian Sutton
c9fbc9d3fd
[NC-1675] Apply more appropriate log levels ( #133 )
...
Reduce log level for a number of common situations to DEBUG and general tidy-up of output.
6 years ago
Adrian Sutton
78a002b53d
[MINOR] Fix bounds check in PacketType. ( #132 )
6 years ago
Adrian Sutton
5442163c36
[NC-1772] Release DisconnectMessage to avoid leaking memory allocation. ( #130 )
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
d8d7b1e55b
[NC-1777] Add milestone configuration to dev.json so that if it happens to be used directly it uses Byzantium instead of defaulting to the MainNet milestone blocks. ( #121 )
6 years ago
Adrian Sutton
725cdb34c2
[NC-1679] Set vertx upload directory to be under the pantheon data dir. ( #115 )
6 years ago
Adrian Sutton
9e74b7b73e
[NC-1772] Avoid allocating and returning a ByteBuf from MessageFramer.frame. ( #116 )
...
We can write directly to the target instead and avoid the caller needing to release the buffer.
Fixes memory leak when clients are repeatedly connecting and disconnecting.
6 years ago
mbaxter
6503699c6e
Don't clear state modifications on commit ( #112 )
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
Adrian Sutton
e0a160e070
[NC-1748] Treat original storage as empty when a new contract is created ( #95 )
6 years ago
S. Matthew English
ee9ee93aae
[MINOR] Idiomatic naming ( #100 )
...
* Enable passing tests (#99 )
* claridy docs
6 years ago
S. Matthew English
2ae74e2f1e
[MINOR] Suicides mixing coinbase ( #110 )
...
* naive solution
* cleaning it up
* restrict to only suicide tests
6 years ago
Adrian Sutton
ea9ab169e4
Fix EIP150 spec name and enable more reference tests that are now passing ( #109 )
6 years ago
S. Matthew English
eb7f062171
eliminate createNameRegistratorPerTxsNotEnoughGas from blacklist ( #108 )
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
Adrian Sutton
eaff5de720
Update general state reference test harness to ensure the coinbase account is deleted if it's empty and the transaction was invalid. ( #106 )
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
mbaxter
10957494ac
Enable passing tests ( #99 )
6 years ago
S. Matthew English
840780bffc
catch custom exception ( #61 )
6 years ago
mbaxter
00006d1235
[NC-1748] Clear contract storage on contract creation ( #85 )
6 years ago
Chris Mckay
0d77c515b5
[nc-1756] jsonrpc enabling for clique and ibft ( #91 )
6 years ago
Danno Ferrin
ad82ca265a
NC-1675 Ensure that default logging is appropriate ( #88 )
...
* Take peer status messages down from info to debug
* Take P2P messages down from debug to trace
6 years ago
mbaxter
2ede24fe95
Remove RLPUtils from ProofOfWorkValidationRule ( #83 )
6 years ago
Adrian Sutton
1f479f75fd
Enable more Constantinople reference tests that are now passing. ( #82 )
6 years ago
Adrian Sutton
6fa1e7354b
[NC-1752] Fix SSTORE original value ( #79 )
...
* [NC-1752] Delegate calls to getOriginalAccount all the way to the actual store. Ensures we get the actual original value even when updaters are nested due to nested calls.
* Upgrade ethereum reference tests to include the new sstore tests.
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
Adrian Sutton
e2a6adf171
[MINOR] Remove unused original value lookup. ( #76 )
6 years ago
Lucas Saldanha
03f92e3eb0
NC-1721: Filter timeout if not queried for 10 minutes ( #66 )
6 years ago
Adrian Sutton
793f149f96
[NC-1747] CREATE2 should use the recipient address when calculating the new contract address ( #72 )
6 years ago
mbaxter
05b8f1fab1
[NC-1558] Retry tasks a max number of times before failing ( #74 )
6 years ago