MCPcopy Create free account
hub / github.com/tendermint/tendermint / PrivValidator

Method PrivValidator

node/node.go:1073–1075  ·  view source on GitHub ↗

PrivValidator returns the Node's PrivValidator. XXX: for convenience only!

()

Source from the content-addressed store, hash-verified

1071// PrivValidator returns the Node's PrivValidator.
1072// XXX: for convenience only!
1073func (n *nodeImpl) PrivValidator() types.PrivValidator {
1074 return n.privValidator
1075}
1076
1077// GenesisDoc returns the Node's GenesisDoc.
1078func (n *nodeImpl) GenesisDoc() *types.GenesisDoc {

Callers 2

TestNodeSetPrivValTCPFunction · 0.80
TestNodeSetPrivValIPCFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestNodeSetPrivValTCPFunction · 0.64
TestNodeSetPrivValIPCFunction · 0.64