Revision 55d723870882512d1a0ba9709129ce3227446e2e authored by Dev Ojha on 16 January 2019, 21:03:19 UTC, committed by Ethan Buchman on 16 January 2019, 21:03:19 UTC
* Add comment to simple_merkle get_split_point

* fix grammar error
1 parent 4a037f9
Raw File
id.go
package node

import (
	"time"

	"github.com/tendermint/tendermint/crypto"
)

type NodeID struct {
	Name   string
	PubKey crypto.PubKey
}

type PrivNodeID struct {
	NodeID
	PrivKey crypto.PrivKey
}

type NodeGreeting struct {
	NodeID
	Version string
	ChainID string
	Message string
	Time    time.Time
}

type SignedNodeGreeting struct {
	NodeGreeting
	Signature []byte
}

func (pnid *PrivNodeID) SignGreeting() *SignedNodeGreeting {
	//greeting := NodeGreeting{}
	return nil
}
back to top