forked from dominant-strategies/go-quai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6745e7e
Showing
1,654 changed files
with
657,012 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
**/*_test.go | ||
|
||
build/_workspace | ||
build/_bin | ||
tests/testdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
*.sol linguist-language=Solidity |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Lines starting with '#' are comments. | ||
# Each line is a file pattern followed by one or more owners. | ||
|
||
accounts/usbwallet @karalabe | ||
accounts/scwallet @gballet | ||
accounts/abi @gballet @MariusVanDerWijden | ||
cmd/clef @holiman | ||
cmd/puppeth @karalabe | ||
consensus @karalabe | ||
core/ @karalabe @holiman @rjl493456442 | ||
eth/ @karalabe @holiman @rjl493456442 | ||
eth/catalyst/ @gballet | ||
graphql/ @gballet | ||
les/ @zsfelfoldi @rjl493456442 | ||
light/ @zsfelfoldi @rjl493456442 | ||
mobile/ @karalabe @ligi | ||
node/ @fjl @renaynay | ||
p2p/ @fjl @zsfelfoldi | ||
rpc/ @fjl @holiman | ||
p2p/simulations @fjl | ||
p2p/protocols @fjl | ||
p2p/testing @fjl | ||
signer/ @holiman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Contributing | ||
|
||
Thank you for considering to help out with the source code! We welcome | ||
contributions from anyone on the internet, and are grateful for even the | ||
smallest of fixes! | ||
|
||
If you'd like to contribute to go-ethereum, please fork, fix, commit and send a | ||
pull request for the maintainers to review and merge into the main code base. If | ||
you wish to submit more complex changes though, please check up with the core | ||
devs first on [our gitter channel](https://gitter.im/ethereum/go-ethereum) to | ||
ensure those changes are in line with the general philosophy of the project | ||
and/or get some early feedback which can make both your efforts much lighter as | ||
well as our review and merge procedures quick and simple. | ||
|
||
## 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 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 | ||
[Geth documentation page](https://geth.ethereum.org/docs/) for more info | ||
and help. | ||
|
||
## Configuration, dependencies, and tests | ||
|
||
Please see the [Developers' Guide](https://geth.ethereum.org/docs/developers/devguide) | ||
for more details on configuring your environment, managing project dependencies | ||
and testing procedures. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Report a bug | ||
about: Something with go-ethereum is not working as expected | ||
title: '' | ||
labels: 'type:bug' | ||
assignees: '' | ||
--- | ||
|
||
#### System information | ||
|
||
Geth version: `geth version` | ||
OS & Version: Windows/Linux/OSX | ||
Commit hash : (if `develop`) | ||
|
||
#### Expected behaviour | ||
|
||
|
||
#### Actual behaviour | ||
|
||
|
||
#### Steps to reproduce the behaviour | ||
|
||
|
||
#### Backtrace | ||
|
||
```` | ||
[backtrace] | ||
```` | ||
|
||
When submitting logs: please submit them as text and not screenshots. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Request a feature | ||
about: Report a missing feature - e.g. as a step before submitting a PR | ||
title: '' | ||
labels: 'type:feature' | ||
assignees: '' | ||
--- | ||
|
||
# Rationale | ||
|
||
Why should this feature exist? | ||
What are the use-cases? | ||
|
||
# Implementation | ||
|
||
Do you have ideas regarding the implementation of this feature? | ||
Are you willing to implement this feature? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
name: Ask a question | ||
about: Something is unclear | ||
title: '' | ||
labels: 'type:docs' | ||
assignees: '' | ||
--- | ||
|
||
This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [discord](https://discord.gg/nthXNEv) or the Ethereum stack exchange at https://ethereum.stackexchange.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Number of days of inactivity before an Issue is closed for lack of response | ||
daysUntilClose: 30 | ||
# Label requiring a response | ||
responseRequiredLabel: "need:more-information" | ||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable | ||
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 more relevant information or | ||
answers to our questions so that we can investigate further. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 366 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 42 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- pinned | ||
- security | ||
# Label to use when marking an issue as stale | ||
staleLabel: "status:inactive" | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
# | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# git config --global core.excludesfile ~/.gitignore_global | ||
|
||
/tmp | ||
*/**/*un~ | ||
*/**/*.test | ||
*un~ | ||
.DS_Store | ||
*/**/.DS_Store | ||
.ethtest | ||
*/**/*tx_database* | ||
*/**/*dapps* | ||
build/_vendor/pkg | ||
|
||
#* | ||
.#* | ||
*# | ||
*~ | ||
.project | ||
.settings | ||
|
||
# used by the Makefile | ||
/build/_workspace/ | ||
/build/cache/ | ||
/build/bin/ | ||
/geth*.zip | ||
|
||
# travis | ||
profile.tmp | ||
profile.cov | ||
|
||
# IdeaIDE | ||
.idea | ||
|
||
# VS Code | ||
.vscode | ||
|
||
# dashboard | ||
/dashboard/assets/flow-typed | ||
/dashboard/assets/node_modules | ||
/dashboard/assets/stats.json | ||
/dashboard/assets/bundle.js | ||
/dashboard/assets/bundle.js.map | ||
/dashboard/assets/package-lock.json | ||
|
||
**/yarn-error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "tests"] | ||
path = tests/testdata | ||
url = https://github.com/ethereum/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# This file configures github.com/golangci/golangci-lint. | ||
|
||
run: | ||
timeout: 3m | ||
tests: true | ||
# default is true. Enables skipping of directories: | ||
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ | ||
skip-dirs-use-default: true | ||
skip-files: | ||
- core/genesis_alloc.go | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- deadcode | ||
- goconst | ||
- goimports | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
# - staticcheck | ||
- unconvert | ||
# - unused | ||
- varcheck | ||
|
||
linters-settings: | ||
gofmt: | ||
simplify: true | ||
goconst: | ||
min-len: 3 # minimum length of string constant | ||
min-occurrences: 6 # minimum number of occurrences | ||
|
||
issues: | ||
exclude-rules: | ||
- path: crypto/blake2b/ | ||
linters: | ||
- deadcode | ||
- path: crypto/bn256/cloudflare | ||
linters: | ||
- deadcode | ||
- path: p2p/discv5/ | ||
linters: | ||
- deadcode | ||
- path: core/vm/instructions_test.go | ||
linters: | ||
- goconst | ||
- path: cmd/faucet/ | ||
linters: | ||
- deadcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.