-
Notifications
You must be signed in to change notification settings - Fork 6
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
Upgrade to geth release/1.9 #7
base: loomchain
Are you sure you want to change the base?
Conversation
…9490) * swarm/network: fix data races in TestInitialPeersMsg test * swarm/network: add Kademlia.Saturation method with lock * swarm/network: add Hive.Peer method to safely retrieve a bzz peer * swarm/network: remove duplicate comment * p2p/testing: prevent goroutine leak in ProtocolTester * swarm/network: fix data race in newBzzBaseTesterWithAddrs * swarm/network: fix goroutone leaks in testInitialPeersMsg * swarm/network: raise number of peer check attempts in testInitialPeersMsg * swarm/network: use Hive.Peer in Hive.PeerInfo function * swarm/network: reduce the scope of mutex lock in newBzzBaseTesterWithAddrs * swarm/storage: disable TestCleanIndex with race detector
* typo fix * change to stores
eth: enforce chain above CHT before accepting txs into the pool
This change restructures the internals of p2p/discover to make room for the discv5 code which will soon be added to this package. - packet type names now have a "V4" suffix. - ListenUDP returns *UDPv4 instead of *Table. This technically breaks the API but the only caller in go-ethereum is package p2p, which uses a compatible interface and doesn't need changes. - The internal transport interface is changed to make Table reusable for v5. - The 'lookup' code moves from table to transport. This required updating the lookup unit test to use udpTest instead of a custom transport.
…m#19301) * consensus,core,miner: avoid overhead of creating a new block * consensus: nitpick dot * consensus: fix some comment formatting nits
This change makes getBalance, getCode, getStorageAt, getProof, call, getTransactionCount return an error if the block number in the request doesn't exist. getHeaderByNumber still returns null for missing headers.
p2p/discover: split out discv4 code
* trie: fix merkle proof * trie: use hasher instead of allocate keccack256 every time * trie: add comments
* core: add tests for canonicality confusion * core: delete stale future canon number mappings during reorg to shorter+heavier chain
…re (ethereum#19432) * accounts: add note about backing up the keystore * cmd, accounts: move the printout to accountCreate * internal, signer: add info when new account is created via rpc * cmd, internal, signer: split logs * cmd/geth: make account new output a bit more verbose
eth/downloader: fix header delays during chain dedup
* core: import known blocks if they can be inserted as canonical blocks * core: insert knowns blocks * core: remove useless * core: doesn't process head block in reorg function
…versions (ethereum#19522) * add-date-to unstable * fields-insteadof-split * internal/build: support building with missing git * docker: add git history back to support commit date in version * internal/build: use PR commits hashes for PR builds
cmd/faucet: embed git commit hash/date, disable Google+
cmd/swarm/swarm-smoke: improve smoke tests (ethereum#1337) swarm/network: remove dead code (ethereum#1339) swarm/network: remove FetchStore and SyncChunkStore in favor of NetStore (ethereum#1342)
* swarm/shed: remove metrics fields from DB struct * swarm/schunk: add String methods to modes * swarm/storage/localstore: add metrics and traces * swarm/chunk: unknown modes without spaces in String methods * swarm/storage/localstore: remove bin number from pull subscription metrics * swarm/storage/localstore: add resetting time metrics and code improvements
swarm/network: measure how many chunks a node delivers (ethereum#1358)
* swarm/chunk: add tags backend to chunk package
internal/ethapi: fix debug.chaindbProperty
ethereum#19870) No need to convert these types.
* Added missing error checks Add error handling where we assign err a value, but don't check for it being nil. * core/rawdb: tiny style nit
params: bump hard-coded CHTs to 22nd July values
all: update author list and licenses
…#19866) * rpc: implement websockets with github.com/gorilla/websocket This change makes package rpc use the github.com/gorilla/websocket package for WebSockets instead of golang.org/x/net/websocket. The new library is more robust and supports all WebSocket features including continuation frames. There are new tests for two issues with the previously-used library: - TestWebsocketClientPing checks handling of Ping frames. - TestWebsocketLargeCall checks whether the request size limit is applied correctly. * rpc: raise HTTP/WebSocket request size limit to 5MB * rpc: remove default origin for client connections The client used to put the local hostname into the Origin header because the server wanted an origin to accept the connection, but that's silly: Origin is for browsers/websites. The nobody would whitelist a particular hostname. Now that the server doesn't need Origin anymore, don't bother setting one for clients. Users who need an origin can use DialWebsocket to create a client with arbitrary origin if needed. * vendor: put golang.org/x/net/websocket back * rpc: don't set Origin header for empty (default) origin * rpc: add HTTP status code to handshake error This makes it easier to debug failing connections. * ethstats: use github.com/gorilla/websocket * rpc: fix lint
…nts (ethereum#19869) Fixed assigning values to variables we don't end up using.
* Add 5 minute grace period to faucet timeout * cmd/faucet: make grace period dynamic based on original wait time
cmd/geth: skip 4GB memory bump for devnet
…7966) * bump azure-storage-blob-go dependency to 0.3.0 release * update azure-storage-blob-go module import path * fix multiple return values on azblob.NewSharedKeyCredential * vendor: bump Azure libs to latest from upstream
* eth, interal, les: add getHeaderBy* APIs * internal: address the comment * eth, internal, les: getHeader nits, missing TD, console callable
Iteration order over db.preimages was not deterministic, sorting the batch contents when the batch is written wasn't enough to work around this if preimages didn't fit into a single batch. So now Commit() will pre-sort preimages to ensure their order is always deterministic, even when split across multiple batches.
@suhasagg why did we add those commits? |
In newer geth release upgrade 1.9. |
…er (#7) (ethereum#22989) Co-authored-by: Gary Rong <[email protected]> Co-authored-by: Mikhail Kalinin <[email protected]>
Upgrade to geth release/1.9