Skip to content

Commit 4b44bea

Browse files
committed
Merge attempt
1 parent fd0e3b9 commit 4b44bea

File tree

1,214 files changed

+279427
-45918
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,214 files changed

+279427
-45918
lines changed

.dockerignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
**/.git
2+
.git
3+
!.git/HEAD
4+
!.git/refs/heads
25
**/*_test.go
36

47
build/_workspace

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
3+
*.sol linguist-language=Solidity

.github/CODEOWNERS

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Lines starting with '#' are comments.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
accounts/usbwallet @karalabe
5+
consensus @karalabe
6+
core/ @karalabe @holiman
7+
eth/ @karalabe
8+
les/ @zsfelfoldi
9+
light/ @zsfelfoldi
10+
mobile/ @karalabe
11+
p2p/ @fjl @zsfelfoldi
12+
whisper/ @gballet @gluk256

.github/CONTRIBUTING.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1+
## Can I have feature X
2+
3+
Before you do a feature request please check and make sure that it isn't possible
4+
through some other means. The JavaScript enabled console is a powerful feature
5+
in the right hands. Please check our [Wiki page](https://github.com/ethereum/go-ethereum/wiki) for more info
6+
and help.
7+
18
## Contributing
29
Thank you for your interest in contributing to Quorum!
310

4-
Quorum is built on open source and we invite you to contribute enhancements. Upon review you will be required to complete a Contributor License Agreement (CLA) before we are able to merge. If you have any questions about the contribution process, please feel free to send an email to [[email protected]](mailto:[email protected]).
11+
If you'd like to contribute to go-ethereum please fork, fix, commit and
12+
send a pull request. Commits which do not comply with the coding standards
13+
are ignored (use gofmt!).
14+
15+
See [Developers' Guide](https://github.com/ethereum/go-ethereum/wiki/Developers'-Guide)
16+
for more details on configuring your environment, testing, and
17+
dependency management.

.github/ISSUE_TEMPLATE.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Hi there,
2+
3+
please note that this is an issue tracker reserved for bug reports and feature requests.
4+
5+
For general questions please use the gitter channel or the Ethereum stack exchange at https://ethereum.stackexchange.com.
6+
17
#### System information
28

39
Geth version: `geth version`

.github/no-response.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Number of days of inactivity before an Issue is closed for lack of response
2+
daysUntilClose: 30
3+
# Label requiring a response
4+
responseRequiredLabel: more-information-needed
5+
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
6+
closeComment: >
7+
This issue has been automatically closed because there has been no response
8+
to our request for more information from the original author. With only the
9+
information that is currently in the issue, we don't have enough information
10+
to take action. Please reach out if you have or find the answers we need so
11+
that we can investigate further.

.github/stale.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 366
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 42
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking an issue as stale
10+
staleLabel: stale
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: false

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,15 @@ profile.cov
3434

3535
# IdeaIDE
3636
.idea
37+
38+
# VS Code
39+
.vscode
40+
41+
# dashboard
42+
/dashboard/assets/flow-typed
43+
/dashboard/assets/node_modules
44+
/dashboard/assets/stats.json
45+
/dashboard/assets/bundle.js
46+
/dashboard/assets/package-lock.json
47+
48+
**/yarn-error.log

.mailmap

+13-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ Enrique Fynn <[email protected]>
6565

6666
Vincent G <[email protected]>
6767

68-
RJ Catalano <[email protected]>
68+
RJ Catalano <[email protected]>
69+
6970

7071
Nchinda Nchinda <[email protected]>
7172

@@ -109,3 +110,14 @@ Frank Wang <[email protected]>
109110
Gary Rong <[email protected]>
110111

111112
Guillaume Nicolas <[email protected]>
113+
114+
Sorin Neacsu <[email protected]>
115+
116+
117+
Valentin Wüstholz <[email protected]>
118+
Valentin Wüstholz <[email protected]> <[email protected]>
119+
120+
Armin Braun <[email protected]>
121+
122+
Ernesto del Toro <[email protected]>
123+

.travis.yml

+60-48
Original file line numberDiff line numberDiff line change
@@ -6,69 +6,79 @@ matrix:
66
- os: linux
77
dist: trusty
88
sudo: required
9-
go: 1.7.x
10-
script:
11-
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse
12-
- sudo modprobe fuse
13-
- sudo chmod 666 /dev/fuse
14-
- sudo chown root:$USER /etc/fuse.conf
15-
- go run build/ci.go install
16-
- go run build/ci.go test -coverage
17-
18-
- os: linux
19-
dist: trusty
20-
sudo: required
21-
go: 1.8.x
9+
go: 1.9.x
2210
script:
23-
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse
2411
- sudo modprobe fuse
2512
- sudo chmod 666 /dev/fuse
2613
- sudo chown root:$USER /etc/fuse.conf
2714
- go run build/ci.go install
28-
- go run build/ci.go test -coverage
15+
- go run build/ci.go test -coverage $TEST_PACKAGES
2916

3017
# These are the latest Go versions.
3118
- os: linux
3219
dist: trusty
3320
sudo: required
34-
go: 1.9.x
21+
go: 1.10.x
3522
script:
36-
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install fuse
3723
- sudo modprobe fuse
3824
- sudo chmod 666 /dev/fuse
3925
- sudo chown root:$USER /etc/fuse.conf
4026
- go run build/ci.go install
41-
- go run build/ci.go test -coverage -misspell
27+
- go run build/ci.go test -coverage $TEST_PACKAGES
4228

4329
- os: osx
44-
go: 1.9.x
45-
sudo: required
30+
go: 1.10.x
4631
script:
32+
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
4733
- brew update
48-
- brew install caskroom/cask/brew-cask
4934
- brew cask install osxfuse
5035
- go run build/ci.go install
51-
- go run build/ci.go test -coverage -misspell
36+
- go run build/ci.go test -coverage $TEST_PACKAGES
5237

