Skip to content
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

Graphql Branch Refresh #3

Open
wants to merge 121 commits into
base: graphql
Choose a base branch
from
Open

Graphql Branch Refresh #3

wants to merge 121 commits into from

Conversation

kshinn
Copy link

@kshinn kshinn commented Dec 30, 2018

I'm trying to see if we can get this initiative picked back up. I've rebased current master against your graphql branch. There was also some conflicts in the api.go file that I tried to resolve. There seemed to be a difference on the public / private Xyz and DoXyz calls. A couple of the calls were also detached from the PublicBlockChainApi struct that I'm not sure were on purpose or not. I've "fixed" them as to what I think they should be, but I don't know what the original intention was so it may not be correct. Commit 81efd4b is where that last bit was done.

holiman and others added 30 commits November 20, 2018 12:28
* core/blockchain: better printout of receipts in bad block reports

* fix splleing
core: better side-chain importing
…8162)

* params: Add Constantinople block to AllCliqueProtocolChanges

* params: Add Constantinople block to AllEthashProtocolChanges
trie/database: fix overflow in parent tracking
- Have `${DataDir}/bzzd.ipc` as IPC path default.
- Respect the `--datadir` flag.
- Keep only the global `--ipcpath` flag and drop the local `--ipcpath` flag
  as flags might overwrite each other. (Note: before global `--ipcpath`
  was ignored even if it was set)

fixes ethersphere#795
* core: return error if repair block failed

* make error a bit shorter
config: add constantinople block to testchainconfig
TryUpdate does not call t.trie.TryUpdate(key, value) and calls t.trie.TryDelete
instead. The update operation simply deletes the corresponding entry, though
it could retrieve later by odr. However, it adds further network overhead.
* cmd/swarm: fix ethersphere/swarm#979:

update should error on manifest mistmatch

* cmd/swarm: fixed comments and remove sprintf from log.Info

* cmd/swarm: remove unnecessary comment
* swarm/network/stream/: added stream protocol version match tests

* Increase BZZ version due to streamer version change; version tests

* swarm/network: increased hive and test protocol version
* Update net.go

more simple

* Update net.go
qdgogogo and others added 25 commits December 14, 2018 11:15
* fix slice unpack bug in accounts/abi
* swarm/network/stream: fix visualized_snapshot_sync_sim_test

* swarm/network/stream: updated visualized snapshot-test;data in p2p event

* swarm/network/stream: cleanup visualized snapshot sync test

* swarm/network/stream: re-enable t.Skip for visualized test

* swarm/network/stream: addressed PR comments
…thereum#18335)

* downloader: fix edgecase where returned index is OOB for downloader

* downloader: documentation

Co-Authored-By: holiman <martin@swende.se>
* core: sanitize more TxPoolConfig fields

* core: fix TestTransactionPendingMinimumAllowance
…reum#18287)

* p2p/simulation: WIP minimal snapshot test

* p2p/simulation: Add snapshot create, load and verify to snapshot test

* build: add test tag for tests

* p2p/simulations, build: Revert travis change, build test sym always

* p2p/simulations: Add comments, timeout check on additional events

* p2p/simulation: Add benchmark template for minimal peer protocol init

* p2p/simulations: Remove unused code

* p2p/simulation: Correct timer reset

* p2p/simulations: Put snapshot check events in buffer and call blocking

* p2p/simulations: TestSnapshot fail if Load function returns early

* p2p/simulations: TestSnapshot wait for all connections before returning

* p2p/simulation: Revert to before wait for snap load (5e75594)

* p2p/simulations: add "conns after load" subtest to TestSnapshot

and nudge
* p2p/protocols: accounting metrics rpc added (ethereum#847)

* p2p/protocols: accounting api documentation added (ethereum#847)

* p2p/protocols: accounting api doc updated (ethereum#847)

* p2p/protocols: accounting api doc update (ethereum#847)

* p2p/protocols: accounting api doc update (ethereum#847)

* p2p/protocols: fix file is not gofmted

* fix lint error

* updated comments after review

* add account balance to rpc

* naming changed after review
* swarm/network: Revised depth calculation with tests

* swarm/network: WIP remove redundant "full" function

* swarm/network: WIP peerpot refactor

* swarm/network: Make test methods submethod of peerpot and embed kad

* swarm/network: Remove commented out code

* swarm/network: Rename health test functions

* swarm/network: Too many n's

* swarm/network: Change hive Healthy func to accept addresses

* swarm/network: Add Healthy proxy method for api in hive

* swarm/network: Skip failing test out of scope for PR

* swarm/network: Skip all tests dependent on SuggestPeers

* swarm/network: Remove commented code and useless kad Pof member

* swarm/network: Remove more unused code, add counter on depth test errors

* swarm/network: WIP Create Healthy assertion tests

* swarm/network: Roll back health related methods receiver change

* swarm/network: Hardwire network minproxbinsize in swarm sim

* swarm/network: Rework Health test to strict

Pending add test for saturation
And add test for as many as possible up to saturation

* swarm/network: Skip discovery tests (dependent on SuggestPeer)

* swarm/network: Remove useless minProxBinSize in stream

* swarm/network: Remove unnecessary testing.T param to assert health

* swarm/network: Implement t.Helper() in checkHealth

* swarm/network: Rename check back to assert now that we have helper magic

* swarm/network: Revert WaitTillHealthy change (deferred to nxt PR)

* swarm/network: Kademlia tests GotNN => ConnectNN

* swarm/network: Renames and comments

* swarm/network: Add comments
@Arachnid
Copy link
Owner

Thanks for this! However, I don't see any way to effectively review this, since it's showing me the difference between my current branch and the one with the merges applied. I may just have to apply the diff myself.

@kshinn
Copy link
Author

kshinn commented Dec 31, 2018

Yes, there are a lot of changes because of the master update merge. Are your concerns with the changes that I made specifically or the affect on all of the combined changes. The file api.go was the only file that had conflicts. The merge commit attempted to resolve them and subsequent commit tries to make the design of the code more consistent.

Let me know if there is anything I can do to help out. Would it be helpful if I annotated my changes in the PR?

@Arachnid
Copy link
Owner

Arachnid commented Dec 31, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.