-
Notifications
You must be signed in to change notification settings - Fork 21k
build, common, contracts, log, metrics, p2p, rpc: changes necessary for swarm network rewrite merge #16886
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
build, common, contracts, log, metrics, p2p, rpc: changes necessary for swarm network rewrite merge #16886
Conversation
Thank you for your contribution! Your commits seem to not adhere to the repository coding standards
Please check the contribution guidelines for more details. This message was auto-generated by https://gitcop.com |
0c7f221
to
823111b
Compare
Thank you for your contribution! Your commits seem to not adhere to the repository coding standards
Please check the contribution guidelines for more details. This message was auto-generated by https://gitcop.com |
…y swarm-network-rewrite
Fix a spelling mistake in comment
…f bool (#16757) Fixes #16756
This commit adds many comments and removes unused code. It also removes the EmptyHash function, which had some uses but was silly.
This removes a golint warning: type name will be used as trie.TrieSync by other packages, and that stutters; consider calling this Sync. In hexToKeybytes len(hex) is even and (even+1)/2 == even/2, remove the +1.
823111b
to
a8ede7c
Compare
return sc.c.CallContext(ctx, &ignored, "shh_post", message) | ||
func (sc *Client) Post(ctx context.Context, message whisper.NewMessage) (string, error) { | ||
var hash string | ||
return hash, sc.c.CallContext(ctx, &hash, "shh_post", message) |
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.
This has already been fixed in #16757
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.
probably a rebase screw-up. looked at master and it looks fine there
@justelad Please rebase this on master. Your PR includes a bunch of commits that were merged recently. |
This PR addresses all of the necessary changes that we've made to packages residing outside the
swarm/
package.Changed packages include:
build
common
contracts
log
metrics
p2p
rpc
- rpc/client: increased maxClientSubscriptionBuffer to 20000Discussion regarding the changes that were made as part of our merging this specific part of the code can be found here
fixes ethersphere/swarm#419