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
Danno Ferrin
a1e6adfcba
Replace custom Clock with java.time.Clock ( #220 )
...
We create our own instance of Clock. However the java.time.Clock
provides what is needed and already exists on the platform.
6 years ago
Lucas Saldanha
c71944f19b
Implementing eth_chainId ( fixes #206 ) ( #219 )
6 years ago
MadelineMurray
925f9d23cb
Fixed typo ( #210 )
...
* Fixed typo
* Spotless changes
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
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
Jussi Virtanen
b9e5d74deb
Add --ropsten command line argument ( #197 )
6 years ago
Jussi Virtanen
51c43f430c
Fix --rinkeby command description ( #198 )
6 years ago
mbaxter
5fa4ed6fb0
[NC-1812] Fix blockchainImport error ( #178 )
6 years ago
tmohay
3569b0de78
Add MiningCoordinator interface ( #168 )
6 years ago
CJ Hare
2f5f829c1d
PantheonInfo updated after first build ( #167 )
6 years ago
PegaSys Admin
33f44ff216
[Gradle Release Plugin] - pre tag commit: '0.8.1'.
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
f79ca8814e
Don't display the default data directory in --help output because if it is too long, it causes Picocli to enter an infinite loop. ( #148 )
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
Sally MacFarlane
a95d81a12b
ignore these tests until we can fix it ( #124 )
6 years ago
tmohay
302fd41b42
CliquePantheonController exposes mining coordinator ( #117 )
...
Previously the getMiningCoordinator() function on the
CliquePantheonController returned 'null' as a stub.
In order for the JSON RPC to operate correctly this function needs
to return the mining coordinator created during PantheonController
initialisation - which is the change introduced through this commit.
6 years ago
tmohay
2862f54f55
Ibft tracks validating peers for multicasting ( #101 )
...
The Ibft consensus mechanism is responsible for sending a variety of
messages to other validating nodes in the network (provided they have
a point-to-point connection to them).
This change tracks which nodes have connected to the IBFT
subprotocol, and provides the functionality to only transmit messages
to nodes which are also validators.
6 years ago
Adrian Sutton
725cdb34c2
[NC-1679] Set vertx upload directory to be under the pantheon data dir. ( #115 )
6 years ago
Roberto Saltini
7cb8fef4d4
[NC-1582] Moved all the legacy iBFT classes for block importing into the newly created ibftlegacy module ( #96 )
6 years ago
mark-terry
33cc977f9b
[NC-862] License headers applied to non-java files ( #93 )
6 years ago
Danno Ferrin
60890e0ea0
Add --logging CLI option ( #97 )
...
[NC-1675] Ensure that default logging is appropriate
* Add CLI flag for logging
6 years ago
S. Matthew English
840780bffc
catch custom exception ( #61 )
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
Roberto Saltini
3abd8643a2
[NC-1616] Added iBFT NewChainHeadHeader event and related blockchain observer ( #59 )
6 years ago
Danno Ferrin
9058ce743d
[MINOR] Distribution tweaks ( #60 )
...
* [minor] distribution tweaks
* the 'pantheon:client' project is empty, and results in an empty jar, delete
* clique hard codes a version, delete so the parent takes effect
* clique does not describe it's jar, add description
* evmtools does not describe it's jar, add description.
results in
* clique-1.0.0-SNAPSHOT -> pantheon-clique-0.8.0-RC
* evmtools-0.8.0-SNAPSHOT -> pantheon-evmtools-0.8.0-RC
* client-0.8.0-SNAPSHOT -> *deleted*
* spotless formatting on the gradle file
6 years ago
S. Matthew English
daad2995a7
[MINOR] Parameterize BlockchainUtilTest ( #7 )
...
* parameterize BlockchainUtilTest
* update javadoc for return
* update method descriptiuon
* randomize tests
* eliminate redundant comment, simplify addition of params
* eliminate unused parameter
* extract redundant code into own method
6 years ago
Jason Frame
b039090b87
[NC-1402] Clique signer RPC methods to use current signers at specified block ( #51 )
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
Jason Frame
28094cee58
[NC-1394] Add shortcut --rinkeby command line to use clique on rinkeby test network ( #16 )
6 years ago
Eric Kellstrand
63b34e5332
[NC-1684] Fix licenses for PicoCLI & Rocksdbjni ( #42 )
...
- Remove custom Rocksdbjni and use upgraded version from rocksdb
- Remove custom picocli lib and use the upgraded version from pico
6 years ago
tmohay
6c8422d5f2
Wired Mining into CliquePantheonController ( #22 )
...
This changeset allows pantheon to join, and act as a validator in a clique network.
6 years ago
S. Matthew English
b06bdbdcbb
[NC-1581] Remove SyncMode CLI flag ( #27 )
...
* comment out the @Option annotation
* eliminate syncModeOptionMustBeUsed
* update to OverrideDefaultValuesIfKeyIsPresentInConfigFile
* unify on comment out approach
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
PegaSys Admin
550411b4ad
Initial commit
6 years ago