mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 03:35:19 +00:00
remove unused id file
This commit is contained in:
35
node/id.go
35
node/id.go
@@ -1,35 +0,0 @@
|
||||
package node
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/tendermint/tendermint/crypto"
|
||||
)
|
||||
|
||||
type ID struct {
|
||||
Name string
|
||||
PubKey crypto.PubKey
|
||||
}
|
||||
|
||||
type PrivNodeID struct {
|
||||
ID
|
||||
PrivKey crypto.PrivKey
|
||||
}
|
||||
|
||||
type Greeting struct {
|
||||
ID
|
||||
Version string
|
||||
ChainID string
|
||||
Message string
|
||||
Time time.Time
|
||||
}
|
||||
|
||||
type SignedNodeGreeting struct {
|
||||
Greeting
|
||||
Signature []byte
|
||||
}
|
||||
|
||||
func (pnid *PrivNodeID) SignGreeting() *SignedNodeGreeting {
|
||||
// greeting := NodeGreeting{}
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user