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

geth upgrade 1.8.18 #639

Merged
merged 525 commits into from Mar 19, 2019
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
525 commits
Select commit Hold shift + click to select a range
bd58098
swarm: Chunk refactor improvements (#17683)
gbalint Sep 18, 2018
b8aa598
cmd/puppeth: fix comment typo (#17690)
chenyufeng1991 Sep 18, 2018
58374e2
core, state: initial implementation of Eip-1283
holiman Aug 11, 2018
caa2c23
core,state: finish implementing Eip 1283
holiman Aug 12, 2018
1f45ba9
swarm/network: downgrade fetcher unable to request log message severi…
janos Sep 18, 2018
5d921fa
core, params: polish net gas metering PR a bit
karalabe Sep 18, 2018
360a72d
tests: disable constantinople statetests
holiman Sep 19, 2018
67c332e
travis, Dockerfile, appveyor, build: bump to Go 1.11
SamuelMarks Aug 27, 2018
faa69be
core, eth: fix goimports for Go 1.11
karalabe Sep 19, 2018
0b47771
consensus/clique: hide no transaction error (#17614)
rjl493456442 Sep 19, 2018
16bc874
abi, signer: fix nil dereference in #17633 (#17653)
holiman Sep 19, 2018
bd9d79a
cmd/geth: typo export -> import (#17703)
jsvisa Sep 19, 2018
736b45a
Merge pull request #17701 from karalabe/go-1.11
karalabe Sep 19, 2018
f5c7d1c
swarm/storage: Implement global timeout for fetcher (#17702)
gbalint Sep 19, 2018
16e95f3
whisper: Fix interpretation of `to` parameter in `shh_requestMessages…
pombeirp Sep 19, 2018
6f004c4
accounts/keystore: double-check keystore file after creation (#17348)
holiman Sep 19, 2018
c35659c
rpc: enable basic auth for websocket client (#17699)
peterbroadhurst Sep 19, 2018
6975c72
all: fix various comment typos (#17591)
hackmod Sep 19, 2018
3fec735
cmd/evm: EVM prestate initialization (#17685)
kedenk Sep 20, 2018
da29332
core/vm: add switches to select evm+ewasm interpreters (#17687)
gballet Sep 20, 2018
c37238c
les: fix retriever logic (#17705)
zsfelfoldi Sep 20, 2018
0f2ba07
common, core, light: add block age into info logs
karalabe Sep 20, 2018
f89dce0
Merge pull request #17718 from karalabe/chain-age-logs
karalabe Sep 20, 2018
af89093
les, light, params: update light client CHTs
karalabe Sep 20, 2018
d6254f8
all: protect self-mined block during reorg (#17656)
rjl493456442 Sep 20, 2018
f55c26a
Merge pull request #17719 from karalabe/update-chts
karalabe Sep 20, 2018
ba0a8b7
core, eth: fix dependency cycle (#17720)
rjl493456442 Sep 20, 2018
457e930
eth, miner: prefer locally generated uncles vs remote ones (#17715)
rjl493456442 Sep 20, 2018
5e32152
build/deb: upgrade launchpad PPA sources to Go 1.11 too
karalabe Sep 20, 2018
32c05e8
Merge pull request #17726 from karalabe/go-1.11-ppa-fix
karalabe Sep 20, 2018
ab13cd9
les: fix invalid delivery handling in retriever (#17727)
zsfelfoldi Sep 21, 2018
b0d6072
build: revert launchpad PPAs to Go 1.10
karalabe Sep 21, 2018
1a16cc7
Merge pull request #17730 from karalabe/revert-go1.10-ppa
karalabe Sep 21, 2018
c528e3e
cmd/faucet: cache internal state, avoid sync-trashing les
karalabe Sep 21, 2018
81080bf
core: fix a typo (#17733)
wuxiangzhou2010 Sep 21, 2018
d3f056b
swarm/network/stream: fix DoS invalid hash length (#927)
frncmx Sep 21, 2018
ee92bc5
Merge pull request #17383 from holiman/eip1283
karalabe Sep 21, 2018
06d40d3
Merge pull request #17732 from karalabe/faucet-caching
karalabe Sep 21, 2018
1d9d381
crypto/secp256k1: remove useless code (#17728)
micblo Sep 21, 2018
477eb09
params, swarm: release Geth v1.8.16, Swarm v0.3.4
karalabe Sep 24, 2018
0ae462f
params, swarm: begin Geth v1.8.17, Swarm v0.3.5 cycle
karalabe Sep 24, 2018
9e99a0c
cmd/swarm, swarm: add stream peer servers limit
janos Sep 24, 2018
30cd5c1
all: new p2p node representation (#17643)
fjl Sep 24, 2018
6663e5d
all: fix various comment typos (#17748)
liangdzou Sep 25, 2018
b66f793
rpc: increase maxRequestContentLength size to 512kB (#17595)
hackmod Sep 25, 2018
d5db4f8
.github: add CONTRIBUTING.md (#17476)
RichardLitt Sep 25, 2018
a95a601
Polished clef tutorial (#17745)
PaulRBerg Sep 25, 2018
09dde38
cmd/swarm: use expandPath for swarm cli path parameters
JekaMas Sep 25, 2018
d3441eb
cmd/clef, signer: security fixes (#17554)
holiman Sep 25, 2018
7d56602
swarm/api: fix TestDumpConfig
janos Sep 25, 2018
2434914
Merge branch 'master' into max-stream-peer-servers
janos Sep 25, 2018
bf411a0
cmd/clef: added more details to the clef tutorial (#17759)
PaulRBerg Sep 26, 2018
60577d4
Add Clef UI to README.md (#17763)
chikeichan Sep 26, 2018
26cf866
[ImgBot] optimizes images (#17741)
IDouble Sep 26, 2018
0d5e1e7
swarm/network/stream: fix a typo in test comment
janos Sep 26, 2018
3f7acbb
swarm: prevent forever running retrieve request loops
gbalint Sep 25, 2018
4b6824e
Merge pull request #17734 from frncmx/fix-dos-attack-invalid-hash-length
zelig Sep 26, 2018
c3cfdfa
Merge pull request #17757 from ethersphere/retrieve-request-ttl-pr
zelig Sep 27, 2018
e39a9b3
Merge pull request #17755 from JekaMas/implement-home-directory-expan…
zelig Sep 27, 2018
a5e6bf7
Merge branch 'master' into max-stream-peer-servers
janos Sep 27, 2018
86f68cf
cmd/swarm: fail on SWARM_ENV_MAX_STREAM_PEER_SERVERS parsing error
janos Sep 27, 2018
bd1f74f
cmd/swarm: handle errors in cmdLineOverride and envVarsOverride funct…
janos Sep 27, 2018
d8d8669
swarm/network/stream: fix streamer test compilation issue (#17772)
janos Sep 28, 2018
0da3b17
Merge pull request #17747 from ethersphere/max-stream-peer-servers
zelig Sep 28, 2018
c63985d
Merge branch 'master' into cmd-config-errors
janos Sep 28, 2018
2c110c8
Swarm MRUs: Adaptive frequency / Predictable lookups / API simplifica…
jpeletier Sep 28, 2018
dcaabfe
Clef: USB hw wallet support (#17756)
holiman Sep 28, 2018
d5837e8
cmd/swarm: trim new lines from files
nonsense Sep 28, 2018
bf37241
cmd/swarm: fix TestConfigFileOverrides
janos Sep 28, 2018
0ee44e7
swarm/storage: make linter happy
nonsense Sep 28, 2018
7910dd5
Merge pull request #17781 from ethersphere/trim_newline
zelig Sep 28, 2018
7e1c374
swarm/storage: ensure 64bit hasherStore struct alignment (#17766)
janos Sep 28, 2018
4d8c724
build: fix typo (#17773)
imharrywu Sep 28, 2018
79ca6c7
tests: update slow test lists, skip on windows/386 (#17758)
fjl Sep 28, 2018
f1b9a3e
contracts/ens: expose Add and SetAddr in ENS (#17661)
jpeletier Sep 28, 2018
a5aaab2
accounts/abi/bind/backends: fix typo (#17749)
Wesley-Arrington Sep 28, 2018
d9e324a
cmd/swarm: respect --loglevel in run_test helpers (#17739)
frncmx Sep 28, 2018
44eb695
internal/debug: support color terminal for cygwin/msys2 (#17740)
hackmod Sep 29, 2018
107f556
internal/ethapi: add eth_chainId method (#17617)
hackmod Sep 29, 2018
ffca6df
core/types: fix typos (#17762)
thumb8432 Sep 29, 2018
024b22c
eth/downloader: use intermediate variable for better readability (#17…
jsvisa Sep 29, 2018
01d9f29
cmd/swarm: remove swarm binary (#17784)
jsvisa Sep 29, 2018
3d782bc
eth: broadcast blocks to at least 4 peers (#17725)
AlexeyAkhunov Sep 29, 2018
86ec213
core/types: make tx signature values optional in JSON (#17742)
reinerRubin Sep 29, 2018
b69942b
core, internal/ethapi: add and use LRU cache for receipts (#17610)
ryanschneider Sep 29, 2018
9a749dc
cmd/swarm: correct swarm version on --help
nonsense Oct 1, 2018
dc5d643
cmd/swarm, swarm: cross-platform Content-Type detection (#17782)
nizsheanez Oct 1, 2018
634e963
cmd/swarm: disable export and upload tests on Windows
nonsense Oct 1, 2018
96fd50b
accounts/abi: fix panic in MethodById lookup. Fixes #17797 (#17798)
holiman Oct 1, 2018
b7bbe66
les: limit state ODR retrievals to the last 100 blocks (#17744)
zsfelfoldi Oct 1, 2018
668c37f
params: enable constantinople on ropsten at 4.2M
Oct 1, 2018
2c8d5de
Merge pull request #17800 from ethersphere/disable_cmd_swarm_tests_on…
zelig Oct 1, 2018
83116a3
Merge pull request #17799 from ethersphere/correct_swarm_version
zelig Oct 2, 2018
0bf3065
Merge pull request #17771 from ethersphere/cmd-config-errors
zelig Oct 2, 2018
26a37c5
travis.yml: remove Go 1.9 (#17807)
nonsense Oct 2, 2018
bd1f7eb
cmd/swarm: fix appveyor build (#17808)
acud Oct 2, 2018
f1e86ad
swarm/storage/mru: Renamed all identifiers to Feeds
jpeletier Sep 28, 2018
b35622c
swarm/storage/mru: Renamed all comments to Feeds
jpeletier Sep 30, 2018
83705ef
swarm/storage/mru: Renamed rest of MRU references
jpeletier Sep 30, 2018
b6ccc06
swarm/storage/feeds: Final package rename and moved files
jpeletier Sep 30, 2018
68b8088
swarm: Changed owners.
jpeletier Oct 1, 2018
58c0879
swarm/storage/feeds: removed capital Feed throughout
jpeletier Oct 2, 2018
696bc9b
swarm/storage/feeds: renamed vars that can conflict with package name
jpeletier Oct 2, 2018
de01178
swarm/storage/feed: Renamed package
jpeletier Oct 3, 2018
d3a773c
travis, appveyor: bump to Go 1.11.1 (#17820)
SamuelMarks Oct 3, 2018
14bef9a
core: fix unnecessary ancestor lookup after a fast sync (#17825)
karalabe Oct 3, 2018
303b996
swarm: schemas and migrations (#17813)
nonsense Oct 3, 2018
e567711
Merge pull request #17796 from epiclabs-io/mru-feeds
zelig Oct 3, 2018
9d06b2c
core: use ChainHeadEvent subscription in the chain indexer (#17826)
zsfelfoldi Oct 3, 2018
82a1c77
cmd/swarm: disable tests under Windows until they are fixed (#17827)
nonsense Oct 4, 2018
4757168
Merge remote-tracking branch 'remotes/goeth/release/1.8' into geth-up…
Oct 4, 2018
2c4081d
Merge remote-tracking branch 'remotes/goeth/release/1.8' into geth-up…
Oct 4, 2018
bfa0f96
cmd/evm: fix state dump (#17832)
cdetrio Oct 4, 2018
b8a0daf
cmd/puppeth: fix node URL in health check (#17802)
fjl Oct 4, 2018
ff6e035
eth: fixed the minor typo inside the comments (#17830)
LiangMa Oct 4, 2018
1275532
Merge pull request #17801 from eosclassicteam/patch-1
karalabe Oct 4, 2018
1895059
p2p: add enode URL to PeerInfo (#17838)
fjl Oct 4, 2018
8c63d0d
swarm/storage: extract isValid. correctly remove invalid chunks from …
nonsense Oct 4, 2018
89a3245
core/vm: faster create/create2 (#17806)
holiman Oct 4, 2018
ff7fad1
params: add ropsten fork delay, update les checkpoints
karalabe Oct 4, 2018
d79602d
Merge pull request #17843 from karalabe/ropsten-block-and-chts
karalabe Oct 4, 2018
81375a3
tests: do not exit early on log hash mismatch (#17844)
holiman Oct 5, 2018
dc11685
miner, istanbul/backend : make seal async
Oct 5, 2018
ac82df8
add back karalabe/cookierjar.v2/collections/prque that was removed in…
Oct 5, 2018
092df3a
core/vm: SHA3 word cost for CREATE2 (#17812)
holiman Oct 5, 2018
6ee3b26
eth/downloader: fix invalid hash chain error due to head mini reorg
karalabe Oct 4, 2018
5d3b7bb
Merge pull request #17839 from karalabe/downloader-invalid-hash-chain…
karalabe Oct 5, 2018
2ba4fe0
istanbul/backend: handle nil on result returned from commitCh
Oct 5, 2018
58e868b
core/vm : fix failing testcase (#17852)
holiman Oct 5, 2018
5b0c9c8
tests: use non-constantinople ropsten for difficulty tests (#17850)
holiman Oct 5, 2018
5ed3960
accounts/abi/bind: stop using goimports in the binding generator (#17…
jeremyschlatter Oct 5, 2018
f95811e
cmd/abigen: support for --type flag with piped data (#17648)
pschlump Oct 6, 2018
c5cb214
swarm/storage/feed: Expose MaxUpdateDataLength constant (#17858)
jpeletier Oct 8, 2018
89cca50
miner/worker: use worker.current.state instead of task.state to keep …
Oct 8, 2018
1d3d4a4
core/vm: reuse Keccak-256 hashes across opcode executions (#17863)
karalabe Oct 8, 2018
31c4e3a
core/types: Log.Index is the index in block, not receipt (#17866)
jsvisa Oct 8, 2018
53634f1
trie: remove unused originalRoot field (#17862)
karalabe Oct 8, 2018
c5d34fc
les, light: reduce les testing stress (#17867)
rjl493456442 Oct 8, 2018
cfcc475
cmd/utils: fix bug when checking for flag value conflicts (#17803)
ryanschneider Oct 8, 2018
459278c
miner: remove intermediate conversion to int in tests (#17853)
fjl Oct 8, 2018
72a0768
travis, build: speed up CI runs (#17854)
fjl Oct 8, 2018
11d0ff6
Fix retrieval tests and simulation backends (#17723)
holisticode Oct 8, 2018
97b2806
core/asm: Use hexadecimal addresses in assembly dumps (#17870)
gballet Oct 9, 2018
8bbe720
params, swarm: release Geth v1.8.17 and Swar v0.3.5
karalabe Oct 9, 2018
ff5538a
params, swarm: begin Geth v1.8.18, Swarm v0.3.6 cycle
karalabe Oct 9, 2018
d5c7a60
cmd/clef: encrypt the master seed on disk (#17704)
holiman Oct 9, 2018
0fe9a37
swarm, swarm/storage: lower constants for faster tests (#17876)
nonsense Oct 9, 2018
da290e9
cmd/swarm: speed up tests (#17878)
acud Oct 9, 2018
4e474c7
rpc: fix subscription corner case and speed up tests (#17874)
fjl Oct 9, 2018
aff421e
internal/ethapi: warn on failed account accesses
karalabe Oct 10, 2018
f951e23
Merge pull request #17887 from karalabe/warn-failed-account-access
karalabe Oct 10, 2018
dcae0d3
p2p/simulations: fix a deadlock and clean up adapters (#17891)
fjl Oct 11, 2018
6f607de
p2p, p2p/discover: add signed ENR generation (#17753)
fjl Oct 12, 2018
4868964
cmd/swarm: split flags and cli command declarations to the relevant f…
acud Oct 12, 2018
862d6f2
cmd/swarm: Smoke test for Swarm Feed (#17892)
nolash Oct 12, 2018
dc3c3fb
swarm/storage: Add accessCnt for GC (#17845)
nolash Oct 12, 2018
6566a0a
swarm/network/stream: generalise setting of next batch (#17818)
zelig Oct 12, 2018
2e98631
rpc: fix client shutdown hang when Close races with Unsubscribe (#17894)
fjl Oct 15, 2018
60827dc
tests: update tests, implement no-pow blocks (#17902)
holiman Oct 15, 2018
3e92c85
cmd/clef: fix typos in README (#17908)
mgrachev Oct 15, 2018
331fa6d
accounts/usbwallet: simplify code using -= operator (#17904)
Oct 15, 2018
16e4d0e
p2p: meter peer traffic, emit metered peer events (#17695)
kurkomisi Oct 15, 2018
6a7695e
ethdb, rpc: support building on js/wasm (#17709)
dimchansky Oct 15, 2018
a352de6
core/vm: add shortcuts for trivial exp cases (#16851)
holiman Oct 15, 2018
6c313ff
cmd/geth: don't set GOMAXPROCS by default (#17148)
jsvisa Oct 16, 2018
2868acd
core/types: fix comment for func SignatureValues (#17921)
Smilenator Oct 16, 2018
4466c7b
metrics: added NewCounterForced (#17919)
holisticode Oct 16, 2018
4e693ad
swarm/tracing: disable stdout logging for opentracing (#17931)
nonsense Oct 17, 2018
cdf5982
swarm: Lightnode mode: disable sync, retrieve, subscription (#17899)
Oct 17, 2018
97fb083
EIP-1186 eth_getProof (#17737)
simon-jentzsch Oct 18, 2018
aeb7336
swarm/network: disallow historical retrieval requests (#17936)
acud Oct 19, 2018
d98c45f
core: fix a typo (#17941)
wuxiangzhou2010 Oct 19, 2018
6ff97bf
accounts: wallet derivation path comment is mistaken (#17934)
jsvisa Oct 19, 2018
75060ef
cmd/bootnode: fix -writeaddress output (#17932)
fjl Oct 19, 2018
66debd9
swarm/api/http: remove ModTime=now for direct and multipart uploads (…
acud Oct 19, 2018
88b41a9
swarm/network/stream: disambiguate chunk delivery messages (retrieval…
holisticode Oct 21, 2018
3088c12
eth/downloader: fix comment typos (#17956)
jsvisa Oct 23, 2018
4c0883e
core/vm: adds refund as part of the json standard trace (#17910)
holiman Oct 23, 2018
7f22b59
core/state: simplify proof methods (#17965)
fjl Oct 23, 2018
6810933
eth/downloader: SetBlocksIdle is not used (#17962)
jsvisa Oct 23, 2018
80d3907
cmd/clef: replace password arg with prompt (#17897)
johnsBeharry Oct 25, 2018
8ed4739
p2p accounting (#17951)
holisticode Oct 25, 2018
1b6fd03
core/vm: check empty in extcodehash
holiman Oct 26, 2018
54f650a
swarm: clean up unused private types and functions (#17989)
frncmx Oct 27, 2018
3e1cfba
cmd/swarm/swarm-smoke: fix issue that loop variable capture in func (…
rociiu Oct 29, 2018
f08f596
all: updated code owners file (#17987)
acud Oct 31, 2018
126dfde
cmd/swarm: auto resolve default path according to env flag (#17960)
acud Nov 4, 2018
baee850
swarm: modify context key (#17925)
KimMachineGun Nov 6, 2018
53eb4e0
swarm/api: unexport Respond methods (#18037)
nonsense Nov 6, 2018
79c7a69
swarm: Better syncing and retrieval option definition (#17986)
holisticode Nov 6, 2018
e2640a9
miner: fix miner stress test (#18039)
rjl493456442 Nov 7, 2018
80e2f3a
travis, appveyor: bump to Go 1.11.2 (#18031)
SamuelMarks Nov 7, 2018
0fe0b8f
p2p/protocols: use keyed fields for struct instantiation (#18017)
CoreyLin Nov 7, 2018
dc6648b
downloader: measure successfull deliveries, not failed (#17983)
holiman Nov 7, 2018
eea3ae4
core, eth/downloader: fix validation flaw, fix downloader printout fl…
holiman Nov 7, 2018
5b74bb6
signer: remove ineffectual assignments (#18049)
holiman Nov 7, 2018
b351655
eth/downloader: remove the expired id directly (#17963)
jsvisa Nov 7, 2018
36ca85f
swarm/api: Fix #18007, missing signature should return HTTP 400 (#18008)
jpeletier Nov 7, 2018
0bcff8f
eth/downloader: speed up tests by generating chain only once (#17916)
fjl Nov 7, 2018
81533de
swarm/network: light nodes are not dialed, saved and requested from (…
vmaark Nov 7, 2018
cf3b187
swarm, cmd/swarm: address ineffectual assignments (#18048)
nonsense Nov 7, 2018
503993c
p2p: use enode.ID type in metered connection (#17933)
kurkomisi Nov 8, 2018
968f601
event, event/filter: minor code cleanup (#18061)
CoreyLin Nov 8, 2018
c71e4fc
p2p: fix comment typo (#18027)
LiangMa Nov 8, 2018
212bf26
eth, p2p: fix comment typos (#18014)
CoreyLin Nov 8, 2018
a5dc087
core/vm, eth/tracers: use pointer receiver for GetRefund (#18018)
CoreyLin Nov 8, 2018
1064e32
common/compiler: capture runtime code and source maps (#18020)
JoranHonig Nov 8, 2018
bd519ab
internal/web3ext: add eth.getProof (#18052)
ryanschneider Nov 8, 2018
d0675e9
Merge pull request #17982 from holiman/polish_contantinople_extcodehash
karalabe Nov 8, 2018
9313fa6
event/filter: delete unused package (#18063)
fjl Nov 8, 2018
b16cc50
ethclient: include block hash from FilterQuery (#17996)
Nov 8, 2018
144c1c6
consensus: extend getWork API with block number (#18038)
rjl493456442 Nov 8, 2018
870efee
core/state: remove lock (#18065)
fjl Nov 8, 2018
f574c4e
metrics, p2p: add ephemeral registry (#18067)
kurkomisi Nov 9, 2018
1ff152f
rawdb: remove unused parameter for WritePreimages func (#18059)
CoreyLin Nov 9, 2018
a0876f7
Imply that SwarmApiFlag is the API endpoint to connect to, not to lis…
randomshinichi Nov 12, 2018
201a0bf
p2p/simulations, swarm/network: Custom services in snapshot (#17991)
nolash Nov 12, 2018
1212c7b
core: fix default trie cache limit (#17860)
rjl493456442 Nov 12, 2018
8080265
swarm/storage: fix access count on dbstore after cache hit (#17978)
frncmx Nov 13, 2018
588aa88
github: format code owners file (#18090)
mrFranklin Nov 13, 2018
4fecc7a
eth: fix minor grammar issue in comment (#18091)
mrFranklin Nov 13, 2018
c41e1bd
swarm/storage: fix garbage collector index skew (#18080)
frncmx Nov 13, 2018
cef7ed5
params: update CHTs
karalabe Nov 14, 2018
cff9711
Merge pull request #18097 from karalabe/update-chts-2
karalabe Nov 14, 2018
eb8fa3c
cmd/swarm, swarm/api/http, swarm/bmt, swarm/fuse, swarm/network/strea…
nizsheanez Nov 14, 2018
58632d4
params, swarm: release Geth v1.8.18 and Swarm v0.3.6
karalabe Nov 14, 2018
519337a
Merge remote-tracking branch 'quorum/master' into geth-upgrade-1.8.16
Nov 29, 2018
13a9f26
Merge remote-tracking branch 'quorum/master' into geth-upgrade-1.8.16
Nov 29, 2018
2914b3c
Merge remote-tracking branch 'remotes/origin/master' into geth-upgrad…
Jan 25, 2019
8e30fc2
Merge remote-tracking branch 'remotes/origin/master' into geth-upgrad…
Jan 25, 2019
bc529a5
Merge branch 'goeth-1.8.18' into geth-upgrade-1.8.18
Jan 29, 2019
4dbd959
Merge branch 'goeth-1.8.18' into geth-upgrade-1.8.18
Jan 29, 2019
73667e7
merge 1.8.18 with quorum/master
Feb 8, 2019
c2b9822
Merge remote-tracking branch 'remotes/origin/master' into geth-upgrad…
Feb 10, 2019
5f7042a
fix merge conflict
Feb 10, 2019
7b2e277
fix unit test
Feb 10, 2019
a8f7b2c
update newly added methods
Feb 12, 2019
6fb33c0
Merge remote-tracking branch 'remotes/origin/master' into AJ-geth-upg…
Feb 13, 2019
e034cb1
Merge remote-tracking branch 'remotes/origin/master' into AJ-geth-upg…
Feb 25, 2019
6bdd01f
raft: change RAFTPORT to RaftPort
Feb 25, 2019
32729b9
remove TODO related to review
Feb 25, 2019
eb06642
update comments
Feb 26, 2019
0af013d
merge CONTRIBUTING.md with upstream
Feb 26, 2019
9d54481
update CONTRIBUTING.md with quorum wiki
Feb 27, 2019
45fc047
Merge remote-tracking branch 'remotes/origin/master' into AJ-geth-upg…
Mar 6, 2019
2fd6876
Merge remote-tracking branch 'remotes/origin/master' into AJ-geth-upg…
Mar 7, 2019
aaf67bf
solc upgrade
Mar 7, 2019
57be5ca
remove comment
Mar 7, 2019
849eca2
merge with quorum upstream
Mar 18, 2019
b286409
merge with quorum upstream
Mar 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 9 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -9,24 +9,27 @@ les/ @zsfelfoldi
light/ @zsfelfoldi
mobile/ @karalabe
p2p/ @fjl @zsfelfoldi
p2p/simulations @lmars
p2p/protocols @zelig
swarm/api/http @justelad
swarm/bmt @zelig
swarm/dev @lmars
swarm/fuse @jmozah @holisticode
swarm/grafana_dashboards @nonsense
swarm/metrics @nonsense @holisticode
swarm/multihash @nolash
swarm/network/bitvector @zelig @janos @gbalint
swarm/network/priorityqueue @zelig @janos @gbalint
swarm/network/simulations @zelig
swarm/network/stream @janos @zelig @gbalint @holisticode @justelad
swarm/network/bitvector @zelig @janos
swarm/network/priorityqueue @zelig @janos
swarm/network/simulations @zelig @janos
swarm/network/stream @janos @zelig @holisticode @justelad
swarm/network/stream/intervals @janos
swarm/network/stream/testing @zelig
swarm/pot @zelig
swarm/pss @nolash @zelig @nonsense
swarm/services @zelig
swarm/state @justelad
swarm/storage/encryption @gbalint @zelig @nagydani
swarm/storage/encryption @zelig @nagydani
swarm/storage/mock @janos
swarm/storage/mru @nolash
swarm/storage/feed @nolash @jpeletier
swarm/testutil @lmars
whisper/ @gballet @gluk256
43 changes: 31 additions & 12 deletions .github/CONTRIBUTING.md
@@ -1,17 +1,36 @@
# Contributing

Thank you for your interest in contributing to Quorum!
We welcome contributions from anyone on the internet, and are grateful for even the
smallest of fixes!

If you'd like to contribute to quorum please fork, fix, commit and
send a pull request. Commits which do not comply with the coding standards
are ignored.

## Coding guidelines

Please make sure your contributions adhere to our coding guidelines:

* Code must adhere to the official Go
[formatting](https://golang.org/doc/effective_go.html#formatting) guidelines
(i.e. uses [gofmt](https://golang.org/cmd/gofmt/)).
* Code must be documented adhering to the official Go
[commentary](https://golang.org/doc/effective_go.html#commentary) guidelines.
* Pull requests need to be based on and opened against the `master` branch.
* Commit messages should be prefixed with the package(s) they modify.
* E.g. "eth, rpc: make trace configs optional"

## Can I have feature X

Before you do a feature request please check and make sure that it isn't possible
through some other means. The JavaScript enabled console is a powerful feature
in the right hands. Please check our [Wiki page](https://github.com/ethereum/go-ethereum/wiki) for more info
Before you submit a feature request, please check and make sure that it isn't
possible through some other means. The JavaScript-enabled console is a powerful
feature in the right hands. Please check our
[Wiki page](https://github.com/jpmorganchase/quorum/wiki) for more info
and help.

## Contributing
Thank you for your interest in contributing to Quorum!

If you'd like to contribute to go-ethereum please fork, fix, commit and
send a pull request. Commits which do not comply with the coding standards
are ignored (use gofmt!).
## Configuration, dependencies, and tests

See [Developers' Guide](https://github.com/ethereum/go-ethereum/wiki/Developers'-Guide)
for more details on configuring your environment, testing, and
dependency management.
Please see the [Developers' Guide](https://github.com/ethereum/go-ethereum/wiki/Developers'-Guide)
for more details on configuring your environment, managing project dependencies
and testing procedures.
4 changes: 2 additions & 2 deletions .github/no-response.yml
Expand Up @@ -7,5 +7,5 @@ closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
to take action. Please reach out if you have more relevant information or
answers to our questions so that we can investigate further.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -171,3 +171,4 @@ xiekeyang <xiekeyang@users.noreply.github.com>
yoza <yoza.is12s@gmail.com>
ΞTHΞЯSPHΞЯΞ <{viktor.tron,nagydani,zsfelfoldi}@gmail.com>
Максим Чусовлянов <mchusovlianov@gmail.com>
Ralph Caraveo <deckarep@gmail.com>
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -45,6 +45,7 @@ lint: ## Run linters.
build/env.sh go run build/ci.go lint

clean:
./build/clean_go_build_cache.sh
rm -fr build/_workspace/pkg/ $(GOBIN)/*

# The devtools target installs tools required for 'go generate'.
Expand All @@ -60,6 +61,9 @@ devtools:
@type "solc" 2> /dev/null || echo 'Please install solc'
@type "protoc" 2> /dev/null || echo 'Please install protoc'

swarm-devtools:
env GOBIN= go install ./cmd/swarm/mimegen

# Cross Compilation Targets (xgo)

geth-cross: geth-linux geth-darwin geth-windows geth-android geth-ios
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

3 changes: 3 additions & 0 deletions accounts/abi/abi.go
Expand Up @@ -137,6 +137,9 @@ func (abi *ABI) UnmarshalJSON(data []byte) error {
// MethodById looks up a method by the 4-byte id
// returns nil if none found
func (abi *ABI) MethodById(sigdata []byte) (*Method, error) {
if len(sigdata) < 4 {
return nil, fmt.Errorf("data too short (% bytes) for abi method lookup", len(sigdata))
}
for _, method := range abi.Methods {
if bytes.Equal(method.Id(), sigdata[:4]) {
return &method, nil
Expand Down
11 changes: 10 additions & 1 deletion accounts/abi/abi_test.go
Expand Up @@ -711,5 +711,14 @@ func TestABI_MethodById(t *testing.T) {
t.Errorf("Method %v (id %v) not 'findable' by id in ABI", name, common.ToHex(m.Id()))
}
}

// Also test empty
if _, err := abi.MethodById([]byte{0x00}); err == nil {
t.Errorf("Expected error, too short to decode data")
}
if _, err := abi.MethodById([]byte{}); err == nil {
t.Errorf("Expected error, too short to decode data")
}
if _, err := abi.MethodById(nil); err == nil {
t.Errorf("Expected error, nil is short to decode data")
}
}
40 changes: 25 additions & 15 deletions accounts/abi/bind/backends/simulated.go
Expand Up @@ -65,11 +65,11 @@ type SimulatedBackend struct {

// NewSimulatedBackend creates a new binding backend using a simulated blockchain
// for testing purposes.
func NewSimulatedBackend(alloc core.GenesisAlloc) *SimulatedBackend {
func NewSimulatedBackend(alloc core.GenesisAlloc, gasLimit uint64) *SimulatedBackend {
database := ethdb.NewMemDatabase()
genesis := core.Genesis{Config: params.AllEthashProtocolChanges, Alloc: alloc}
genesis := core.Genesis{Config: params.AllEthashProtocolChanges, GasLimit: gasLimit, Alloc: alloc}
genesis.MustCommit(database)
blockchain, _ := core.NewBlockChain(database, nil, genesis.Config, ethash.NewFaker(), vm.Config{})
blockchain, _ := core.NewBlockChain(database, nil, genesis.Config, ethash.NewFaker(), vm.Config{}, nil)

backend := &SimulatedBackend{
database: database,
Expand Down Expand Up @@ -208,7 +208,7 @@ func (b *SimulatedBackend) PendingNonceAt(ctx context.Context, account common.Ad
}

// SuggestGasPrice implements ContractTransactor.SuggestGasPrice. Since the simulated
// chain doens't have miners, we just return a gas price of 1 for any call.
// chain doesn't have miners, we just return a gas price of 1 for any call.
func (b *SimulatedBackend) SuggestGasPrice(ctx context.Context) (*big.Int, error) {
return big.NewInt(1), nil
}
Expand Down Expand Up @@ -324,18 +324,24 @@ func (b *SimulatedBackend) SendTransaction(ctx context.Context, tx *types.Transa
//
// TODO(karalabe): Deprecate when the subscription one can return past data too.
func (b *SimulatedBackend) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error) {
// Initialize unset filter boundaried to run from genesis to chain head
from := int64(0)
if query.FromBlock != nil {
from = query.FromBlock.Int64()
}
to := int64(-1)
if query.ToBlock != nil {
to = query.ToBlock.Int64()
var filter *filters.Filter
if query.BlockHash != nil {
// Block filter requested, construct a single-shot filter
filter = filters.NewBlockFilter(&filterBackend{b.database, b.blockchain}, *query.BlockHash, query.Addresses, query.Topics)
} else {
// Initialize unset filter boundaried to run from genesis to chain head
from := int64(0)
if query.FromBlock != nil {
from = query.FromBlock.Int64()
}
to := int64(-1)
if query.ToBlock != nil {
to = query.ToBlock.Int64()
}
// Construct the range filter
filter = filters.NewRangeFilter(&filterBackend{b.database, b.blockchain}, from, to, query.Addresses, query.Topics)
}
// Construct and execute the filter
filter := filters.New(&filterBackend{b.database, b.blockchain}, from, to, query.Addresses, query.Topics)

// Run the filter and return all the logs
logs, err := filter.Logs(ctx)
if err != nil {
return nil, err
Expand Down Expand Up @@ -430,6 +436,10 @@ func (fb *filterBackend) HeaderByNumber(ctx context.Context, block rpc.BlockNumb
return fb.bc.GetHeaderByNumber(uint64(block.Int64())), nil
}

func (fb *filterBackend) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error) {
return fb.bc.GetHeaderByHash(hash), nil
}

func (fb *filterBackend) GetReceipts(ctx context.Context, hash common.Hash) (types.Receipts, error) {
number := rawdb.ReadHeaderNumber(fb.db, hash)
if number == nil {
Expand Down
10 changes: 5 additions & 5 deletions accounts/abi/bind/bind.go
Expand Up @@ -23,13 +23,13 @@ package bind
import (
"bytes"
"fmt"
"go/format"
"regexp"
"strings"
"text/template"
"unicode"

"github.com/ethereum/go-ethereum/accounts/abi"
"golang.org/x/tools/imports"
)

// Lang is a target programming language selector to generate bindings for.
Expand Down Expand Up @@ -145,9 +145,9 @@ func Bind(types []string, abis []string, bytecodes []string, pkg string, lang La
if err := tmpl.Execute(buffer, data); err != nil {
return "", err
}
// For Go bindings pass the code through goimports to clean it up and double check
// For Go bindings pass the code through gofmt to clean it up
if lang == LangGo {
code, err := imports.Process(".", buffer.Bytes(), nil)
code, err := format.Source(buffer.Bytes())
if err != nil {
return "", fmt.Errorf("%v\n%s", err, buffer)
}
Expand Down Expand Up @@ -207,7 +207,7 @@ func bindTypeGo(kind abi.Type) string {

// The inner function of bindTypeGo, this finds the inner type of stringKind.
// (Or just the type itself if it is not an array or slice)
// The length of the matched part is returned, with the the translated type.
// The length of the matched part is returned, with the translated type.
func bindUnnestedTypeGo(stringKind string) (int, string) {

switch {
Expand Down Expand Up @@ -255,7 +255,7 @@ func bindTypeJava(kind abi.Type) string {

// The inner function of bindTypeJava, this finds the inner type of stringKind.
// (Or just the type itself if it is not an array or slice)
// The length of the matched part is returned, with the the translated type.
// The length of the matched part is returned, with the translated type.
func bindUnnestedTypeJava(stringKind string) (int, string) {

switch {
Expand Down