Commit Graph

665 Commits

Author SHA1 Message Date
rigelrozanski
47e899bb61 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-25 17:45:48 -04:00
Sunny Aggarwal
15e848e43c Merge PR #2395: Remove governance slashing 2018-09-26 02:45:20 +08:00
Sunny Aggarwal
a04d5cf26d Merge PR #2072: WIP Bank Denom Metadata Spec
* Bank Denom Metadata Spec

* moved to WIP filename

* val comment
2018-09-25 14:18:04 -04:00
Rigel
6b595842ed Distr-PR-1 Staking ConsPubKey -> ConsAddr index (#2369)
* pulling in stuff from fee-distr PR
* revert some gov changes
* fix using cons address, also remove old commented distr code
* doc update
* val comments
* remove GetValidatorByConsPubKey
2018-09-24 21:09:31 -07:00
Alexander Bezobchuk
9dafa3252d Merge PR #2365: Validator Commission Model
* Update validator commission fields

* Remove CommissionChangeToday and update to use CommissionChangeTime

* Implement commission as a first class citizen type

* Implement stringer for Comission

* Move commission type and logic to new  file

* Add new commission errors

* Add commission to create validator message

* Implement and call UpdateValidatorCommission

* Update godoc for UpdateValidatorCommission

* Add Abs to the decimal type

* Implement new SetValidatorCommission

* Update decimal short godocs

* Move set initial commission logic

* Move initial commission validation to Commission type

* Update initial validator commission logic and unit tests

* Remove commission update time from struct and move to validator

* Update validator create handler tests

* Implement commission logic for CLI

* Fix make lint failure

* Fix make cover failure

* Update edit validator logic to handle new commission rate

* Fix lint and cover

* Update create/edit validator simulation to include commission params

* Update MsgEditValidator godoc

* Update pending log

* Update staking tx docs

* Fix CLI create validator test

* Update variables names for commission  strings

* Merge UpdateTime into Commission type

* Update create-validator usage in docs

* Update more docs with examples

* More doc updates
2018-09-24 18:23:58 -04:00
gamarin2
6835adb477 Merge PR #1652: Service Provider doc
* Add wip service provider doc

* rm space

* small modif

* Finalize service provider doc

* Integrate jb comments
2018-09-21 20:41:16 -04:00
Zach
0ac0301467 Merge PR #2371: how to build docs locally 2018-09-21 20:37:42 -04:00
Alessio Treglia
e2da4caae4 Merge PR #2364: Implement HTTPS for the LCD REST server
In order to guarantee a secure connection between apps and the LCD the
communication must be encrypted - even if clients and server run on the
same local machine, credentials must never be transmitted in clear text.

Upon start up, the server generates a self-signed certificate and a key.
Both are stored as temporary files; removal is guaranteed on exit.

This new behaviour is now enabled by default, though users are provided
with a --insecure flag to switch it off.
2018-09-22 00:33:58 +08:00
Sunny Aggarwal
8721dd6ff8 Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
Zach
fcd32c2f3d Merge PR #2271: docs: automated local/remote testnet instructions 2018-09-20 02:30:41 +08:00
rigelrozanski
97f7dbc5e6 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-19 13:25:23 -04:00
Zach
1167e07b98 Merge PR #2341: Link to DOCS_README 2018-09-20 01:24:31 +08:00
Alessio Treglia
b74a6a9066 Merge PR #2328: Support min fees-based anti spam strategy 2018-09-19 23:25:52 +08:00
rigelrozanski
a18b89539a handler, tags, msgs, codec 2018-09-18 23:30:00 -04:00
rigelrozanski
2eff69a575 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-17 17:53:42 -04:00
Dev Ojha
b09e8599d9 Merge PR #2334: ADR for global message counter 2018-09-17 23:26:21 +08:00
Dev Ojha
65137f6331 Merge PR #2343: Add a name field to the message type
This is to facillitate ease of implementing #1406. (Tags for messages
could then be added dynamically)

