Commit Graph

646 Commits

Author SHA1 Message Date
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
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
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
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
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
Rigel e9e83f0b6d
Merge PR #2237: move WIP-lamborghini-distribution 2018-09-05 13:59:37 -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
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 5c600f2e2b jae comments 2018-09-03 15:49:36 -04:00
Sunny Aggarwal 92eef7a4fa docs 2018-09-03 00:16:38 -07:00
Alessio Treglia 599923fb99
Introduce simulate mode
Add a simulate only flag '--dry-run' to both CLI tx commands
and RESTful endpoints to trigger the simulation of unsigned
transactions.

* Turning --dry-run on causes the --gas flag to be ignored.
  The simulation will return the estimate of the gas required
  to actually run the transaction.
* Adjustment is no longer required. It now defaults to 1.0.
* In some test cases accounts retrieved from the state do not
  come with a PubKey. In such cases, a fake secp256k1 key is
  generated and gas consumption calculated accordingly.

Closes: #2110
2018-08-31 19:04:11 +02:00
Alexander Bezobchuk 2d92803b9f Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing
* Add new account bech32 prefixes with godocs

* Restructure spacing of existing account code

* Update account godocs

* More account godoc updates + new tm pub/addr helpers

* Update validator type to use new account types/bech32 prefixes

* Fix account documentation errors

* Update Bech32 prefix for consensus nodes

* Update Bech32 spec doc

* Fix account type tests

* Add missing account consensus functions, clear up godocs, and fix tests

* Add to TestRandBech32PubkeyConsistency check

* Update initialization of validator public keys

* Update query signing info command

* Implement new ConsAddress type with associated unit tests

* [WIP] Update stake and slashing parameters

* Update all calls to MustBech32ifyValPub

* [WIP] Validator operator API updates

* [WIP] Fix and update unit tests

* Fix gov logs (helping to debug failing tests)

* Fix gov tally

* Fix all broken x/ unit tests

* Update gaia app genesis address logic

* Fix linting errors

* Fix broken LCD tests

* Fix broken CLI tests

* Implement command to get validator address and pubkey from key name

* Add support for getting validator key information via REST endpoint

* Update PENDING log

* Update docs

* Revert GaiaGenTx.PubKey bech32 prefix

* Fix broken docs and cli tests

* Update genesis to use correct Bech32 (cons) prefix for pubkeys

* Update docs and unit tests to reflect new cosmos account bech32 prefix

* minor formatting
2018-08-31 00:06:44 -04:00
Matthew Slipper 03c56fc024 Merge PR #2190: Rename --gen-txs to --with-txs
* Rename --gen-txs to --with-txs

Closes #1088.

* Update CHANGELOG.md
2018-08-30 21:33:48 -04:00
Christopher Goes 153756bb75
Merge PR #2171: Add documentation regarding environment variables 2018-08-30 23:24:11 +02:00
rigelrozanski 222597165e trigger -> hooks 2018-08-28 18:23:57 -04:00
Jack Zampolin dfd29a523c Update PRIORIEIES.md 2018-08-28 11:13:21 -07:00
Ethan Buchman a804dec76e
Merge pull request #2039 from cosmos/cwgoes/update-priorities
Update PRIORITIES.md
2018-08-28 13:15:37 -04:00
Fabian e89e860524
Update config.js 2018-08-28 16:18:06 +02:00
Christopher Goes 73f90e8f92
Merge PR #2047: Simulate transactions by default to set gas automatically 2018-08-28 13:53:29 +02:00
Matthew Slipper 4ddfef6204 Add documentation regarding environment variables
Closes #1973.
2018-08-28 01:29:46 -07:00
Greg Szabo 909a68ed65
Updating config.js for docs website build process
This change will put the documentation to the right folder for website deployment.
2018-08-27 12:34:16 -04:00
Jae Kwon bec53fb1df fixed bech32 for validator pubkeys 2018-08-26 16:44:51 -07:00
Jae Kwon 305589faf4
Update bech32 human readable spec to simply "cosmos" (#2103)
Update bech32 human readable to simply "cosmos"
2018-08-26 16:41:08 -07:00
Alessio Treglia 76a16ab288
Modify AnteHandler to take a simulate boolean parameter 2018-08-25 20:12:14 +01:00
Jordan Bibla 96fc6c6f7b double curlies breaks vuepress - single curlies does not 2018-08-24 15:05:40 -04:00
Christopher Goes 15b4b338df Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-24 14:25:29 +02:00
Alessio Treglia 47d55bd572
Add/refresh docs 2018-08-24 10:16:51 +01:00
Christopher Goes c5d44bcaf0
Merge PR #2001: Update slashing spec for slashing-by-period 2018-08-24 02:09:29 +02:00