MadelineMurray
bf54ead34c
Removed version notes
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
ccb30641fa
Incremental Optimization(s) on BlockBroadcaster ( #911 )
...
--> adapt `BlockBroadcaster` to use `send` method on `EthPeer`
--> adapt `EthProtocolMamnager` to utilize `BlockBroadcaster` to disseminate newly mined block
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
768293385f
Process world state download data on a worker thread ( #898 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
d00ebf4521
Halt the chain download when the future is cancelled (or otherwise completed). ( #901 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
15b99e2752
When picking fast sync pivot block, use the peer with the best total difficulty, not the highest chain. ( #899 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
13c9ae4efc
Added Resources page linking to Pantheon blog posts and webinars ( #897 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
1c634dd885
Add metric to expose number of inflight world state requests. ( #906 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
1e460157e8
Fix task queue so that the updated failure count for requests is actually stored. ( #893 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
5eb2ee01db
Limit the number of times we retry peer discovery interactions. ( #908 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
7bcaff60cc
Unit tests of BlockBroadcaster ( #887 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Guillaume Lethuillier
330e085096
Fix 'the Input Is Too Long' Error on Windows ( #843 )
...
Fix for the _“The input line is too long”_ error on Windows.
This fix makes Gradle generate a shortened but operational command in `pantheon.bat`.
The modified `pantheon.bat`, instead of explicitly referencing each .jar individually when initializing the classpath, uses the wildcard character `*` instead.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
b7761de2a3
Use absolute data-path instead of relative. ( #894 )
...
When using the data-path internally use an absolute version instead of the path instead of a relative form.
This fixes a null pointer exception when the data-path is set to an empty string (in a TOML config using `data-path=""` or CLI using `--data-path=`) and interprets that empty string to be the current working directory.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mark-terry
7c97318f28
[PAN-2287] Added rebind mitigation for websockets. ( #905 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
9f597293cf
JSON-RPC Authentication
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
2de26d69c1
[PAN-1930] bootnodes not on whitelist - improve errors ( #904 )
...
* enhanced test
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
527cf58b05
RPC Pub/Sub clarification from feedback ( #889 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
36447ba73e
enforce accounts must start with 0x ( #900 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
b1909f7ab6
[PAN-2309] CLI mixin help ( #895 )
...
* don't create a new CommandLine object in the case of exception - this caused the help to be missing the mixins added
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
4405571733
Added content for password command ( #882 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
96a431a679
Added --permissions-config-file option ( #874 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
613e9bd6b3
[Minor] fix auth file validation errors ( #886 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
ca1c122a2a
gensis typo ( #892 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
012b875f3e
Fixed MetaMask link
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
5ffd3aba9a
[PAN-2313] Fix authentication header ( #891 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
705bebad9b
Reorganize eth tasks ( #890 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
5597214e29
[NC-2046] websocket method permissions ( #870 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
f7849ac06e
[NC-2058] Improve block propagation time ( #808 )
...
* o
* add test
* clean up
* scaffolding
* update
* update
* comments
* add test
* update
* update ii
* format
* update ii
* fix
* verifyBroadcastBlockInvocation
* test
* update
* update to difficulty calculation
* remove BlockBroadcasterTest from this pr
* update
* update
* update II
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
bf710da941
Add metrics for EthScheduler executors ( #878 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
708e866c21
Reduce logging noise from invalid peer discovery packets and handshaking ( #876 )
...
* Reduce logging for invalid peer discovery packets. The message is enough to locate the source of the rejection.
* Reduce ECIESHandshaker logging to trace since it documents a normal flow through the handshake process.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
8df9a9622b
Ensure exceptions in suppliers passed to EthScheduler are propagated to the returned CompletableFuture. ( #884 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
1da0008666
[PAN-2305] Detect stalled world state downloads ( #875 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
312f285a15
[MINOR] Fixing file locations under docker ( #885 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
a2e187340d
More bootnodes for goerli ( #880 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
406c7f32f6
[PAN-2239] Disconnect peer removed from node whitelist ( #877 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
732ae450c4
[PAN-2270] Rename password hash command ( #879 )
...
* PAN-2270: Rename password hash command
* Fixing test
* PR review
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
1dd61a2a12
Added perm_reloadPermissionsFromFile
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
33e9f0e508
[PAN-2196] Implement world state cancel ( #867 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
bbcfbeac9e
Select new pivot block when world state becomes unavailable ( #869 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
463fc3994e
Introduce FutureUtils to reduce duplicated code around CompletableFuture ( #868 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
48986b70c2
[BUG] admin_addPeer isn't periodically checking maintained connections ( #871 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Trent Mohay
6af7ab1b93
Break out RoundChangeCertificate validation ( #864 )
...
With upcoming changes to remove the NewRound message, and place
the RoundChangeCertificate in the Proposal, it was decided to break
out the RoundChangeCertiifcate validation into a separate file
to minimise changes during message restructuring.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
60b0137368
Fix state download race condition by creating a TaskQueue API ( #853 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
c0291635d0
Renaming authentication config file cli command ( #865 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
556877209e
Disconnect peers where the common ancestor is before our fast sync pivot ( #862 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
af4d73bcf1
IBFT config options ( #861 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
aae9f5f90c
[NC-2058] initial scaffolding re block propagation ( #860 )
...
* o
* add test
* clean up
* scaffolding
* update
* update
* comments
* add test
* update
* update
* update
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
913c950276
Fix NullPointerException - complete future with fast sync state not null. ( #859 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Sally MacFarlane
8ad0e4ab63
[NC-2046] check for invalid token ( #856 )
...
* check the token if authentication enabled, regardless of user optional status
* more tests
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
d3b9211b82
Moving NodeWhitelistController to permissioning package ( #855 )
...
* Moving NodeWhitelistController to permissioning package
* Refactoring unit tests
* Fix string.format
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
1dfe3e8eb7
Added tutorial to create permissioned network ( #850 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago