Commit Graph

3872 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
rigelrozanski
380d3e1c5a pull a bunch from develop 2018-09-25 17:43:26 -04:00
Matthew Slipper
24413a395d Merge PR #2073: Allow --from to be a name or an address
* Allow --from to be a name or an address

Closes #1735.

* Post-rebase fixes

* Updates from code review

* Updates from code review

* Updates from code review

* Fix merge artifacts

* Fix merge conflicts

* Fix integration tests

* Add back GetFromName() check broken during merge

* Code review updates

* Fix failing test

* Updates from code review
2018-09-25 16:48:38 -04:00
Alexander Bezobchuk
04487ca5db Merge PR #2402: Skip LCD test TestVersion when no env var 2018-09-26 02:47:28 +08: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
Alexander Bezobchuk
611e287375 Merge PR #2401: Remove remnants of gocyclo 2018-09-25 13:45:04 -04:00
Jae Kwon
c31c0d2822 Merge remote-tracking branch 'origin/dev/simulation_remove_pubkey_ops' into develop 2018-09-24 21:29:41 -07:00
Rigel
de30281afa Distr-PR-2 Truncate Decimal Functionality (#2379) 2018-09-24 21:18:18 -07: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
Dev Ojha
1a5d122c93 Merge PR #2392: remove redundant sprintf calls, improve a doc comment, write test
* remove redundant sprintf calls, improve a doc comment, write test

* One more super minor fix
2018-09-24 21:42:51 -04: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
Dev Ojha
8774adc7de Merge PR #2375: Add an example for the size of a transaction
* Add an example for the size of a transaction

This shows that the size of a send tx from 1 input to 1 output is 173 bytes
This is good information to have, though we need to find the correct place
to put it.

* fix lint
2018-09-24 16:08:43 -04:00
Alessio Treglia
a65c6eba00 Merge PR #2389: Remove dependency on tendermint/tmlibs 2018-09-24 23:06:38 +08:00
ValarDragon
bb624b36aa simulation: Use a simulation.Account struct
This removes privkeys and addresses from function signatures.
This comes with a 11% performance improvement to the simulator,
as we no longer keep recomputing the pubkeys.
Once we move the transient store clearing to endblock, we can
further raise the size of make test_sim_gaia_fast

concretely, `make test_sim_gaia_fast` went from 16.8 seconds to 13.5 seconds on my system.
2018-09-22 20:33:32 -07: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
Dev Ojha
7823b9bb10 Merge PR #2366: baseapp: Automatically add action tags to messages 2018-09-21 23:54:32 +08:00
HaoyangLiu
d06c589436 Merge PR #2370: Improve error handler in certifier creation 2018-09-21 23:44:39 +08:00
rigelrozanski
0867ce8656 ... 2018-09-20 20:23:07 -04:00
rigelrozanski
0d9105cf7c ... 2018-09-20 20:10:26 -04:00
rigelrozanski
d36030424e breakout use of GetValidatorByConsAddr 2018-09-20 15:36:32 -04:00
Sunny Aggarwal
8721dd6ff8 Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
Jessy Irwin
9b6b00689c Merge PR #2361: Remove IBC entrypoints 2018-09-20 22:51:14 +08:00
rigelrozanski
251a81f589 yay it compiles 2018-09-20 00:53:48 -04:00
rigelrozanski
5790f33159 ... 2018-09-19 23:01:55 -04:00
rigelrozanski
5dabd1bf6d the errors never want to seem to end... 2018-09-19 22:54:46 -04:00
rigelrozanski
18fdccf95b ... 2018-09-19 22:13:12 -04:00
rigelrozanski
7002438d5f compile debugging 2018-09-19 21:17:28 -04:00
rigelrozanski
d9396ed732 working compile errors 2018-09-19 19:33:12 -04:00
rigelrozanski
df9c8db5e7 working through compile errors 2018-09-19 19:00:21 -04:00
rigelrozanski
76882991a4 alias work, working on compiling 2018-09-19 14:47:25 -04: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
10b916eb28 Merge PR #2318: Simplify version handling, rely on git describe 2018-09-20 00:03:04 +08:00
Alessio Treglia
b74a6a9066 Merge PR #2328: Support min fees-based anti spam strategy 2018-09-19 23:25:52 +08:00
rigelrozanski
de4071f693 aliases, errors 2018-09-19 00:42:05 -04:00
rigelrozanski
73c5fdf1f9 more cli related 2018-09-19 00:10:33 -04:00
rigelrozanski
e3cf4f606e cli transactions 2018-09-19 00:00:48 -04:00
rigelrozanski
a18b89539a handler, tags, msgs, codec 2018-09-18 23:30:00 -04:00
Dev Ojha
c6a3928d37 Added a couple of benchmarks (#2353)
These method were surprisingly slow from the profiling.
(Mapper.Get accounted for 2.7% of time taken, GetKey also took an
interestingly large portion of time)
2018-09-18 20:00:49 -07:00
Sunny Aggarwal
5b8a499fd0 R4R: Simulation Queued Time Operations (#2348)
* closes #2349
* queue time operations simulation
* removed FutureTimeOperation
2018-09-18 19:47:54 -07:00
rigelrozanski
bb9e647f95 add in basic commission stuff 2018-09-18 17:54:28 -04:00
rigelrozanski
24e43b9869 hookwork 2018-09-18 12:46:04 -04:00
rigelrozanski
431fdb8695 hook, genesis, and withdraw address 2018-09-17 23:02:15 -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
18d5b048a9 Merge PR #2299: simulation: reduce number of failed governance msgs 2018-09-17 22:36:26 +08:00