53-
# This builder does the Ubuntu PPA and Linux Azure uploads
38+
# This builder only tests code linters on latest version of Go
5439
- os: linux
5540
dist: trusty
56-
sudo: required
57-
go: 1.9.x
41+
go: 1.10.x
42+
env:
43+
- lint
44+
git:
45+
submodules: false # avoid cloning ethereum/tests
46+
script:
47+
- go run build/ci.go lint
48+
49+
# This builder does the Ubuntu PPA upload
50+
- os: linux
51+
dist: trusty
52+
go: 1.10.x
5853
env:
5954
- ubuntu-ppa
60-
- azure-linux
55+
git:
56+
submodules: false # avoid cloning ethereum/tests
6157
addons:
6258
apt:
6359
packages:
6460
- devscripts
6561
- debhelper
6662
- dput
67-
- gcc-multilib
6863
- fakeroot
6964
script:
70-
# Build for the primary platforms that Trusty can manage
7165
- go run build/ci.go debsrc -signer "Go Ethereum Linux Builder <[email protected]>" -upload ppa:ethereum/ethereum
66+
67+
# This builder does the Linux Azure uploads
68+
- os: linux
69+
dist: trusty
70+
sudo: required
71+
go: 1.10.x
72+
env:
73+
- azure-linux
74+
git:
75+
submodules: false # avoid cloning ethereum/tests
76+
addons:
77+
apt:
78+
packages:
79+
- gcc-multilib
80+
script:
81+
# Build for the primary platforms that Trusty can manage
7282
- go run build/ci.go install
7383
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
7484
- go run build/ci.go install -arch 386
@@ -78,24 +88,25 @@ matrix:
7888
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
7989
- sudo ln -s /usr/include/asm-generic /usr/include/asm
8090

81-
- GOARM=5 CC=arm-linux-gnueabi-gcc go run build/ci.go install -arch arm
91+
- GOARM=5 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
8292
- GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
83-
- GOARM=6 CC=arm-linux-gnueabi-gcc go run build/ci.go install -arch arm
93+
- GOARM=6 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
8494
- GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
85-
- GOARM=7 CC=arm-linux-gnueabihf-gcc go run build/ci.go install -arch arm
95+
- GOARM=7 go run build/ci.go install -arch arm -cc arm-linux-gnueabihf-gcc
8696
- GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
87-
- CC=aarch64-linux-gnu-gcc go run build/ci.go install -arch arm64
97+
- go run build/ci.go install -arch arm64 -cc aarch64-linux-gnu-gcc
8898
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
8999

90100
# This builder does the Linux Azure MIPS xgo uploads
91101
- os: linux
92102
dist: trusty
93-
sudo: required
94103
services:
95104
- docker
96-
go: 1.9.x
105+
go: 1.10.x
97106
env:
98107
- azure-linux-mips
108+
git:
109+
submodules: false # avoid cloning ethereum/tests
99110
script:
100111
- go run build/ci.go xgo --alltools -- --targets=linux/mips --ldflags '-extldflags "-static"' -v
101112
- for bin in build/bin/*-linux-mips; do mv -f "${bin}" "${bin/-linux-mips/}"; done
@@ -132,29 +143,33 @@ matrix:
132143
env:
133144
- azure-android
134145
- maven-android
146+
git:
147+
submodules: false # avoid cloning ethereum/tests
135148
before_install:
136-
- curl https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz | tar -xz
149+
- curl https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz | tar -xz
137150
- export PATH=`pwd`/go/bin:$PATH
138151
- export GOROOT=`pwd`/go
139152
- export GOPATH=$HOME/go
140153
script:
141154
# Build the Android archive and upload it to Maven Central and Azure
142-
- curl https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip -o android-ndk-r14b.zip
143-
- unzip -q android-ndk-r14b.zip && rm android-ndk-r14b.zip
144-
- mv android-ndk-r14b $HOME
145-
- export ANDROID_NDK=$HOME/android-ndk-r14b
155+
- curl https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -o android-ndk-r16b.zip
156+
- unzip -q android-ndk-r16b.zip && rm android-ndk-r16b.zip
157+
- mv android-ndk-r16b $HOME
158+
- export ANDROID_NDK=$HOME/android-ndk-r16b
146159

147160
- mkdir -p $GOPATH/src/github.com/ethereum
148161
- ln -s `pwd` $GOPATH/src/github.com/ethereum
149162
- go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
150163

151164
# This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
152165
- os: osx
153-
go: 1.9.x
166+
go: 1.10.x
154167
env:
155168
- azure-osx
156169
- azure-ios
157170
- cocoapods-ios
171+
git:
172+
submodules: false # avoid cloning ethereum/tests
158173
script:
159174
- go run build/ci.go install
160175
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
@@ -170,24 +185,21 @@ matrix:
170185
- xctool -version
171186
- xcrun simctl list
172187

188+
# Workaround for https://github.com/golang/go/issues/23749
189+
- export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
173190
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
174191

175192
# This builder does the Azure archive purges to avoid accumulating junk
176193
- os: linux
177194
dist: trusty
178-
sudo: required
179-
go: 1.9.x
195+
go: 1.10.x
180196
env:
181197
- azure-purge
198+
git:
199+
submodules: false # avoid cloning ethereum/tests
182200
script:
183201
- go run build/ci.go purge -store gethstore/builds -days 14
184202

185-
install:
186-
- go get golang.org/x/tools/cmd/cover
187-
script:
188-
- go run build/ci.go install
189-
- go run build/ci.go test -coverage
190-
191203
notifications:
192204
webhooks:
193205
urls:

0 commit comments

Comments
 (0)