erigon-pulse/to-merge.txt
Martin Holst Swende 444a056fa6 les/checkpointoracle: don't lookup checkpoint more than once per minute (#21285)
* les/checkpointoracle: don't lookup checkpoint more than once per second

* les/checkpoint/oracle: change oracle checktime to 1 minute
# Conflicts:
#	les/checkpointoracle/oracle.go
2020-08-07 12:27:56 +02:00

604 lines
21 KiB
Plaintext

commit f5382591874220287de253bfc08b10afd5244927
Author: Péter Szilágyi <peterke@gmail.com>
Date: Mon Jul 27 14:53:53 2020 +0300
params: release Geth v1.9.18
commit b1be9794431e513eaa95fa44ca36c134eaf04b9b
Author: Gary Rong <garyrong0905@gmail.com>
Date: Mon Jul 27 17:57:15 2020 +0800
params: upgrade CHTs (#21376)
commit e997f92caf7f817388e6be29645f88c7639c6629
Merge: 6793ffa12 56434bfa8
Author: Péter Szilágyi <peterke@gmail.com>
Date: Fri Jul 24 15:02:52 2020 +0300
Merge pull request #21368 from holiman/update_uint256
deps: update uint256 to v1.1.1
commit 56434bfa8936c12304a4134a1a0aac421403f76d
Author: Martin Holst Swende <martin@swende.se>
Date: Fri Jul 24 14:00:08 2020 +0200
deps: update uint256 to v1.1.1
commit 6793ffa12b7d4e86ee2f66afa1647dd3f0680ea0
Merge: 105922180 5413df1df
Author: Péter Szilágyi <peterke@gmail.com>
Date: Fri Jul 24 11:14:42 2020 +0300
Merge pull request #21300 from rjl493456442/txpool-fix-queued-evictions
core: fix queued transaction eviction
commit 5413df1dfa5452053e6e4418cd4d021c4dc002cb
Author: Gary Rong <garyrong0905@gmail.com>
Date: Wed Jul 8 16:27:04 2020 +0800
core: fix heartbeat in txpool
core: address comment
commit c374447401f3c33653fa4327fa9633042f09091c
Author: villanuevawill <hello@willvillanueva.com>
Date: Fri May 22 21:15:01 2020 -0400
core: fix queued transaction eviction
Solves issue#20582. Non-executable transactions should not be evicted on each tick if there are no promote transactions or if a pending/reset empties the pending list. Tests and logging expanded to handle these cases in the future.
core/tx_pool: use a ts for each tx in the queue, but only update the heartbeat on promotion or pending replaced
queuedTs proper naming
commit 105922180fd97ed34e090a395c62e0288a6aa424
Author: Martin Holst Swende <martin@swende.se>
Date: Fri Jul 24 09:46:26 2020 +0200
eth/downloader: refactor downloader + queue (#21263)
* eth/downloader: refactor downloader + queue
downloader, fetcher: throttle-metrics, fetcher filter improvements, standalone resultcache
downloader: more accurate deliverytime calculation, less mem overhead in state requests
downloader/queue: increase underlying buffer of results, new throttle mechanism
eth/downloader: updates to tests
eth/downloader: fix up some review concerns
eth/downloader/queue: minor fixes
eth/downloader: minor fixes after review call
eth/downloader: testcases for queue.go
eth/downloader: minor change, don't set progress unless progress...
eth/downloader: fix flaw which prevented useless peers from being dropped
eth/downloader: try to fix tests
eth/downloader: verify non-deliveries against advertised remote head
eth/downloader: fix flaw with checking closed-status causing hang
eth/downloader: hashing avoidance
eth/downloader: review concerns + simplify resultcache and queue
eth/downloader: add back some locks, address review concerns
downloader/queue: fix remaining lock flaw
* eth/downloader: nitpick fixes
* eth/downloader: remove the *2*3/4 throttling threshold dance
* eth/downloader: print correct throttle threshold in stats
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
commit 3a57eecc69447766ab51b6b290ff6d8656e16b3f
Author: Felix Lange <fjl@twurst.com>
Date: Thu Jul 23 19:15:40 2020 +0200
mobile: fix build on iOS (#21362)
This fixes the iOS framework build by naming the second parameter of the
Signer interface method. The name is important because it becomes part
of the objc method signature.
Fixes #21340
commit 997b55236ebb5c35a87fa25dd5ec89fe6240d801
Author: Felix Lange <fjl@twurst.com>
Date: Thu Jul 23 12:34:08 2020 +0200
build: fix GOBIN for gomobile commands (#21361)
commit 4c268e65a083e43ec5a2b96b9c93819dedd97acf
Author: meowsbits <b5c6@protonmail.com>
Date: Wed Jul 22 22:47:34 2020 -0500
cmd/utils: implement configurable developer (--dev) account options (#21301)
* geth,utils: implement configurable developer account options
Prior to this change --dev (developer) mode
generated one account with an empty password,
irrespective of existing --password and --miner.etherbase
options.
This change makes --dev mode compatible with these
existing flags.
--dev mode may now be used in conjunction with
--password and --miner.etherbase flags to configure
the developer faucet using an existing keystore or
in creating a new account.
Signed-off-by: meows <b5c6@protonmail.com>
* main: remove key/pass flags from usage developer section
These flags are included already in other sections,
and it is not desired to duplicate them.
They were originally included in this section
along with added support for these flags in the
developer mode.
Signed-off-by: meows <b5c6@protonmail.com>
commit 0b53e485d84db1dd25330622dab6ed24818f162e
Merge: 123864fc0 9e22e912e
Author: Péter Szilágyi <peterke@gmail.com>
Date: Wed Jul 22 17:39:08 2020 +0300
Merge pull request #21352 from karalabe/dev-noinit-genesis
cmd/utils: reuse existing genesis in persistent dev mode
commit 9e22e912e3781556bf85364bb51099f369ad7632
Author: Péter Szilágyi <peterke@gmail.com>
Date: Tue Jul 21 15:53:47 2020 +0300
cmd/utils: reuse existing genesis in persistent dev mode
commit 123864fc055482279fa61ce063b7e2aad48c0609
Author: rene <41963722+renaynay@users.noreply.github.com>
Date: Tue Jul 21 10:53:06 2020 +0200
whisper/whisperv6: improve test error messages (#21348)
commit 7163a6664ee664df81b9028ab3ba13b9d65a7196
Author: Sammy Libre <7374093+sammy007@users.noreply.github.com>
Date: Tue Jul 21 13:51:15 2020 +0500
ethclient: serialize negative block number as "pending" (#21177)
Fixes #21175
Co-authored-by: sammy007 <sammy007@users.noreply.github.com>
Co-authored-by: Adam Schmideg <adamschmideg@users.noreply.github.com>
commit 4366c45e4ef0bbd6caa30522aa032430194c3ed1
Author: Binacs <bin646891055@gmail.com>
Date: Tue Jul 21 16:23:40 2020 +0800
les: make clientPool.connectedBias configurable (#21305)
commit 3a52c4dcf25bacd086abc8944175483683b79ab7
Merge: 722b74278 508891e64
Author: Péter Szilágyi <peterke@gmail.com>
Date: Tue Jul 21 10:53:12 2020 +0300
Merge pull request #21336 from karalabe/tiny-ref-optimization
core/vm: use pointers to operations vs. copy by value
commit 722b742780617a1b8e1dedb3958273e5c226cd5e
Author: Péter Szilágyi <peterke@gmail.com>
Date: Mon Jul 20 15:58:33 2020 +0300
params: begin v1.9.18 release cycle
commit 748f22c192d24082723f935afd0b0b63e7fd50f4
Author: Péter Szilágyi <peterke@gmail.com>
Date: Mon Jul 20 15:56:42 2020 +0300
params: release Geth v1.9.17
commit 43e2e58cbda97c22ddbb616cb74a03c7bc916833
Author: Gary Rong <garyrong0905@gmail.com>
Date: Mon Jul 20 20:52:42 2020 +0800
accounts, internal: fix funding check when estimating gas (#21346)
* internal, accounts: fix funding check when estimate gas
* accounts, internal: address comments
commit 35ddf362299d05a683f2addee0c3157c288e8f98
Merge: 9e88224eb 0fef66c73
Author: Péter Szilágyi <peterke@gmail.com>
Date: Mon Jul 20 11:47:13 2020 +0300
Merge pull request #21347 from karalabe/ethstats-fixes
ethstats: fix reconnection issue, implement primus pings
commit 0fef66c739c4a359ac438414d502d21ff1510fd2
Author: Péter Szilágyi <peterke@gmail.com>
Date: Mon Jul 20 11:11:38 2020 +0300
ethstats: fix reconnection issue, implement primus pings
commit 508891e64bb1fd5165062393299597c57f5e6025
Author: Péter Szilágyi <peterke@gmail.com>
Date: Thu Jul 16 15:32:01 2020 +0300
core/vm: use pointers to operations vs. copy by value
commit 9e88224eb86c92c78f5f03ffcd0793704a8b4309
Author: Nikola Madjarevic <nikola.madjarevic@gmail.com>
Date: Thu Jul 16 14:08:38 2020 +0200
core: raise gas limit in --dev mode, seed blake precompile (#21323)
* Set gasLimit in --dev mode to be 9m.
* core: Set gasLimit to 11.5 milion and add 1 wei allocation for BLAKE2b
commit 295693759e5ded05fec0b2fb39359965b60da785
Author: Martin Holst Swende <martin@swende.se>
Date: Thu Jul 16 14:06:19 2020 +0200
core/vm: less allocations for various call variants (#21222)
* core/vm/runtime/tests: add more benchmarks
* core/vm: initial work on improving alloc count for calls to precompiles
name old time/op new time/op delta
SimpleLoop/identity-precompile-10M-6 117ms ±75% 43ms ± 1% -63.09% (p=0.008 n=5+5)
SimpleLoop/loop-10M-6 79.6ms ± 4% 70.5ms ± 1% -11.42% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
SimpleLoop/identity-precompile-10M-6 24.4MB ± 0% 4.9MB ± 0% -79.94% (p=0.008 n=5+5)
SimpleLoop/loop-10M-6 13.2kB ± 0% 13.2kB ± 0% ~ (p=0.357 n=5+5)
name old allocs/op new allocs/op delta
SimpleLoop/identity-precompile-10M-6 382k ± 0% 153k ± 0% -59.99% (p=0.000 n=5+4)
SimpleLoop/loop-10M-6 40.0 ± 0% 40.0 ± 0% ~ (all equal)
* core/vm: don't allocate big.int for touch
name old time/op new time/op delta
SimpleLoop/identity-precompile-10M-6 43.3ms ± 1% 42.4ms ± 7% ~ (p=0.151 n=5+5)
SimpleLoop/loop-10M-6 70.5ms ± 1% 76.7ms ± 1% +8.67% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
SimpleLoop/identity-precompile-10M-6 4.90MB ± 0% 2.46MB ± 0% -49.83% (p=0.008 n=5+5)
SimpleLoop/loop-10M-6 13.2kB ± 0% 13.2kB ± 1% ~ (p=0.571 n=5+5)
name old allocs/op new allocs/op delta
SimpleLoop/identity-precompile-10M-6 153k ± 0% 76k ± 0% -49.98% (p=0.029 n=4+4)
SimpleLoop/loop-10M-6 40.0 ± 0% 40.0 ± 0% ~ (all equal)
* core/vm: reduce allocs in staticcall
name old time/op new time/op delta
SimpleLoop/identity-precompile-10M-6 42.4ms ± 7% 37.5ms ± 6% -11.68% (p=0.008 n=5+5)
SimpleLoop/loop-10M-6 76.7ms ± 1% 69.1ms ± 1% -9.82% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
SimpleLoop/identity-precompile-10M-6 2.46MB ± 0% 0.02MB ± 0% -99.35% (p=0.008 n=5+5)
SimpleLoop/loop-10M-6 13.2kB ± 1% 13.2kB ± 0% ~ (p=0.143 n=5+5)
name old allocs/op new allocs/op delta
SimpleLoop/identity-precompile-10M-6 76.4k ± 0% 0.1k ± 0% ~ (p=0.079 n=4+5)
SimpleLoop/loop-10M-6 40.0 ± 0% 40.0 ± 0% ~ (all equal)
* trie: better use of hasher keccakState
* core/state/statedb: reduce allocations in getDeletedStateObject
* core/vm: reduce allocations in all call derivates
* core/vm: reduce allocations in call variants
- Make returnstack `uint32`
- Use a `sync.Pool` of `stack`s
* core/vm: fix tests
* core/vm: goimports
* core/vm: tracer fix + staticcall gas fix
* core/vm: add back snapshot to staticcall
* core/vm: review concerns + make returnstack pooled + enable returndata in traces
* core/vm: fix some test tracer method signatures
* core/vm: run gencodec, minor comment polish
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
commit 240d1851db25f3cca3b324bd9fb7c6edcb2a4e8e
Author: Guillaume Ballet <gballet@gmail.com>
Date: Wed Jul 15 10:00:04 2020 +0200
trie: quell linter in commiter.go (#21329)
commit 6c9f040ebeafcc680b0c457e6f4886e2bca32527
Author: Martin Holst Swende <martin@swende.se>
Date: Tue Jul 14 21:42:32 2020 +0200
core: transaction pool optimizations (#21328)
* core: added local tx pool test case
* core, crypto: various allocation savings regarding tx handling
* core/txlist, txpool: save a reheap operation, avoid some bigint allocs
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
commit 5b081ab214d8d6373cbfdd9464f2503934b9bb68
Author: rene <41963722+renaynay@users.noreply.github.com>
Date: Tue Jul 14 10:35:32 2020 +0200
cmd/clef: change --rpcport to --http.port and update flags in docs (#21318)
commit 6ef4495a8fbda46c888b8f746fa006b0dfcdcc4f
Author: Felix Lange <fjl@twurst.com>
Date: Mon Jul 13 22:25:45 2020 +0200
p2p/discover: require table nodes to have an IP (#21330)
This fixes a corner case in discv5. The issue cannot happen in discv4
because it performs IP checks on all incoming node information.
commit 79addac698d4f066b29bb90140885c815be55a07
Author: Gary Rong <garyrong0905@gmail.com>
Date: Tue Jul 14 02:43:30 2020 +0800
core/rawdb: better log messages for ancient failure (#21327)
commit 7d5267e3a2acf273215105f04a69870e79d80d77
Author: rene <41963722+renaynay@users.noreply.github.com>
Date: Mon Jul 13 16:20:20 2020 +0200
.github: Change Code Owners (#21326)
* modify code owners
* add marius
commit 4edbc1f2bb7892f8e77d7eb2a676e0fc7c029be0
Author: Gary Rong <garyrong0905@gmail.com>
Date: Mon Jul 13 18:45:39 2020 +0800
internal/ethapi: cap txfee for SignTransaction and Resend (#21231)
commit 6cf6e1d7536adf5b8d3f130720848af9d820b358
Author: Tien <Tiendo1011@gmail.com>
Date: Mon Jul 13 16:22:30 2020 +0700
README.md: point Go API reference link to pkg.go.dev (#21321)
commit 2e08dad9e6b3b0f675d144cd41cbbef43439a8b7
Author: libotony <liboliqi@gmail.com>
Date: Mon Jul 13 17:20:47 2020 +0800
p2p/discv5: unset pingEcho on pong timeout (#21324)
commit af258efdb995914394b02e75b7caa952887054a5
Author: Felix Lange <fjl@twurst.com>
Date: Mon Jul 13 11:17:49 2020 +0200
light: goimports -w (#21325)
commit 6eef141aef618afa6bfad885b544f25b68f77cc2
Author: Gary Rong <garyrong0905@gmail.com>
Date: Mon Jul 13 17:02:54 2020 +0800
les: historical data garbage collection (#19570)
This change introduces garbage collection for the light client. Historical
chain data is deleted periodically. If you want to disable the GC, use
the --light.nopruning flag.
commit b8dd0890b3dbc5d3c1b71a0f5de026b46993a851
Author: Felix Lange <fjl@twurst.com>
Date: Fri Jul 10 12:40:31 2020 +0200
params: begin v1.9.17 release cycle
commit ea3b00ad75aebaf1790fe0f8afc9fb7852c87716
Author: Felix Lange <fjl@twurst.com>
Date: Fri Jul 10 12:38:48 2020 +0200
params: go-ethereum v1.9.16 stable
commit feb40e3a4d68cee2e999c8191e78be33ba09fe5d
Author: Gary Rong <garyrong0905@gmail.com>
Date: Fri Jul 10 17:33:31 2020 +0800
accounts/external: remove dependency on internal/ethapi (#21319)
Fixes #20535
Co-authored-by: Felix Lange <fjl@twurst.com>
commit beabf95ad7fd80db83944400348c1e42ac3b8c35
Author: rene <41963722+renaynay@users.noreply.github.com>
Date: Thu Jul 9 17:48:40 2020 +0200
cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs (#21317)
commit 6ccce0906a8391668779e1bb60f718711cc5a2c3
Author: Felix Lange <fjl@twurst.com>
Date: Thu Jul 9 17:45:49 2020 +0200
common/math: use math/bits intrinsics for Safe* (#21316)
This is a resubmit of ledgerwatch/turbo-geth#556. The performance
benefit of this change is negligible, but it does remove a TODO.
commit bcb308745010675671991522ad2a9e811938d7fb
Author: Felix Lange <fjl@twurst.com>
Date: Thu Jul 9 14:02:03 2020 +0200
Revert "core, txpool: less allocations when handling transactions (#21232)"
Reverting because this change started handling account balances as
uint64 in the transaction pool, which is incorrect.
This reverts commit af5c97aebe1d37486635521ef553cb8bd4bada13.
commit 967d8de77aa0ee3119c209bdf47836519e46673c
Author: Martin Holst Swende <martin@swende.se>
Date: Wed Jul 8 23:08:08 2020 +0200
eth/downloader: fix peer idleness tracking when restarting state sync (#21260)
This fixes two issues with state sync restarts:
When sync restarts with a new root, some peers can have in-flight requests.
Since all peers with active requests were marked idle when exiting sync,
the new sync would schedule more requests for those peers. When the
response for the earlier request arrived, the new sync would reject it and
mark the peer idle again, rendering the peer useless until it disconnected.
The other issue was that peers would not be marked idle when they had
delivered a response, but the response hadn't been processed before
restarting the state sync. This also made the peer useless because it
would be permanently marked busy.
Co-authored-by: Felix Lange <fjl@twurst.com>
commit 7a556abe1504e5a698f3871d435256ad6038f1cc
Author: ucwong <ucwong@126.com>
Date: Wed Jul 8 20:06:53 2020 +0800
go.mod: upgrade to github.com/golang/snappy with arm64 asm (#21304)
commit 5b1cfdef898e3ce1b2e063fba23f04c9f7d1008d
Author: Martin Holst Swende <martin@swende.se>
Date: Wed Jul 8 11:50:26 2020 +0200
eth: increase timeout in TestBroadcastBlock (#21299)
commit c16967c26771ce16411aabf36fe3213da7a500a1
Author: chris-j-h <39617426+chris-j-h@users.noreply.github.com>
Date: Tue Jul 7 21:23:23 2020 +0100
cmd/clef: Fix broken link in README and other minor fixes (#21303)
commit 6a48ae37b27de9211165450617e73dd0d52daec6
Author: Adam Schmideg <adamschmideg@users.noreply.github.com>
Date: Tue Jul 7 14:37:33 2020 +0200
cmd/devp2p: add discv4 test suite (#21163)
This adds a test suite for discovery v4. The test suite is a port of the Hive suite for
discovery, and will replace the current suite on Hive soon-ish. The tests can be
run locally with this command:
devp2p discv4 test -remote enode//...
Co-authored-by: Felix Lange <fjl@twurst.com>
commit e5871b928fb0a4caf65153b552187c5c103e24d7
Author: chris-j-h <39617426+chris-j-h@users.noreply.github.com>
Date: Tue Jul 7 10:12:38 2020 +0100
cmd/clef: Update README with external v6.0.0 & internal v7.0.1 APIs (#21298)
Changes include:
* Updates response docs for `account_new`, `account_list`, `account_signTransaction`
* Removes `account_import`, `account_export` docs
* Adds `account_version` docs
* Updates request docs for `ui_approveListing`, `ui_approveSignData`, `ui_showInfo`, `ui_showError`, `ui_onApprovedTx`
* Adds `ui_approveNewAccount`, `ui_onInputRequired` docs
commit 6d8e51ab8850770925f3aaf79186f0398f24a702
Author: Gary Rong <garyrong0905@gmail.com>
Date: Tue Jul 7 04:09:30 2020 +0800
cmd, node: dump empty value config (#21296)
commit 6315b6fcc04033167c8cde0b1a55fea280258fd4
Author: Felix Lange <fjl@twurst.com>
Date: Mon Jul 6 11:17:09 2020 +0200
rlp: reduce allocations for big.Int and byte array encoding (#21291)
This change further improves the performance of RLP encoding by removing
allocations for big.Int and [...]byte types. I have added a new benchmark
that measures RLP encoding of types.Block to verify that performance is
improved.
commit fa01117498a580f8de35e026f7e0ab38313868dd
Author: Martin Holst Swende <martin@swende.se>
Date: Sat Jul 4 20:10:48 2020 +0200
build/ci: handle split up listing (#21293)
commit 490b380a04437d7eb780635e941fc8fa017413e7
Author: meowsbits <b5c6@protonmail.com>
Date: Fri Jul 3 12:12:22 2020 -0500
cmd/geth: allow configuring metrics HTTP server on separate endpoint (#21290)
Exposing /debug/metrics and /debug/metrics/prometheus was dependent
on --pprof, which also exposes other HTTP APIs. This change makes it possible
to run the metrics server on an independent endpoint without enabling pprof.
commit 61270e5e1c7986427fb1a80789344daafd4bda3f
Author: Gary Rong <garyrong0905@gmail.com>
Date: Fri Jul 3 20:50:35 2020 +0800
eth/gasprice: lighter gas price oracle for light client (#20409)
This PR reduces the bandwidth used by the light client to compute the
recommended gas price. The current mechanism for suggesting the price is:
- retrieve recent 20 blocks
- get the lowest gas price of these blocks
- sort the price array and return the middle(60%) one
This works for full nodes, which have all blocks available locally.
However, this is very expensive for the light client because the light
client needs to retrieve block bodies from the network.
The PR changes the default options for light client. With the new config,
the light client only retrieves the two latest blocks, but in order to
collect more sample transactions, the 3 lowest prices are collected from
each block.
This PR also changes the behavior for empty blocks. If the block is empty,
the lastest price is reused for sampling.
commit 07a95ce571b2a8c183e9986040032a7049bb24f4
Author: Martin Holst Swende <martin@swende.se>
Date: Thu Jul 2 10:15:11 2020 +0200
les/checkpointoracle: don't lookup checkpoint more than once per minute (#21285)
* les/checkpointoracle: don't lookup checkpoint more than once per second
* les/checkpoint/oracle: change oracle checktime to 1 minute