-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PortalNetwork: Deal with rough edges in network startup and CLI Support for Portal Network Node #704
Merged
acolytec3
merged 23 commits into
ethereumjs:master
from
cjustinobi:improvement/ultralight-defaults
Jan 23, 2025
Merged
PortalNetwork: Deal with rough edges in network startup and CLI Support for Portal Network Node #704
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f233778
add default bind address and bootnodes params
cjustinobi 46269a2
add portal client script
cjustinobi 049bcf9
update README and EXAMPLES file
cjustinobi f9dc1a0
correct broken API link
cjustinobi 5f416da
update EXAMPLES.md
cjustinobi 6bab600
Move portalClient to portalnetwork dir and add test
cjustinobi 4d24ae6
Merge branch 'master' into improvement/ultralight-defaults
cjustinobi ce1d95a
Update portalClient test
cjustinobi 5fac772
add default bind address and bootnodes params
cjustinobi 5530947
add portal client script
cjustinobi 8b8e1d0
update README and EXAMPLES file
cjustinobi a8f4f1e
correct broken API link
cjustinobi b245c03
update EXAMPLES.md
cjustinobi b5bdec4
Move portalClient to portalnetwork dir and add test
cjustinobi e065bf8
Update portalClient test
cjustinobi 8e4cdbe
Update bootnodes list
cjustinobi cbea73f
Fix conflict after pulling
cjustinobi 5051dcf
Merge remote-tracking branch 'origin/master' into pr/cjustinobi/704
acolytec3 08e884b
Remove test
cjustinobi 6e32ac9
Remove duplicate scripts and tests
acolytec3 478c257
Merge remote-tracking branch 'origin/master' into pr/cjustinobi/704
acolytec3 b45996c
remove examples and portal client stuff
acolytec3 1125f2a
add tests for default settings
acolytec3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
export const DEFAULT_BOOTNODES = { | ||
mainnet: [ | ||
'enr:-I24QO4X4ECNw19M51l3UYjQPq91dwy7FzEdOb43xEjvGnJMOU2cqD-KQ0FNZbpuzRWyQRiqLinAWw2qsgnRQ2guLt0EY4d1IDAuMC4xgmlkgnY0gmlwhKRc9_OJc2VjcDI1NmsxoQOdan7kE4_KU8yM1SNzw9OIrd-oQOlDBnz01fA2fz_1yoN1ZHCCE44', | ||
'enr:-I24QFm1w_fuMnMf4DsUr_PDVzn_Kn_PY6zQYsoWkJIk4evHUxO8OBacbdo4-7bAyvrXsYgCmOVgOQulvA_9ompMfc8EY4d1IDAuMC4xgmlkgnY0gmlwhKRc9_OJc2VjcDI1NmsxoQPeFHF3dY24vc0QgrRIM1vz3ZFnbmddmKLjhP34pxaD5YN1ZHCCE40', | ||
'enr:-I24QEkyh8nyn2PLMokMXzc_zpuiYxN2VHKrGfU7YI60K9_5YoGZsq-kSngZqLHeOWP3La-Pt5zaojutlsbbsbZ30dYEY4d1IDAuMC4xgmlkgnY0gmlwhKRc9_OJc2VjcDI1NmsxoQM-ccaM0TOFvYqC_RY_KhZNhEmWx8zdf6AQALhKyMVyboN1ZHCCE4w', | ||
'enr:-I24QDoMcfNTC3xoH_TSmALXS4WMybTM5SQrysabBxR1DG_UaXHVRHtpQdiGNhxqjHvfSONhnPETB8HorZYplIluDS0EY4d1IDAuMC4xgmlkgnY0gmlwhKRc9_OJc2VjcDI1NmsxoQOImp2idIf2UoY-GoY49pOeJAtqeeDLfb5VDxj94h_I44N1ZHCCE48', | ||
'enr:-I24QHZ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msxoQO7DZE841adtMdh8qsDYCDyTjGLud1HZJg-P-OAbTDVz4N1ZHCCE4s', | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ScottyPoi what do you think about adding these defaults to
PortalNetwork.create
as well? I'm trying to think of a reason we wouldn't want the bootnodes list to be an optional default in thecreate
method for the base client and not just the provider here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think
PortalNetwork.create
should still default to an empty bootnodes list so the client doesn't automatically ping all of the bootnodes every time we run a test