Go to file
Dev Ojha 47e4682d9f Merge PR #1415: x/stake: Limit the size of rationals from user input
* x/stake: Limit the size of rationals from user input

This commit sets the maximum number of decimal points that can be
passed in from messages. This is enforced on the validate basic of
MsgBeginUnbonding and MsgBeginRedelegation. The cli has been
updated to truncate the user input to the specified precision. This
also updates types/rational to return big ints for Num() and Den().

Closes #887

* Switch NewFromDecimal to error instead of truncating
2018-06-29 22:30:12 +02:00
.circleci Merge PR #1429: tools: Add ineffassign linter 2018-06-28 19:12:02 +02:00
.github Merge PR #1423: PR Template labels 2018-06-28 03:22:57 +02:00
baseapp Ledger integration (#931) 2018-06-29 02:54:47 +02:00
client Merge PR #1449: crypto/keys: make bcrypt security param a var 2018-06-29 09:22:06 +02:00
cmd/gaia Ledger integration (#931) 2018-06-29 02:54:47 +02:00
crypto Merge PR #1451: crypto/keys: move checksum size into constants 2018-06-29 09:52:32 +02:00
docs Merge PR #1463: docs: Fix dependencies, from monorepo merge 2018-06-29 22:02:45 +02:00
examples Merge PR #1463: docs: Fix dependencies, from monorepo merge 2018-06-29 22:02:45 +02:00
networks Merge branch 'develop' into greg/testnet-command-2 2018-06-14 11:34:26 -07:00
scripts Fix typo 2018-06-05 09:25:27 -07:00
server Ledger integration (#931) 2018-06-29 02:54:47 +02:00
store Ledger integration (#931) 2018-06-29 02:54:47 +02:00
tests Merge PR #1438: Tools: Add errcheck linter 2018-06-29 00:52:10 +02:00
tools Merge PR #1438: Tools: Add errcheck linter 2018-06-29 00:52:10 +02:00
types Merge PR #1415: x/stake: Limit the size of rationals from user input 2018-06-29 22:30:12 +02:00
version Merge PR #1252: Query node version 2018-06-14 07:49:21 +02:00
wire Ledger integration (#931) 2018-06-29 02:54:47 +02:00
x Merge PR #1415: x/stake: Limit the size of rationals from user input 2018-06-29 22:30:12 +02:00
.codecov.yml codecov: closes #334 2018-01-17 20:00:54 -05:00
.dockerignore Add basic Dockerfile to build all binaries and export gaiad 2018-04-10 12:39:47 +02:00
.gitignore Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
CHANGELOG.md Merge PR #1415: x/stake: Limit the size of rationals from user input 2018-06-29 22:30:12 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-29 12:38:50 +01:00
CODEOWNERS add ebuchman as codeowner 2018-02-13 08:55:44 -05:00
docker-compose.yml Changed port numbers in docker-compose to the new port numbers 2018-06-15 00:21:31 -07:00
Dockerfile Update Dockerfile for gometalinter requirement 2018-05-08 01:32:15 +02:00
Gopkg.lock Ledger integration (#931) 2018-06-29 02:54:47 +02:00
Gopkg.toml Ledger integration (#931) 2018-06-29 02:54:47 +02:00
LICENSE Add README.md to Basecoin; Update licenses 2018-01-28 18:17:19 -08:00
Makefile Merge PR #1455: tools: Add make format 2018-06-29 09:37:16 +02:00
README.md Repair link of QuickStart->Documentation which was broken by #1289 (#1444) 2018-06-29 03:14:06 +02:00
Vagrantfile Finally working 2018-01-27 17:40:11 -08:00

Cosmos SDK

banner

version API Reference riot.im license LoC Go Report Card

Branch Tests Coverage
develop CircleCI codecov
master CircleCI codecov

The Cosmos-SDK is a framework for building blockchain applications in Golang. It is being used to build Gaia, the first implementation of the Cosmos Hub,

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

Note: Requires Go 1.10+

Gaia Testnet

For more information on connecting to the testnet, see cmd/gaia/testnets

For the latest status of the testnet, see the status file.

Install

See the install instructions

Quick Start

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.