Revision f3090774655174a5a4f415683f987477fdbf6ca0 authored by Sean Braithwaite on 09 December 2019, 06:35:51 UTC, committed by Anton Kaliaev on 09 December 2019, 06:35:51 UTC
* First pass at updating the contribution guidelines

* Update CONTRIBUTING.md

Co-Authored-By: Tess Rinearson <tess.rinearson@gmail.com>

* Update CONTRIBUTING.md

Co-Authored-By: Tess Rinearson <tess.rinearson@gmail.com>

* Update CONTRIBUTING.md

Co-Authored-By: Tess Rinearson <tess.rinearson@gmail.com>

* Update CONTRIBUTING.md

Co-Authored-By: Tess Rinearson <tess.rinearson@gmail.com>

* Align text flow with diagram

* tweaks based on feedback

* add text for existing issue

* tweaks
1 parent d1ada18
Raw File
pubkey.go
package types

const (
	PubKeyEd25519 = "ed25519"
)

func Ed25519ValidatorUpdate(pubkey []byte, power int64) ValidatorUpdate {
	return ValidatorUpdate{
		// Address:
		PubKey: PubKey{
			Type: PubKeyEd25519,
			Data: pubkey,
		},
		Power: power,
	}
}
back to top