This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
consolidate util.go and pubkey.go to validator.go
pull/1780/head
Ethan Buchman
6 years ago
parent
3d4f3bbbdd
commit
fac6bcd19e
2 changed files
with
15 additions
and
16 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-16
types/pubkey.go
+15
-0
types/validator.go
+ 0
- 16
types/pubkey.go
View File
@ -1,16 +0,0 @@
package
types
const
(
PubKeyEd25519
=
"ed25519"
)
func
Ed25519Validator
(
pubkey
[
]
byte
,
power
int64
)
Validator
{
return
Validator
{
// Address:
PubKey
:
PubKey
{
Type
:
PubKeyEd25519
,
Data
:
pubkey
,
}
,
Power
:
power
,
}
}
types/util.go → types/validator.go
View File
Write
Preview
Loading…
Cancel
Save