Adrian Sutton
ae528fc7cb
Ensure devp2p ports are written to ports file correctly ( #1020 )
...
Start P2P network synchronously so the ports are guaranteed to be known before we write the ports file
Include the P2P TCP port in ports file even when peer discovery is disabled.
Load information from the advertised peer rather than the discovery listening socket.
Fix admin_nodeInfo to include the ?discport param in the enode URI when the discovery port differs from the P2P port.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ae09385641
[PAN-2386] Report the correct tcp port in PING packets when it differs from the UDP port ( #1019 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
779136599a
Prefix log messages from pantheon nodes running as separate processes with the node name. ( #1018 )
...
Remove duplicate logging of outgoing peer discovery packets.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
1e3968fc8a
Added permissions images ( #1034 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
802a7447b4
[minor] add rpc_modules json-rpc ( #1036 )
...
rpc_module enumerates the modules exposed to RPC. This allows the
`geth attach` geth javascript console to attach to Pantheon and use the
json-rpc APIs that pantheon and geth share.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
af66eae39f
[PAN-2302] Resume world state download from existing queue ( #1016 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
117413e417
Acceptance test - configurable gas price ( #1023 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Nicolas MASSART
1c543bff6f
Update doc contribution guidelines ( #796 )
...
* Updated search urls
* Added math support
* Doc Style guide
* removed useless extensions
* splitting doc guidelines into 3 parts
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
e923ddda65
Fix race condition in WebSocketService. ( #1021 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
72e870cd5c
[PAN-2343] made transactionpool expect a filter interface ( #1030 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
fc2b1331d5
Change EthNetworkConfig bootnodes to always be URIs instead of accepting either URI or Peer ( #1027 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
0cbec8dbb1
[minor] include reference tests in jacoco ( #1024 )
...
As previously configured reference tests were not included in jacaoco
results, implying vast swaths of the EVM were not tested. By adding
jacoco to the reference tests and including them in the report a more
accurate picture of line level testing results.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
764ab3c11e
[PAN-2344] refactor transient transaction processor ( #1017 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
ecc5e4a345
[PAN-2373] admin_nodeInfo rpc-api ( #1012 )
...
Implement admin_nodeInfo RPC call. This involved bringing data from the
ethNetworkConfig and genesis json into the rpc call, so it had a lot of
testing side effects.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jason Frame
32e41c5341
Cleanup ibft logging levels ( #995 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Trent Mohay
f9e72384a2
IBFT Acceptance tests updated with longer timeout on first block ( #1015 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
6a269c5591
[PAN-2372] Consider a world state download stalled after 100 requests with no progress ( #1007 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
4d0d18c812
Remove unused full hashimoto implementation ( #1011 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
c76ada2a4e
[PAN-2271] Add metrics to Parallel Download pipeline ( #985 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Trent Mohay
9779d5e21b
Update ibft acceptances tests to await first block ( #1013 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
79f46ac592
[PAN-2341] Created SyncStatus notifications ( #1010 )
...
* [PAN-2341] Created mechanism to publish sync status
* Refactoring WebSockets syncing subscription to respond to SyncStatus events
* Removing rpc-ws-refresh-delay option
* Removing ws-refresh-delay option from ATs
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
f6f56614aa
Reduce log level when block miner is interrupted and avoid starting mining a new block if mining has been cancelled. ( #1006 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
582abe72d4
[PAN-2367] Fix race condition in WebSocket AT ( #1002 )
...
* [PAN-2367] Fix race condition in WebSocket AT
* Removing unecessary check
* Update test
* Spotless
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
2be7fcea6f
Address acceptance test intermittency ( #1008 )
...
* Wait for IBFT network to start generating blocks.
* Ignore CliqueGetSignersRpcTest until it gets reworked to not hard code the block numbers
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Eric Kellstrand
2f495b5950
[PAN-2369] RunnerTest fail on Windows due to network startup timing issue ( #1005 )
...
[PAN-2369] RunnerTest fail on Windows due to network startup timing issue
* Forces RunnerTest to wait for the P2PNetwork to start and actually configure it's ports before asking for them.
* Re-Enables RunnerTest.fullSyncFromGenesis()
* Re-Enables RunnerTest.fastSyncFromGenesis()
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
60e233dc7f
Make acceptance tests use the process based runner again ( #990 )
...
* Set system property correctly so acceptance tests actually use the process runner.
* Update ProcessPantheonNodeRunner to use the new CLI options and support additional features now required.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
5ffb304149
delete the legacy pipelined import chain segment task. ( #1003 )
...
This has been replaced by the parallel import chain segment task.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
0fcb3afa24
Requests accepted by localhost and 127.0.0.1 by default
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
f704c5ba9e
Added additional PRs
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Trent Mohay
c25fab6100
RoundChangeCertificateValidator requires unique authors ( #989 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
625ea9d709
Updated 127.0.0.1 to localhost in examples
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
205e186fba
Make rinkby the benchmark chain. Ropsten is too fragmented. ( #986 )
...
Make rinkby the benchmark chain. Ropsten is too fragmented.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
f95cb15033
ignore tests ( #991 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
5da4fac02f
Integration Test implementation dependency for non-IntelliJ IDE ( #978 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
2f4945c6f4
Fix benchmark compilation ( #980 )
...
* Add compileJmh target to Jenkinsfile so we detect compilation errors in benchmark code.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
9f8d14522e
Separate download state tracking from WorldStateDownloader ( #967 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
b81ad01b0f
Change ExpectBlockNumber to require at least the specified block number instead of exactly that block number ( #981 )
...
Otherwise tests fail if the miner finds a new block before the check runs.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
5e8d449ef6
changed provider ( #964 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
d22416756a
Changelog v1.0 updates ( #942 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
b6bca68d68
Add WorldStateDownloaderBenchmark. ( #972 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
166b32273c
Updated to use export-address ( #982 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
87d9ed4f77
Edits before release ( #983 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
42e84431af
Updated Clique and IBFT 2.0 docs to include complete genesis file ( #968 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
a32ca2f070
RLP CLI Reference Edits
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
7813290d43
accept 127.0.0.1 as localhost for host whitelisting ( #974 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jason Frame
1352eefb6a
Only import block if it isn't already on the blockchain ( #962 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
a71283a870
Disable picocli ansi when testing ( #973 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
ddf1bd2d24
[PAN-2074] Add --metrics-category CLI to only enable select metrics ( #969 )
...
We are growing our list of metrics by the day, and some of them we don't
always need. So we should provide a way to trim them.
* If metrics are not enabled we supply a no-op metrics
* If only select metric categories are enabled we supply real metrics
for the selected metrics and no-op metrics for all the rest
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
b2d41e41ef
Added Create an IBFT 2.0 network tutorial ( #948 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
8f5be73c35
Gradle dependency for JMH annotation, for IDEs that aren't IntelliJ ( #966 )
...
* Gradle dependency for JMH annotation, for IDEs that aren't IntelliJ
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago