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

[Upgrade] Go-Ethereum release v1.10.0 #16

Closed
Closed
Changes from 1 commit
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
d513584
cmd/geth: remove retesteth
holiman Nov 17, 2020
db87223
crypto/secp256k1: add checking z sign in affineFromJacobian (#18419)
hbakhtiyor Nov 17, 2020
6b98580
cmd/geth: improve les test on windows (#21860)
holiman Nov 17, 2020
23524f8
all: disable recording preimage of trie keys (#21402)
rjl493456442 Nov 18, 2020
b9ff57c
metrics: fix the panic for reading empty cpu stats (#21864)
rjl493456442 Nov 18, 2020
2808046
Merge pull request #21861 from holiman/remove_retesteth
karalabe Nov 19, 2020
f1e1d9f
node: support expressive origin rules in ws.origins (#21481)
wbt Nov 19, 2020
6f88d65
trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixe…
holiman Nov 19, 2020
ebb9591
crypto/bn256: fix bn256Mul fuzzer to not hang on large input (#21872)
holiman Nov 20, 2020
3ef5277
p2p: avoid spinning loop on out-of-handles (#21878)
holiman Nov 20, 2020
bddf5aa
les/utils: protect against WeightedRandomSelect overflow (#21839)
zsfelfoldi Nov 23, 2020
f6e1aed
github: Add new style of issue-templates
ligi Nov 23, 2020
6104ab6
tests/fuzzers/bls1381: add bls fuzzer (#21796)
holiman Nov 23, 2020
ead8146
Merge pull request #21890 from ligi/issue_templates
karalabe Nov 23, 2020
6b58409
cmd/faucet: improve handling of facebook post url (#21838)
LieutenantRoger Nov 24, 2020
bddd103
les: fix GetProofsV2 bug (#21896)
zsfelfoldi Nov 24, 2020
7e7a3f0
github: Remove vulnerability.md (#21894)
ligi Nov 24, 2020
59b480a
cmd/devp2p/internal/ethtest: add 'large announcement' tests (#21792)
MariusVanDerWijden Nov 24, 2020
29efe1f
core/types: fixed typo (#21897)
MariusVanDerWijden Nov 25, 2020
c92faee
all: simplify nested complexity and if blocks ending with a return st…
alexprut Nov 25, 2020
f59ed35
graphql: always return 400 if errors are present in the response (#21…
atoulme Nov 25, 2020
810f9e0
all: remove redundant conversions and import names (#21903)
alexprut Nov 25, 2020
429e714
p2p/discover: fix deadlock in discv5 message dispatch (#21858)
nisdas Nov 25, 2020
fa572cd
crypto: signing builds with signify/minisign (#21798)
gballet Nov 27, 2020
b71334a
accounts, signer: fix Ledger Live account derivation path (clef) (#21…
svenski123 Nov 29, 2020
566cb4c
accounts/keystore: add missing function doc for SignText (#21914)
pmerkleplant Nov 30, 2020
aba0c23
cmd/geth: make tests run quicker + use less memory and disk (#21919)
holiman Nov 30, 2020
a1ddd9e
cmd/devp2p/internal/ethtest: add transaction tests (#21857)
MariusVanDerWijden Nov 30, 2020
e7db1db
p2p/nodestate: fix deadlock during shutdown of les server (#21927)
holiman Nov 30, 2020
a2795c8
les: fix nodiscover option (#21906)
zsfelfoldi Dec 1, 2020
908c180
params: update CHTs (#21941)
rjl493456442 Dec 2, 2020
e9e86ae
eth: fix error in tracing if reexec is set (#21830)
holiman Dec 2, 2020
0b2f144
go.mod: update github.com/golang/snappy(#21934)
holiman Dec 2, 2020
d7a64dc
cmd/devp2p: add node filter for snap + fix arg error (#21950)
holiman Dec 3, 2020
62cedb3
core/vm/runtime: remove duplicated line (#21956)
ziogaschr Dec 4, 2020
7770e41
core: improve contextual information on core errors (#21869)
holiman Dec 4, 2020
15339cf
cmd/geth: implement vulnerability check (#21859)
holiman Dec 4, 2020
581c028
les: cosmetic rewrite of the arm64 float bug workaround (#21960)
gballet Dec 7, 2020
6a4e730
crypto/secp256k1: add workaround for go mod vendor (#21735)
steveruckdashel Dec 8, 2020
ed0670c
accounts/abi/bind: allow specifying signer on transactOpts (#21356)
MariusVanDerWijden Dec 8, 2020
bd848aa
common: improve printing of Hash and Address (#21834)
lobatt Dec 8, 2020
40b6ccf
core,les: headerchain import in batches (#21471)
holiman Dec 9, 2020
915643a
cmd/geth: add test to verify regexps in version check (#21962)
holiman Dec 9, 2020
f935b1d
crypto/signify, build: fix archive signing with signify (#21977)
fjl Dec 9, 2020
817a3fb
p2p/enode: avoid crashing for invalid IP (#21981)
fjl Dec 9, 2020
9f6bb49
les, light: remove untrusted header retrieval in ODR (#21907)
rjl493456442 Dec 10, 2020
b44f24e
core, trie: speed up some tests with quadratic processing flaw (#21987)
holiman Dec 10, 2020
0045410
les: introduce forkID (#21974)
rjl493456442 Dec 10, 2020
1d1f5fe
build: upgrade to Go 1.15.6 (#21986)
fjl Dec 11, 2020
e787272
params: go-ethereum v1.9.25 stable
fjl Dec 11, 2020
fc0662b
params: begin v1.9.26 release cycle
fjl Dec 11, 2020
1a715d7
les: rework float conversion on arm64 and other architectures (#21994)
gballet Dec 11, 2020
62dc59c
miner, test: fix potential goroutine leak (#21989)
lzhfromustc Dec 11, 2020
b47f4ca
cmd/faucet: use Twitter API instead of scraping webpage (#21850)
maxsam4 Dec 11, 2020
88c6962
core/txpool: remove "local" notion from the txpool price heap (#21478)
rjl493456442 Dec 11, 2020
efe6dd2
consensus/ethash: implement faster difficulty calculators (#21976)
holiman Dec 11, 2020
c49aae9
consensus: refactor FinalizeAndAssemble to use Finalize (#21993)
Dec 11, 2020
4d48980
core, eth, les: implement unclean-shutdown marker (#21893)
holiman Dec 11, 2020
38c1d59
abi/bind: fix error-handling in generated wrappers for functions retu…
connorwstein Dec 12, 2020
00d10e6
cmd/abigen: clarify abigen alias flag usage (#21875)
huahuayu Dec 12, 2020
017831d
core, eth: split eth package, implement snap protocol (#21482)
karalabe Dec 14, 2020
4859929
cmd/geth: fixed parallelization flaw in account import test (#22002)
MariusVanDerWijden Dec 14, 2020
0fe66f8
eth/protocols/eth: remove magic numbers in test (#21999)
Mr-Leshiy Dec 14, 2020
8cde296
eth, core: speed up some tests (#22000)
holiman Dec 15, 2020
c7f2536
les: les/4 minimalistic version (#21909)
zsfelfoldi Dec 15, 2020
3c46f55
cmd/faucet: sort requests by newest first (#22018)
MariusVanDerWijden Dec 17, 2020
c5a3ffa
eth/download/statesync : optimize to avoid a copy in state sync hashi…
ucwong Dec 21, 2020
61469cf
eth/downloader: fix typo in comment (#22019)
ucwong Dec 21, 2020
158f72c
internal/ethapi: restore net_version RPC method (#22061)
MariusVanDerWijden Dec 23, 2020
b9012a0
common,crypto: move fuzzers out of core (#22029)
holiman Dec 23, 2020
25c0bd9
README.md: update Travis badge (#22079)
Krinkle Dec 27, 2020
9c6b5b9
eth, eth/tracers: include intrinsic gas in calltracer, expose for all…
s1na Dec 27, 2020
b13e9c4
tests/fuzzers: fix false positive in bitutil fuzzer (#22076)
holiman Dec 27, 2020
2f81006
cmd/geth: replace wiki links with new doc pages (#22071)
suriyaa Dec 27, 2020
0a09a39
eth/filters: replace wiki links with new doc pages (#22070)
suriyaa Dec 27, 2020
ab0979f
signer: docs - replace wiki links with new doc pages (#22069)
suriyaa Dec 27, 2020
653e8b9
eth/downloader: remove unnecessary condition (#22052)
jeongkyun-oh Dec 27, 2020
c17a773
docs: replace wiki links with new doc pages in readme.md (#22065) (#2…
suriyaa Dec 27, 2020
a425a47
core/rawdb, eth/protocols : Method name typo fix (#22026)
ucwong Dec 27, 2020
0a3993c
accounts/abi/bind: fix erroneous test (#22053)
Dec 30, 2020
167ff56
core/state/snapshot: gethring -> gathering typo (#22104)
ehnuje Jan 4, 2021
f83fc30
cmd/geth: update copyright year (#22099)
vieyang Jan 4, 2021
47820ef
.github: Replace wiki links with new doc pages (#22065) (#22068)
suriyaa Jan 4, 2021
5c2a7ce
node: rename startNetworking to openEndpoints (#22105)
renaynay Jan 4, 2021
1951e20
SECURITY.md: link to release page (#22067)
suriyaa Jan 4, 2021
e4571d8
cmd: support v1.1 Twitter API in faucet, fix puppeth
karalabe Jan 4, 2021
6ada9f0
Merge pull request #22107 from karalabe/faucet-twitter
karalabe Jan 5, 2021
9584f56
miner: avoid sleeping in miner (#22108)
holiman Jan 5, 2021
664903d
cmd/geth: usb is off by default (#21984)
gballet Jan 5, 2021
eb2a1df
graphql: use a decimal representation for gas limit and gas used (#21…
atoulme Jan 5, 2021
4714ce9
cmd/geth: added --mainnet flag (#21932)
MariusVanDerWijden Jan 5, 2021
9ba306d
common/compiler: fix parsing of solc output with solidity v.0.8.0 (#2…
MariusVanDerWijden Jan 5, 2021
6184542
eth/downloader: enhanced test cases for downloader queue (#22114)
jeongkyun-oh Jan 5, 2021
83d317c
cmd/utils, eth/downloader: minor snap nitpicks
karalabe Jan 6, 2021
d667ee2
crypto: fix ineffectual assignments (#22124)
MariusVanDerWijden Jan 6, 2021
072fd96
graphql: return decimal for `estimateGas` and `cumulativeGas` queries…
renaynay Jan 6, 2021
d2e1b17
snapshot, trie: fixed typos, mostly in snapshot pkg (#22133)
ehnuje Jan 7, 2021
8bd8e1b
Merge pull request #22122 from karalabe/snapshot-polishes
karalabe Jan 7, 2021
44208d9
cmd/faucet: fix websocket race regression after switching to gorilla
karalabe Jan 7, 2021
58b9db5
eth/protocols/snap: track reverts when peer rejects request (#22016)
holiman Jan 7, 2021
38310f9
Merge pull request #22136 from karalabe/faucet-websocket-fix
karalabe Jan 7, 2021
4bb5c6c
eth/protocols/snap: speed up hash checks (#22023)
holiman Jan 7, 2021
3c6665e
cmd/faucet: switch Facebook auth over to mobile site
karalabe Jan 7, 2021
d395289
Merge pull request #22137 from karalabe/faucet-fb-fix
karalabe Jan 7, 2021
165f53f
les: remove transaction propagation limits (#22125)
rjl493456442 Jan 7, 2021
6b88ab7
cmd/faucet: fix nonce-gap problem (#22145)
holiman Jan 8, 2021
889f564
ethclient: better test suite for ethclient package (#22127)
MariusVanDerWijden Jan 8, 2021
89030ec
eth/downloader: fix race condition in tests (#22140)
ziogaschr Jan 9, 2021
5a1b384
core: persist bad blocks (#21827)
rjl493456442 Jan 10, 2021
ab5e3f4
common/prque: pull in tests and benchmarks from upstream
karalabe Jan 11, 2021
79e2174
Merge pull request #22157 from karalabe/prque-tests
karalabe Jan 11, 2021
49c2816
eth: improve log message (#22146)
MariusVanDerWijden Jan 11, 2021
39b3b8f
graphql: fix issue with unmarshalling int32 into `Long` type #22153
renaynay Jan 11, 2021
984e752
eth: return error from eth_chainID during sync before EIP-155 activat…
renaynay Jan 12, 2021
23f837c
cmd/utils: avoid making console preloads absolute (#22109)
meowsbits Jan 12, 2021
93a89b2
go.mod: use github.com/holiman/bloomfilter/v2 (#22044)
holiman Jan 12, 2021
c7a6be1
cmd/utils: don't enumerate USB unless --usb is set (#22130)
gballet Jan 13, 2021
c940817
tests: update the reference tests (#22009)
holiman Jan 13, 2021
6296211
graphql: fix spurious error in test (#22164)
holiman Jan 13, 2021
2aaff0a
consensus/ethash: increase seal timeout for tests (#22162)
MariusVanDerWijden Jan 13, 2021
96157a8
graphql: fix spurious travis failure (#22166)
holiman Jan 13, 2021
1296908
cmd/faucet: update the embedded website asset
karalabe Jan 14, 2021
d13c59f
Merge pull request #22169 from karalabe/faucet-regen
karalabe Jan 14, 2021
c4deebb
core/state/snapshot: add generation logs to storage too
karalabe Jan 15, 2021
3944976
Merge pull request #22177 from karalabe/snapshot-storage-logs
karalabe Jan 15, 2021
8d62ee6
les: don't drop sentTo for normal cases (#22048)
rjl493456442 Jan 15, 2021
c76573a
eth/protocols/eth: fix slice resize flaw (#22181)
dadeg Jan 16, 2021
034ecc3
les: remove useless protocol defines (#22115)
rjl493456442 Jan 16, 2021
3981822
tests/fuzzers/abi: better test generation (#22158)
MariusVanDerWijden Jan 18, 2021
10555d4
cmd/geth: dump config for metrics (#22083)
MariusVanDerWijden Jan 18, 2021
5e9f5ca
core/state/snapshot: write snapshot generator in batch (#22163)
rjl493456442 Jan 18, 2021
24c1e30
cmd/geth: graceful shutdown if disk is full (#22103)
alex347 Jan 19, 2021
45cb1a5
eth, les: add new config field SyncFromCheckpoint (#22123)
rjl493456442 Jan 19, 2021
d1301eb
oss-fuzz: fix abi fuzzer (#22199)
MariusVanDerWijden Jan 20, 2021
7da8f75
go.mod: upgrade golang-lru (#22134)
ucwong Jan 20, 2021
81bf9f9
downloader: extract findAncestor search functions (#21744)
meowsbits Jan 20, 2021
1e1865b
core: implement background trie prefetcher
holiman Feb 5, 2020
42f9f1f
core/state: convert prefetcher to concurrent per-trie loader
karalabe Jan 8, 2021
ddadc3d
Merge pull request #21047 from holiman/improve_updates_2
karalabe Jan 20, 2021
c4307a9
eth/filters: fix potential deadlock in filter timeout loop (#22178)
s1na Jan 21, 2021
231040c
event: add ResubscribeErr (#22191)
lukasz-zimnoch Jan 21, 2021
9e1bd0f
trie: fix range prover (#22210)
rjl493456442 Jan 22, 2021
f26c19c
common/mclock: remove dependency on github.com/aristanetworks/goarist…
fjl Jan 22, 2021
db35d77
cmd, geth: CLI help fixes (#22220)
ligi Jan 24, 2021
3708454
cmd, geth: CLI help fixes (#22220)
ligi Jan 24, 2021
797b081
eth/protocols/snap: snap sync testing (#22179)
holiman Jan 25, 2021
1770fe7
go.mod: update dependencies (#22216)
MariusVanDerWijden Jan 25, 2021
c0862f4
graphql: change receipt status to decimal instead of hex (#22187)
renaynay Jan 25, 2021
59a7913
go.mod: upgrade github.com/huin/goupnp (#22227)
ucwong Jan 25, 2021
04a7226
snapshot: merge loops for better performance (#22160)
ehnuje Jan 25, 2021
49cdcf5
core: reset to genesis when middle block is missing (#22135)
rjl493456442 Jan 25, 2021
adf130d
eth/tracers: move tracing APIs into eth/tracers (#22161)
rjl493456442 Jan 25, 2021
d2779ed
eth, p2p: reserve half peer slots for snap peers during snap sync (#2…
holiman Jan 25, 2021
7202b41
tests/fuzzers/abi: fixed one-off panic with int.Min64 value (#22233)
MariusVanDerWijden Jan 25, 2021
573f373
internal/ethapi: print tx details when submitting (#22170)
karalabe Jan 26, 2021
14d4954
core/state: fix panic in state dumping (#22225)
holiman Jan 26, 2021
6816182
core: speed up header import (#21967)
holiman Jan 26, 2021
ad038b6
accounts/scwallet: use go-ethereum crypto instead of go-ecdh (#22212)
fjl Jan 26, 2021
9c57293
accounts/scwallet: update documentation (#22242)
gballet Jan 26, 2021
a72fa88
les: switch to new discv5 (#21940)
zsfelfoldi Jan 26, 2021
2e5d141
rpc: deprecate Client.ShhSubscribe (#22239)
gballet Jan 27, 2021
eb21c65
cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213)
s1na Jan 28, 2021
7a800f9
les/utils: UDP rate limiter (#21930)
zsfelfoldi Jan 28, 2021
f25b437
cmd/clef: don't check file permissions on windows (#22251)
holiman Jan 29, 2021
3c728fb
eth/tracers: fix unigram tracer (#22248)
s1na Feb 1, 2021
e3430ac
eth: check snap satelliteness, delegate drop to eth (#22235)
karalabe Feb 2, 2021
4eae0c6
cmd/geth, node: allow configuring JSON-RPC on custom path prefix (#22…
renaynay Feb 2, 2021
ef84da8
all: remove unneeded parentheses (#21921)
alexprut Feb 2, 2021
83e4c49
trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246)
ucwong Feb 2, 2021
3512b41
core: reset txpool state on sethead (#22247)
MariusVanDerWijden Feb 3, 2021
54735a6
fuzzers: added consensys/gurvy library to bn256 differential fuzzer (…
MariusVanDerWijden Feb 3, 2021
2812132
internal/ethapi: comment nitpick (#22270)
MariusVanDerWijden Feb 5, 2021
098a2b6
eth: move eth.Config to a common package (#22205)
rjl493456442 Feb 5, 2021
fba5a63
internal/ethapi: fix typo in comment (#22271)
MariusVanDerWijden Feb 5, 2021
7ed860d
eth: don't wait for snap registration if we're not running snap (#22272)
holiman Feb 5, 2021
e74bd58
consensus: remove seal verification from the consensus engine interfa…
gballet Feb 5, 2021
994cdc6
cmd/utils: enable snapshots by default
karalabe Feb 7, 2021
477fd42
metrics: fix cast omission in cpu_syscall.go (#22262)
isdyaufh8o7cq Feb 8, 2021
bbe694f
Merge pull request #22280 from karalabe/snapshot-default
karalabe Feb 8, 2021
d86906f
params: just to make snapshots a bit more official
karalabe Feb 8, 2021
f566dd3
all: bloom-filter based pruning mechanism (#21724)
rjl493456442 Feb 8, 2021
123e934
Merge pull request #22288 from karalabe/1.10.unstable
karalabe Feb 8, 2021
2728672
core/state/pruner: fix compaction after pruning
karalabe Feb 8, 2021
944d901
Merge pull request #22291 from karalabe/fix-pruner-compaction
karalabe Feb 8, 2021
74dbc20
core/state/pruner: fix compaction range error
holiman Feb 8, 2021
2fdba3a
Merge pull request #22294 from holiman/pruner_compact_fix
karalabe Feb 9, 2021
2778667
internal/debug: add switch to format logs with json (#22207)
s1na Feb 9, 2021
cb3c7e4
accounts/abi/bind: fixed unpacking error (#22230)
MariusVanDerWijden Feb 10, 2021
409b16e
cmd/utils, eth/ethconfig: unindex txs older than ~1 year
karalabe Feb 8, 2021
1bbc8a1
Merge pull request #22293 from karalabe/txunindex-1year
karalabe Feb 10, 2021
111abdc
cmd/devp2p: fix documentation for eth-test (#22298)
renaynay Feb 11, 2021
ef227c5
core: fix temp memory blowup caused by defers holding on to state
karalabe Feb 12, 2021
2fc465a
Merge pull request #22319 from karalabe/fix-defer-leak
karalabe Feb 12, 2021
7d1b711
les: enable les/4 and add tests (#22321)
zsfelfoldi Feb 12, 2021
08c878a
cmd/utils: add workaround for FreeBSD statfs quirk (#22310)
gballet Feb 15, 2021
7778780
cmd/geth: fix js unclean shutdown (#22302)
alex347 Feb 15, 2021
e991bda
trie: fix bloom crash on fast sync restart
karalabe Feb 16, 2021
f4fcd4f
rpc: increase the number of subscriptions in storm test (#22316)
gballet Feb 16, 2021
915c614
Merge pull request #22332 from karalabe/fix-fastsync-restart-bloom-crash
karalabe Feb 16, 2021
9ec3329
core/state/snapshot: ensure Cap retains a min number of layers
karalabe Feb 16, 2021
6291fc9
Merge pull request #22331 from karalabe/enforce-min-snap-difflayers
karalabe Feb 16, 2021
bfdff4c
eth: fix snap sync cancellation
karalabe Feb 16, 2021
f9445e9
cmd/devp2p/internal/ethtest: use shared message types (#22315)
renaynay Feb 16, 2021
1489c3f
Merge pull request #22334 from karalabe/fix-snap-cancel
karalabe Feb 16, 2021
e01096f
eth/handler, broadcast: optimize tx broadcast mechanism (#22176)
holiman Feb 17, 2021
52e5c38
core/state: copy the snap when copying the state (#22340)
holiman Feb 18, 2021
9ec32a9
rlp: handle case of normal EOF in Stream.readFull (#22336)
oneeman Feb 18, 2021
b1835b3
node: always show websocket url in logs (#22307)
holiman Feb 18, 2021
6ec1561
eth: implement eth66 (#22241)
holiman Feb 18, 2021
d36276d
p2p/dnsdisc: fix hot-spin when all trees are empty (#22313)
fjl Feb 19, 2021
c027507
les: renamed lespay to vflux (#22347)
zsfelfoldi Feb 19, 2021
ca76db6
cmd/utils: disable caching preimages by default
karalabe Feb 19, 2021
c5023e1
travis, appveyor, build: bump Go to 1.16
karalabe Feb 19, 2021
8647233
les: fix balance expiration (#22343)
zsfelfoldi Feb 19, 2021
8f03e3b
tests/fuzzers/les: add fuzzer for les server handler (#22282)
zsfelfoldi Feb 20, 2021
3ecfdcc
les: clean up server handler (#22357)
rjl493456442 Feb 22, 2021
c4a2b68
cmd/geth: add db commands stats, compact, put, get, delete (#22014)
holiman Feb 23, 2021
142fbcf
internal/ethapi: reject non-replay-protected txs over RPC (#22339)
MariusVanDerWijden Feb 23, 2021
2d1a0e9
accounts/abi/bind: fix up Go mod files for Go 1.16
karalabe Feb 23, 2021
2743fb0
Dockerfile: bump to Go 1.16 base images
karalabe Feb 23, 2021
4ee8d2d
travis, appveyor, build, Dockerfile: bump Go to 1.16 (#22351)
karalabe Feb 23, 2021
cdb6a84
Merge pull request #22350 from karalabe/disable-preimage-collection
karalabe Feb 23, 2021
c9aa267
travis: bump Android NDK version
karalabe Feb 23, 2021
b502c86
Merge pull request #22368 from karalabe/ndk-bump
karalabe Feb 23, 2021
70afe15
travis: bump builders to Bionic
karalabe Feb 23, 2021
bf5b379
Merge pull request #22369 from karalabe/android-bionic-builder
karalabe Feb 23, 2021
f54dc4a
travis: manually install Android since Travis is stale (#22373)
karalabe Feb 24, 2021
8e547ee
cmd/utils: remove deprecated command line flags (#22263)
renaynay Feb 24, 2021
b2b5c82
eth/protocols/snap: lower abortion and resumption logs to debug
karalabe Feb 25, 2021
96d9306
Merge pull request #22381 from karalabe/lower-error-log
karalabe Feb 25, 2021
378e961
cmd, eth, les: enable serving light clients when non-synced (#22250)
rjl493456442 Feb 25, 2021
7a3c890
les, light: improve txstatus retrieval (#22349)
rjl493456442 Feb 25, 2021
bbfb1e4
all: add support for EIP-2718, EIP-2930 transactions (#21502)
lightclient Feb 25, 2021
de9465f
cmd/devp2p: add eth66 test suite (#22363)
renaynay Feb 25, 2021
dc109cc
les: move server pool to les/vflux/client (#22377)
zsfelfoldi Feb 25, 2021
0928562
all: define Berlin hard fork spec
karalabe Feb 25, 2021
27b3137
rpc: add separate size limit for websocket (#22385)
fjl Feb 26, 2021
744707a
Merge pull request #22380 from karalabe/berlin
karalabe Feb 26, 2021
3822b09
accounts/keystore: use github.com/google/uuid (#22217)
MariusVanDerWijden Feb 26, 2021
498458b
core/state: fix eta calculation on pruning (#22386)
holiman Feb 26, 2021
d968704
les: UDP pre-negotiation of available server capacity (#22183)
zsfelfoldi Mar 1, 2021
19d7a37
core/rawdb: fix the transaction indexer (#22395)
rjl493456442 Mar 1, 2021
0540d3c
cmd/geth: put allowUnsecureTx flag in RPC section (#22412)
MariusVanDerWijden Mar 3, 2021
c539a05
params: update chts (#22418)
rjl493456442 Mar 3, 2021
07e907c
cmd/utils: fix txlookuplimit for archive node (#22419)
rjl493456442 Mar 3, 2021
ba99910
core/forkid, params: unset Berlin fork number (#22413)
karalabe Mar 3, 2021
b24804d
les: fix nodiscover option on the client side (#22422)
zsfelfoldi Mar 3, 2021
5a81dd9
cmd: retire whisper flags (#22421)
rjl493456442 Mar 3, 2021
cd316d7
tests: update to latest tests (#22290)
MariusVanDerWijden Mar 3, 2021
56dec25
params: release geth 1.10.0 stable
fjl Mar 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
accounts/keystore: add missing function doc for SignText (#21914)
Co-authored-by: Pascal Dierich <pascal@pascaldierich.com>
  • Loading branch information
pmerkleplant and PascalDierich committed Nov 30, 2020
commit 566cb4c5f098a132d485a375cb7a02883c88a48f
10 changes: 6 additions & 4 deletions accounts/keystore/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (w *keystoreWallet) Open(passphrase string) error { return nil }
func (w *keystoreWallet) Close() error { return nil }

// Accounts implements accounts.Wallet, returning an account list consisting of
// a single account that the plain kestore wallet contains.
// a single account that the plain keystore wallet contains.
func (w *keystoreWallet) Accounts() []accounts.Account {
return []accounts.Account{w.account}
}
Expand Down Expand Up @@ -93,12 +93,12 @@ func (w *keystoreWallet) signHash(account accounts.Account, hash []byte) ([]byte
return w.keystore.SignHash(account, hash)
}

// SignData signs keccak256(data). The mimetype parameter describes the type of data being signed
// SignData signs keccak256(data). The mimetype parameter describes the type of data being signed.
func (w *keystoreWallet) SignData(account accounts.Account, mimeType string, data []byte) ([]byte, error) {
return w.signHash(account, crypto.Keccak256(data))
}

// SignDataWithPassphrase signs keccak256(data). The mimetype parameter describes the type of data being signed
// SignDataWithPassphrase signs keccak256(data). The mimetype parameter describes the type of data being signed.
func (w *keystoreWallet) SignDataWithPassphrase(account accounts.Account, passphrase, mimeType string, data []byte) ([]byte, error) {
// Make sure the requested account is contained within
if !w.Contains(account) {
Expand All @@ -108,12 +108,14 @@ func (w *keystoreWallet) SignDataWithPassphrase(account accounts.Account, passph
return w.keystore.SignHashWithPassphrase(account, passphrase, crypto.Keccak256(data))
}

// SignText implements accounts.Wallet, attempting to sign the hash of
// the given text with the given account.
func (w *keystoreWallet) SignText(account accounts.Account, text []byte) ([]byte, error) {
return w.signHash(account, accounts.TextHash(text))
}

// SignTextWithPassphrase implements accounts.Wallet, attempting to sign the
// given hash with the given account using passphrase as extra authentication.
// hash of the given text with the given account using passphrase as extra authentication.
func (w *keystoreWallet) SignTextWithPassphrase(account accounts.Account, passphrase string, text []byte) ([]byte, error) {
// Make sure the requested account is contained within
if !w.Contains(account) {
Expand Down