Ultimately once we make the router support hiearchical routing, (#770)
we can then remove the name field and just the parse info for tags from that.

Until then, we can parse the tag name as
`fmt.Sprintf("%s %s", msg.Type(), msg.Name())`
2018-09-17 22:34:06 +08:00
Peng Zhong
98005b03c4 Merge PR #2338: Update chinese whitepaper 2018-09-15 02:55:04 +08:00
Dev Ojha
9cf40e2df5 Merge PR #2337: Update revoked -> jailed in the docs, and in minor places within cmd 2018-09-15 02:52:23 +08:00
Dev Ojha
b5f8350dff Merge PR #2333: Copy ADR template from Tendermint
* Copy ADR template from Tendermint

* Modify @alexanderbez 's ADR template
2018-09-13 22:01:30 -04:00
Dev Ojha
6b55093c75 Merge PR #2324: rename wire to codec
* rename wire to codec

* fix formatting and cli

* fix the docs
2018-09-13 14:17:32 -04:00
rigelrozanski
46db96bdb7 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-13 02:11:07 -04:00
Zach
f1ac53b4ad Merge PR #2270: docs: lotion update 2018-09-12 15:39:34 +08:00
Alexander Bezobchuk
854aca2f7d Merge PR #2238: Ensure Tendermint Validator Update Invariants 2018-09-12 15:16:28 +08:00
Alessio Treglia
fb0cc0b078 Merge PR #2306: Change --gas=0 semantic and introduce --gas=simulate
* Change --gas=0 semantic and introduce --gas=simulate

Make --gas flag accept a conventional "simulate" string value in addition
to integers. Passing --gas=simulate would trigger the tx simulation and
set the gas according to the gas estimate returned by the simulation.
Any other integer value passed to --gas would be interpreted as-is and
and set as gas wanted value.

Closes: #2300

* Add test cases with gas=0

* ACK suggestion from @alexanderbez

* s/GasFlagSimulateString/GasFlagSimulate/

* Drop TODO comment on Gas type

* Enrich TODO with ref
2018-09-11 20:31:30 -04:00
rigelrozanski
7d864fee11 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-10 18:42:26 -04:00
Alexander Bezobchuk
e13cdc0260 Merge PR #2146: x/bank: Keeper Interfaces
* Update banking module to implement and use keeper interfaces

* Cleanup/consolidate x/bank keeper interface
2018-09-10 14:25:34 -04:00
Alessio Treglia
4448d175ad Merge PR #2240: New broadcast command
Implement broadcast command/REST endpoint to submit transactions
generated offline with --generated-only and the sign command.
2018-09-08 17:26:20 +08:00
Alexander Bezobchuk
0edfa17b53 Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
ValarDragon
e812919649 Rename coinKeeper -> bankKeeper
Closes #2267
2018-09-07 22:34:32 -07:00
Christopher Goes
5494e3c2dc
Merge branch 'develop' into cwgoes/revert-governance-bft-time 2018-09-07 17:24:37 +02:00
Christopher Goes
72e9664ce1 Revert "Merge PR #2217: Governance BFT Time"
This reverts commit 94b86f85c1, reversing
changes made to 2a4edcca48.
2018-09-07 17:00:57 +02:00
Alessio Treglia
e6a8a4df55
Implement command/REST endpoint for offline tx sign off #1953
* Add sign CLI command to sign transactions generated with the
  --generate-only flag.
* Add /sign REST endpoint for Voyager support.

Redirect password prompt to STDERR to avoid messing up cli
commands output. As a rule of thumb, program's output should
always go to STDOUT, whilst errors&diagnostics go to STDERR
as per POSIX's philosophy and specs.
2018-09-07 12:57:50 +01:00
Christopher Goes
94b86f85c1
Merge PR #2217: Governance BFT Time 2018-09-07 08:53:42 +02:00
Christopher Goes
72b3a45778
Merge branch 'develop' into sunny/gov-bft-time 2018-09-07 07:47:14 +02:00
Christopher Goes
693aea8985 Suggest opening pending PR back to develop 2018-09-07 01:04:58 +02:00
rigelrozanski
b40909906d update spec 2018-09-05 19:15:15 -04:00
rigelrozanski
8ab25fa78c Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-05 18:29:37 -04:00
Rigel
e9e83f0b6d
Merge PR #2237: move WIP-lamborghini-distribution 2018-09-05 13:59:37 -04:00
rigelrozanski
38c6090a9b Merge branch 'rigel/move-spec' into rigel/fee-distribution 2018-09-04 22:17:45 -04:00
Christopher Goes
a6120686f9
Merge PR #2165: Implement generate-only option for commands that create txs 2018-09-05 01:12:03 +02:00
rigelrozanski
43ab06678f move WIP-lamborghini-distribution 2018-09-04 17:21:38 -04:00
rigelrozanski
4ddf6ca082 undo spec move for PR clarity 2018-09-04 17:17:13 -04:00
rigelrozanski
48aa9a6ad5 working, moved WIP distribution spec to attic 2018-09-04 16:19:37 -04:00
Christopher Goes
1039388207
Merge PR #1944: Piggy-bank distribution spec 2018-09-04 14:19:09 +02:00
Alessio Treglia
86395809cb
Implement generate-only option for commands that create txs
The new CLI flag builds an unsigned transaction and writes it to STDOUT.
Likewise, REST clients can now append generate_only=true to a request's
query arguments list and expect a JSON response carrying the unsigned
transaction.

Closes: #966
2018-09-04 02:32:05 +02:00
rigelrozanski
d7794b483d Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-03 15:53:54 -04:00
rigelrozanski
469334d7f6 Merge branch 'rigel/piggy-bank-fee-spec' into rigel/fee-distribution 2018-09-03 15:53:21 -04:00
rigelrozanski
5c600f2e2b jae comments 2018-09-03 15:49:36 -04:00
Sunny Aggarwal
92eef7a4fa docs 2018-09-03 00:16:38 -07:00