Go to file
Jeancarlo Barrios 754ca3169e
feat: add tx limit to mempool (#14014)
* feat: add bounding max tx to mempool

* add bounded condition

* sligh improvement on generator

* remove unbouded option

* add test

* added mempool options mechanism

* mising test

* seting mempool

* change function name

* change function name

* failing test

* Revert "failing test"

This reverts commit d527982b0d4ec826ff680afb8f43ac1d71809ccf.

* fix import block

* changelog entries

* add ability to do unbounded mempool

* remove unesesary variable

* small comments

* change 0 to mean unbounded

* t

* small test fix

* add the ability to be bounded unbounded and disabled

* t

* set default maxtx

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* example for opts

* remove superflues logs entry

* add mempool to configurations

* fix more understandable name

* remove table in favor of bulletpoints

* sender nonce to unbounded

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update server/config/config.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* t

* add comment for options

* fix inport

* fix inport

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
2022-12-02 00:39:55 +00:00
.github chore: fix link to "building modules" doc (#14058) 2022-11-29 10:27:12 +01:00
.vscode feat: add vscode e2e config (#13851) 2022-11-14 11:26:28 +01:00
api build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha8 to 1.0.0-beta.1 (#14122) 2022-12-01 17:33:41 +00:00
baseapp chore: clean-up deprecated function usage (#14078) 2022-11-30 01:10:50 +01:00
client build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha8 to 1.0.0-beta.1 (#14122) 2022-12-01 17:33:41 +00:00
codec fix: add gRPC nil/zero check in query (#13352) 2022-09-29 01:20:03 +00:00
contrib ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
core fix: Remove google.golang.org/protobuf Any prefix (#14119) 2022-12-01 18:09:01 +00:00
crypto chore: run markdownlint on the whole repository (#14106) 2022-11-30 19:51:26 +00:00
depinject ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
docs feat: add tx limit to mempool (#14014) 2022-12-02 00:39:55 +00:00
errors ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
fuzz docs: add docs about x/auth/tx (#14021) 2022-11-27 20:30:23 +00:00
internal refactor: add sdk.LogDeferred to report errors in defers (#13619) 2022-10-26 15:42:19 +00:00
math perf: math: optimize and test FormatInt + simplify LegacyNewDecFromStr (#14010) 2022-11-29 21:00:47 +00:00
orm fix: Remove google.golang.org/protobuf Any prefix (#14119) 2022-12-01 18:09:01 +00:00
proto refactor: x/evidence audit changes (#14092) 2022-12-01 08:39:10 +00:00
runtime fix: runtime: fix (*App).RegisterMoodules inconsistency in checking/memoizing appModule (#14128) 2022-12-01 17:18:58 -05:00
scripts ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
server feat: add tx limit to mempool (#14014) 2022-12-02 00:39:55 +00:00
simapp feat: add tx limit to mempool (#14014) 2022-12-02 00:39:55 +00:00
std fix: register evidence regression (#10595) 2021-12-14 14:25:31 +00:00
store refactor: move snapshotstore under store (#14048) 2022-11-29 23:40:14 +00:00
telemetry fix: all: fix resource leaks found by staticmajor (#13394) 2022-10-06 20:11:40 +00:00
tests build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha8 to 1.0.0-beta.1 (#14122) 2022-12-01 17:33:41 +00:00
testutil refactor: don't break SignModeHandler API (#14087) 2022-12-01 16:20:10 +01:00
third_party/proto chore: proto format (#13685) 2022-10-28 17:40:48 +02:00
tools build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha8 to 1.0.0-beta.1 (#14122) 2022-12-01 17:33:41 +00:00
tx fix: Remove google.golang.org/protobuf Any prefix (#14119) 2022-12-01 18:09:01 +00:00
types feat: add tx limit to mempool (#14014) 2022-12-02 00:39:55 +00:00
version chore: fix linting issues exposed by fixing golangci-lint (#12895) 2022-08-11 22:00:24 +02:00
x refactor: don't break SignModeHandler API (#14087) 2022-12-01 16:20:10 +01:00
.clang-format chore: improve proto formatting (#12656) 2022-07-21 10:56:31 +00:00
.dockerignore Add basic Dockerfile to build all binaries and export gaiad 2018-04-10 12:39:47 +02:00
.gitattributes Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
.gitignore ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
.gitpod.yml Create .gitpod.yml (#12662) 2022-08-15 15:18:30 +02:00
.golangci.yml build(deps): Bump github.com/golangci/golangci-lint from 1.48.0 to 1.49.0 (#13013) 2022-08-24 23:13:11 +02:00
.goreleaser.yml ci: fix release notes not populated by goreleaser 2022-08-13 20:41:27 +02:00
.markdownlint.json docs: Code blocks in SDK docs are broken (#11189) 2022-02-14 23:39:35 +01:00
.markdownlintignore docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
.mergify.yml chore: update .mergify.yml #13841 2022-11-11 18:49:36 +00:00
buf.work.yaml refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
CHANGELOG.md refactor: don't break SignModeHandler API (#14087) 2022-12-01 16:20:10 +01:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#7381) 2020-09-28 11:28:30 +02:00
CODING_GUIDELINES.md feat: migrate to docusaurus (#13471) 2022-10-10 14:01:53 +00:00
CONTRIBUTING.md ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
docker-compose.yml build: add remote debugging with delve (#10587) 2021-12-01 12:44:54 +00:00
Dockerfile fix: fix multi platform go build in docker push workflow (#13993) 2022-11-27 13:00:57 +00:00
go.mod build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha8 to 1.0.0-beta.1 (#14122) 2022-12-01 17:33:41 +00:00
go.sum build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha8 to 1.0.0-beta.1 (#14122) 2022-12-01 17:33:41 +00:00
go.work.example ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
LICENSE chore: update license copyright (#12542) 2022-07-13 10:19:10 +00:00
Makefile chore: bump tendermint to 0.37.0-rc2 (#14067) 2022-11-29 15:43:45 +00:00
README.md ci: configure sonarcloud (#13921) 2022-11-18 15:14:49 +00:00
RELEASE_PROCESS.md docs: add documentation on documentation deployment (#13739) 2022-11-03 17:23:52 +01:00
SECURITY.md docs: updates outdated docs (#12014) 2022-05-31 08:59:38 -04:00
sonar-project.properties ci: configure monorepo sonarcloud (#13944) 2022-11-23 10:47:18 +00:00
UPGRADING.md refactor: remove gogoproto stringer annotations (#14046) 2022-11-29 13:34:03 +00:00

Cosmos SDK

banner

The Cosmos SDK is a framework for building blockchain applications. Tendermint Core (BFT Consensus) and the Cosmos SDK are written in the Go programming language. Cosmos SDK is used to build Gaia, the implementation of the Cosmos Hub.

WARNING: The Cosmos SDK has mostly stabilized, but we are still making some breaking changes.

Note: Requires Go 1.19+

Quick Start

To learn how the Cosmos SDK works from a high-level perspective, see the Cosmos SDK High-Level Intro.

If you want to get started quickly and learn how to build on top of Cosmos SDK, visit Cosmos SDK Tutorials. You can also fork the tutorial's repository to get started building your own Cosmos SDK application.

For more information, see the Cosmos SDK Documentation.

Contributing

See CONTRIBUTING.md for details on how to contribute and participate in our dev calls. If you want to follow the updates or learn more about the latest design then join our Discord.

Tools and Frameworks

The Cosmos ecosystem is vast. Awesome Cosmos is a community-curated list of notable frameworks, modules and tools.

Cosmos Hub Mainnet

The Cosmos Hub application, gaia, has its own cosmos/gaia repository. Go there to join the Cosmos Hub mainnet and more.

Inter-Blockchain Communication (IBC)

The IBC module for the Cosmos SDK has its own cosmos/ibc-go repository. Go there to build and integrate with the IBC module.

Ignite CLI

Ignite CLI is the all-in-one platform to build, launch, and maintain any crypto application on a sovereign and secured blockchain. If you are building a new app or a new module, use Ignite CLI to get started and speed up development.

Disambiguation

This Cosmos SDK project is not related to the React-Cosmos project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.