-
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.
clone https://github.com/cometbft/cometbft v0.38.2
- Loading branch information
0 parents
commit c1b548a
Showing
1,363 changed files
with
266,635 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,11 @@ | ||
--- | ||
Language: Proto | ||
BasedOnStyle: Google | ||
IndentWidth: 2 | ||
ColumnLimit: 0 | ||
AlignConsecutiveAssignments: true | ||
AlignConsecutiveDeclarations: true | ||
SpacesInSquareBrackets: true | ||
ReflowComments: true | ||
SortIncludes: true | ||
SortUsingDeclarations: true |
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 @@ | ||
build | ||
test/e2e/build | ||
test/e2e/networks | ||
test/logs | ||
test/p2p/data |
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,16 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{sh,Makefile}] | ||
indent_style = tab | ||
|
||
[*.proto] | ||
indent_style = space | ||
indent_size = 2 |
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,59 @@ | ||
*.bak | ||
*.iml | ||
*.log | ||
*.swo | ||
*.swp | ||
*/.glide | ||
*/vendor | ||
.DS_Store | ||
.bak | ||
.idea/ | ||
.revision | ||
.cometbft | ||
.cometbft-lite | ||
.terraform | ||
.vagrant | ||
.vendor-new/ | ||
.vscode/ | ||
abci/abci-cli | ||
addrbook.json | ||
artifacts/* | ||
build/* | ||
coverage.txt | ||
docs/.vuepress/dist | ||
docs/_build | ||
docs/dist | ||
docs/node_modules/ | ||
docs/spec | ||
docs/.vuepress/public/rpc | ||
index.html.md | ||
libs/pubsub/query/fuzz_test/output | ||
profile\.out | ||
remote_dump | ||
rpc/test/.cometbft | ||
scripts/cutWALUntil/cutWALUntil | ||
scripts/wal2json/wal2json | ||
shunit2 | ||
terraform.tfstate | ||
terraform.tfstate.backup | ||
terraform.tfstate.d | ||
test/app/grpc_client | ||
test/loadtime/build | ||
test/e2e/build | ||
test/e2e/networks/*/ | ||
test/logs | ||
test/p2p/data/ | ||
vendor | ||
test/fuzz/**/corpus | ||
test/fuzz/**/crashers | ||
test/fuzz/**/suppressions | ||
test/fuzz/**/*.zip | ||
proto/spec/**/*.pb.go | ||
*.aux | ||
*.bbl | ||
*.blg | ||
*.gz | ||
*.dvi | ||
# Python virtual environments | ||
.venv |
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,98 @@ | ||
linters: | ||
enable: | ||
- asciicheck | ||
- bodyclose | ||
- depguard | ||
- dogsled | ||
- dupl | ||
- errcheck | ||
- exportloopref | ||
- goconst | ||
- gofmt | ||
- goimports | ||
- revive | ||
- gosec | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
- nakedret | ||
- nolintlint | ||
- prealloc | ||
- staticcheck | ||
# - structcheck // to be fixed by golangci-lint | ||
- stylecheck | ||
- typecheck | ||
- unconvert | ||
- unused | ||
|
||
issues: | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- gosec | ||
max-same-issues: 50 | ||
|
||
linters-settings: | ||
dogsled: | ||
max-blank-identifiers: 3 | ||
golint: | ||
min-confidence: 0 | ||
goconst: | ||
ignore-tests: true | ||
maligned: | ||
suggest-new: true | ||
misspell: | ||
locale: US | ||
depguard: | ||
rules: | ||
main: | ||
files: | ||
- $all | ||
- "!$test" | ||
allow: | ||
- $gostd | ||
- github.com/cometbft | ||
- github.com/cosmos | ||
- github.com/btcsuite/btcd/btcec/v2 | ||
- github.com/BurntSushi/toml | ||
- github.com/go-git/go-git/v5 | ||
- github.com/go-kit | ||
- github.com/go-logfmt/logfmt | ||
- github.com/gofrs/uuid | ||
- github.com/google | ||
- github.com/gorilla/websocket | ||
- github.com/informalsystems/tm-load-test/pkg/loadtest | ||
- github.com/lib/pq | ||
- github.com/libp2p/go-buffer-pool | ||
- github.com/Masterminds/semver/v3 | ||
- github.com/minio/highwayhash | ||
- github.com/oasisprotocol/curve25519-voi | ||
- github.com/pkg/errors | ||
- github.com/prometheus | ||
- github.com/rcrowley/go-metrics | ||
- github.com/rs/cors | ||
- github.com/snikch/goodman | ||
- github.com/spf13 | ||
- github.com/stretchr/testify/require | ||
- github.com/syndtr/goleveldb | ||
test: | ||
files: | ||
- "$test" | ||
allow: | ||
- $gostd | ||
- github.com/cosmos | ||
- github.com/cometbft | ||
- github.com/adlio/schema | ||
- github.com/btcsuite/btcd | ||
- github.com/fortytw2/leaktest | ||
- github.com/go-kit | ||
- github.com/google/uuid | ||
- github.com/gorilla/websocket | ||
- github.com/lib/pq | ||
- github.com/oasisprotocol/curve25519-voi/primitives/merlin | ||
- github.com/ory/dockertest | ||
- github.com/pkg/errors | ||
- github.com/prometheus/client_golang/prometheus/promhttp | ||
- github.com/spf13 | ||
- github.com/stretchr/testify |
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,37 @@ | ||
project_name: cometbft | ||
|
||
env: | ||
# Require use of Go modules. | ||
- GO111MODULE=on | ||
|
||
builds: | ||
- id: "cometbft" | ||
main: ./cmd/cometbft/main.go | ||
ldflags: | ||
- -s -w -X github.com/cometbft/cometbft/version.TMCoreSemVer={{ .Version }} | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
goarch: | ||
- amd64 | ||
- arm | ||
- arm64 | ||
|
||
checksum: | ||
name_template: SHA256SUMS-{{.Version}}.txt | ||
algorithm: sha256 | ||
|
||
release: | ||
prerelease: auto | ||
name_template: "v{{.Version}}" | ||
|
||
archives: | ||
- files: | ||
- LICENSE | ||
- README.md | ||
- UPGRADING.md | ||
- SECURITY.md | ||
- CHANGELOG.md |
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 @@ | ||
# markdownlint configuration | ||
# https://github.com/DavidAnson/markdownlint | ||
|
||
# Default state for all rules | ||
default: true | ||
|
||
# See https://github.com/DavidAnson/markdownlint#rules--aliases for rules | ||
MD001: false | ||
MD007: {indent: 4} | ||
MD013: false | ||
MD024: {siblings_only: true} | ||
MD025: false | ||
MD033: false | ||
MD036: false | ||
MD010: false | ||
MD012: false | ||
MD028: 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,6 @@ | ||
docs/node_modules | ||
CHANGELOG.md | ||
docs/architecture/* | ||
crypto/secp256k1/** | ||
scripts/* | ||
.github |
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 @@ | ||
{ | ||
"retryOn429": true, | ||
"retryCount": 5, | ||
"fallbackRetryDelay": "30s", | ||
"aliveStatusCodes": [200, 206, 503], | ||
"httpHeaders": [ | ||
{ | ||
"urls": [ | ||
"https://docs.github.com/", | ||
"https://help.github.com/" | ||
], | ||
"headers": { | ||
"Accept-Encoding": "zstd, br, gzip, deflate" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.