github.com/pokt-network/tendermint@v0.32.11-0.20230426215212-59310158d3e9/node/id.go (about) 1 package node 2 3 import ( 4 "time" 5 6 "github.com/tendermint/tendermint/crypto" 7 ) 8 9 type ID struct { 10 Name string 11 PubKey crypto.PubKey 12 } 13 14 type PrivNodeID struct { 15 ID 16 PrivKey crypto.PrivKey 17 } 18 19 type Greeting struct { 20 ID 21 Version string 22 ChainID string 23 Message string 24 Time time.Time 25 } 26 27 type SignedNodeGreeting struct { 28 Greeting 29 Signature []byte 30 } 31 32 func (pnid *PrivNodeID) SignGreeting() *SignedNodeGreeting { 33 //greeting := NodeGreeting{} 34 return nil 35 }