[ethereum/go-ethereum] fixings (#17380)

you should pay for this
You can view, comment on, or merge this pull request online at:

https://github.com/ethereum/go-ethereum/pull/17380

— Commit Summary —

* rpc: Add admin_addTrustedPeer and admin_removeTrustedPeer.
* p2p: Test for MaxPeers=0 and TrustedPeer override
* p2p: More tests for AddTrustedPeer/RemoveTrustedPeer
* p2p: Attempt to race check peer.Inbound() in TestServerDial
* p2p: Cache inbound flag on Peer.isInbound to avoid a race
* p2p: Test for peer.rw.flags race conditions
* p2p: Wrap conn.flags ops with atomic.Load/Store
* params, swarm/version: begin Geth v1.8.14, Swarm v0.3.2 cycle
* build: explicitly name all packages to be cross-compiled (#17288)
* tests: enable the Constantinople fork definition
* Revert «cmd/evm: change error msg output to stderr (#17118)»
* Merge pull request #17302 from karalabe/revert-evm-nil-panic
* Merge pull request #17301 from karalabe/tests-enable-constantinople
* core/vm: update benchmarks for core/vm (#17308)
* mobile: fix missing return for CallMsg.SetTo(nil)
* Merge pull request #17310 from karalabe/mobile-nil-panic
* accounts/keystore: rename skipKeyFile to nonKeyFile to better reveal the function purpose (#17290)
* consensus/ethash: move remote agent logic to ethash internal (#15853)
* cmd/puppeth: graceful shutdown on redeploys
* Merge pull request #17311 from karalabe/puppeth-graceful-stop
* README: Fix punctuation — closes #17317
* Merge pull request #17318 from ligi/fix_punctuation
* core/vm: fix comment typo (#17319)
* cmd/swarm, swarm: various test fixes (#17299)
* miner: seperate state, receipts for different mining work (#17323)
* Merge pull request #16333 from shazow/addremovetrustedpeer
* p2p: use safe atomic operations when changing connFlags (#17325)
* swarm/storage/mru: HOTFIX — fix panic in Handler.update (#17313)
* swarm/api/http: refactored http package (#17309)
* swarm/api/http: GET/PUT/PATCH/DELETE/POST multipart form unit tests. (#17277)
* swarm/README: add more sections to easily onboard developers (#17333)
* p2p, swarm, trie: avoid copying slices in loops (#17265)
* swarm/api/http: test fixes (#17334)
* whisper: remove unused error (#17315)
* swarm: Added lightnode flag (#17291)
* swarm/bmt: ignore data longer then 4096 bytes in Hasher.Write (#17338)
* swarm/api/http: fixed list leaf links (#17342)
* trie: fix comment typo (#17350)
* rpc: fix a subscription name (#17345)
* p2p/discv5: fix negative index after uint convert to int (#17274)
* eth, trie: fix tracer GC which accidentally pruned the metaroot
* Merge pull request #17357 from karalabe/tracer-trie-deref-bug
* cmd/swarm: remove shadow err (#17360)
* cmd/swarm: disable TestCLISwarmFs fuse test on darwin (#17340)
* swarm/api: close tar writer in GetDirectoryTar to flush and clean (#17339)
* cmd/swarm: solve rare cases of using the same random port in tests (#17352)
* swarm/api/http: added logging to denote request ended (#17371)
* Manifest cli fix and upload defaultpath only once (#17375)

— File Changes —

M README.md (2)
M accounts/keystore/file_cache.go (8)
M build/ci.go (5)
M cmd/evm/compiler.go (2)
M cmd/evm/disasm.go (2)
M cmd/evm/internal/compiler/compiler.go (5)
M cmd/evm/runner.go (28)
M cmd/evm/staterunner.go (8)
M cmd/geth/consolecmd_test.go (2)
M cmd/puppeth/module_dashboard.go (4)
M cmd/puppeth/module_ethstats.go (4)
M cmd/puppeth/module_explorer.go (6)
M cmd/puppeth/module_faucet.go (4)
M cmd/puppeth/module_nginx.go (4)
M cmd/puppeth/module_node.go (6)
M cmd/puppeth/module_wallet.go (6)
M cmd/swarm/config.go (16)
M cmd/swarm/config_test.go (14)
M cmd/swarm/fs.go (2)
M cmd/swarm/fs_test.go (7)
M cmd/swarm/main.go (16)
M cmd/swarm/manifest.go (234)
A cmd/swarm/manifest_test.go (579)
M cmd/swarm/run_test.go (136)
M cmd/swarm/upload.go (11)
M cmd/swarm/upload_test.go (81)
M consensus/clique/clique.go (5)
M consensus/consensus.go (3)
M consensus/ethash/algorithm_test.go (1)
A consensus/ethash/api.go (117)
M consensus/ethash/ethash.go (132)
M consensus/ethash/ethash_test.go (92)
M consensus/ethash/sealer.go (149)
M core/vm/evm.go (2)
M core/vm/instructions_test.go (4)
M eth/api.go (46)
M eth/api_tracer.go (8)
M eth/backend.go (3)
M internal/web3ext/web3ext.go (39)
M les/backend.go (1)
M miner/agent.go (59)
M miner/miner.go (32)
D miner/remote_agent.go (202)
M miner/worker.go (213)
M mobile/ethereum.go (1)
M node/api.go (33)
M p2p/discover/table.go (8)
M p2p/discv5/net.go (2)
M p2p/discv5/net_test.go (2)
M p2p/discv5/table.go (8)
M p2p/peer.go (2)
M p2p/server.go (67)
M p2p/server_test.go (110)
M params/version.go (8)
M rpc/client_example_test.go (2)
M swarm/README.md (191)
M swarm/api/api.go (29)
M swarm/api/client/client.go (31)
M swarm/api/client/client_test.go (2)
M swarm/api/config.go (1)
D swarm/api/http/error.go (208)
D swarm/api/http/error_templates.go (559)
A swarm/api/http/middleware.go (95)
A swarm/api/http/response.go (133)
R swarm/api/http/response_test.go (2)
A swarm/api/http/sctx.go (38)
M swarm/api/http/server.go (565)
M swarm/api/http/server_test.go (315)
M swarm/api/http/templates.go (441)
M swarm/api/manifest.go (23)
M swarm/bmt/bmt.go (2)
M swarm/network/protocol.go (13)
M swarm/network/protocol_test.go (80)
M swarm/network/simulation/simulation.go (23)
M swarm/network/simulation/simulation_test.go (2)
M swarm/network/stream/delivery_test.go (10)
M swarm/network/stream/snapshot_sync_test.go (4)
A swarm/sctx/sctx.go (7)
M swarm/storage/mru/handler.go (2)
M swarm/swarm.go (1)
M swarm/version/version.go (8)
M tests/init.go (10)
M trie/database.go (7)
M trie/node.go (4)
M trie/trie.go (2)
M whisper/whisperv6/doc.go (7)

— Patch Links —

https://github.com/ethereum/go-ethereum/pull/17380.patch
https://github.com/ethereum/go-ethereum/pull/17380.diff

Добавить комментарий