Method
constructProposalFetchMsg
(blkNum uint32, proposer uint32)
Source from the content-addressed store, hash-verified
| 393 | } |
| 394 | |
| 395 | func (self *Server) constructProposalFetchMsg(blkNum uint32, proposer uint32) *proposalFetchMsg { |
| 396 | return &proposalFetchMsg{ |
| 397 | ProposerID: proposer, |
| 398 | BlockNum: blkNum, |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | func (self *Server) constructBlockSubmitMsg(blkNum uint32, stateRoot common.Uint256) (*blockSubmitMsg, error) { |
| 403 | submitSig, err := signature.Sign(self.account, stateRoot[:]) |
Tested by
no test coverage detected