Christopher Goes
94f45311a0
Fix state export/import, add to CI ( #2690 )
...
* Update slashing import/export
* More slashing.WriteGenesis
* Add test import/export to CI
* Store equality comparison.
* Fix validator bond intra-tx counter
* Set timeslices for unbonding validators
* WriteGenesis => ExportGenesis
* Delete validators from unbonding queue when re-bonded
* Hook for validator deletion, fix staking genesis tests
2018-11-08 16:28:28 -08:00
Jae Kwon
336415baea
Fix simulation bugs; Incorprates #2676 from Sunny ( #2677 )
...
* Fix simulation bugs; Incorprates #2676 from Sunny
* Address review feedback; Update PENDING
2018-11-04 22:11:03 -08:00
Alexander Bezobchuk
50926fffff
Update to TM v0.26.0 - Part I ( #2679 )
...
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Christopher Goes
306fb8fb6d
Address @rigelrozanski comments
2018-10-23 20:33:39 +02:00
Jae Kwon
1cc74320df
Replicate Rigel's changes but w/ modifications as discussed + some name changes
2018-10-22 01:46:47 -07:00
Christopher Goes
f9877508e5
Address @rigelrozanski comments
2018-10-15 23:58:39 +02:00
Christopher Goes
9ec35a0ae4
Clear array when validator is jailed
2018-10-15 21:44:23 +02:00
Christopher Goes
6e0f3d6baf
Update function names to clarify semantics
2018-10-15 21:11:32 +02:00
Christopher Goes
2c4d9a0be4
Merge branch 'develop' into cwgoes/fix-signing-info-bugs
2018-10-15 21:04:49 +02:00
Christopher Goes
1ff2e865a8
Back to greater than
2018-10-12 21:15:39 +02:00
Christopher Goes
a83535aef3
Greater than to greater than or equal to
2018-10-12 21:09:23 +02:00
Christopher Goes
5fd7297e25
Count missed blocks instead of signed blocks
2018-10-12 00:04:44 +02:00
Christopher Goes
f6e92df3fa
Create signing info struct on validator bond hook
2018-10-11 22:48:00 +02:00
mossid
5c92a546c6
rename store subspace, add WithTypeTable
2018-10-11 05:01:30 +09:00
mossid
03975407ba
Merge branch 'develop' into joon/paramstore-refactor-base
2018-10-10 21:20:59 +09:00
mossid
9a35b7e949
space -> store, add doc
2018-10-07 01:12:00 +09:00
mossid
cc0e2c9523
paramstore refactor base
...
rm debug code
fix lint
fix hack.go
2018-10-07 01:11:59 +09:00
Christopher Goes
1ed338fc5f
Fixup comments
2018-10-05 20:00:01 +02:00
Christopher Goes
317be2bc16
Clarify ValidatorUpdateDelay
2018-10-05 19:56:17 +02:00
Christopher Goes
482537e6c1
Merge PR #2430 : Aggressive slashing simulation & fixes
2018-10-05 19:42:52 +02:00
Christopher Goes
1f12f204ce
Testcase fixes, 'make format', negative pre-genesis block
2018-10-05 14:11:36 +02:00
Christopher Goes
48672c4c0b
More comments, update sim for NextValSet
2018-10-04 18:22:51 +02:00
Christopher Goes
4fee7913b5
Fix issue from earlier merge
2018-10-03 17:59:01 +02:00
Christopher Goes
17983460b8
Merge PR #2219 : Update to Tendermint 0.24 (except NextValSet offsets)
2018-10-03 17:48:23 +02:00
Christopher Goes
08fcd9967d
Merge branch 'cwgoes/update-tendermint-upstream' into cwgoes/nextvalset
2018-10-02 14:05:35 +02:00
Christopher Goes
e7c2a9614f
Merge branch 'develop' into cwgoes/update-tendermint-upstream
2018-09-26 17:42:22 +02:00
Alexander Bezobchuk
611e287375
Merge PR #2401 : Remove remnants of gocyclo
2018-09-25 13:45: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
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
Christopher Goes
549eba0d54
Add height offsets
2018-09-07 06:56:05 +02:00
Christopher Goes
14d5e686d9
More TM 0.24 updates
2018-09-03 18:04:28 +02:00
Christopher Goes
1204857694
Merge PR #2122 : Implement slashing period
...
* Update PENDING.md
* SlashingPeriod struct
* Seperate keys.go, constant prefixes
* Make linter happy
* Update Gopkg.lock
* Seek slashing period by infraction height
* Slashing period hooks
* Slashing period unit tests; bugfix
* Add simple hook tests
* Add sdk.ValidatorHooks interface
* No-op hooks
* Real hooks
* Fix iteration direction & duplicate key, update Gaia
* Correctly simulate past validator set signatures
* Tiny rename
* Update dep; 'make format'
* Add quick slashing period functionality test
* Additional unit tests
* Use current validators when selected
* Panic in the right place
* Address @rigelrozanski comments
* Fix linter errors
* Address @melekes suggestion
* Rename hook
* Update for new bech32 types
* 'make format'
2018-08-31 20:01:23 -04:00
Christopher Goes
879f78cfc0
Rename revoke(d) to jail(ed)
2018-08-22 17:56:13 +02:00
Christopher Goes
e2691d98fc
0.24.1 - Fix validator pubkey bug
2018-08-21 15:40:43 +02:00
Dev Ojha
b2a4aecc44
Upgrade to tm version 23.0. ( #1927 )
...
* Start upgrade. Currently go test ./... hangs.
* (squash this) Fix staking tests
* wip
* note what changes need to be made to make this work on tm v0.23.0
* Fix addr -> pubkey map
* cleanup code
* Fix slashing test failures except for begin blocker
* fix all slashing tests
* fix lcd tests
* Address PR comments
* add link to changelog.
* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.
* Use the correct method of storing a map
* (squash this) address PR comments
* Did you run 'make'?
* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
Christopher Goes
4b7f6efd87
Merge PR #1805 : Downtime slashing off-by-one-block fix
...
* Avoid slashing & revoking no longer stored or already revoked validators for downtime
* Add testcase
* Update PENDING.md
2018-07-25 04:12:48 +02:00
Joon
bdccbeff9e
Merge PR #1265 : Global Paramstore
...
in progress
in progress
stake and slashing now params
fix gaia
fix gaia again
add msg type deactivation
delete local error
in progress
revert actual application in baseapp/gaia/stake
add test, fix apps
fix MinSignedPerWindow, pass lint
fix gaia
fix keeper_test
fit with multiple msgs
fix
apply requests
pass lint
really the last fix
fix dependency
fix keeper_test
fix lint
2018-07-14 02:12:23 +02:00
sunnya97
7ac220beb6
asdf
2018-07-09 00:59:51 -07:00
Sunny Aggarwal
50ed0fa1ae
asdf
2018-07-09 00:35:28 -07:00
Christopher Goes
3654579ea7
Merge PR #1278 : Slashing v2
...
Implement semifinal Gaia slashing spec (#1263 ), less #1348 , #1378 , and #1440 which are TBD.
2018-06-30 05:34:55 +02:00
Christopher Goes
59aadf42aa
Ledger integration ( #931 )
...
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Christopher Goes
ee17b7c9cc
Address PR comments: test descriptions & NewValidatorSigningInfo
2018-06-11 21:47:35 +02:00
Christopher Goes
f6a30afbf4
Improve testcase, add comment
2018-06-11 03:03:52 +02:00
Christopher Goes
3bea85abb3
Register slashing keeper, set startHeight, testcases
2018-06-11 02:55:54 +02:00
Christopher Goes
024eaf6ac0
Swap x/slashing to sdk.ValidatorSet
2018-06-02 00:27:37 +02:00
Christopher Goes
004e10ebcd
More comments on counter logic
2018-05-31 00:32:08 +02:00
Christopher Goes
65945c069c
Clarify counter logic
2018-05-29 02:48:29 +02:00
Christopher Goes
7fbecc6b72
Clarify default signing info
2018-05-29 02:36:31 +02:00
Christopher Goes
f4f8cc66d9
Add some explanatory comments
2018-05-29 00:10:52 +02:00
Christopher Goes
c0487996ab
Update slashing docs, slight index change
2018-05-28 23:46:08 +02:00