private AElfConsensusHeaderInformation GetConsensusExtraDataForTinyBlock(Round currentRound, string pubkey, AElfConsensusTriggerInformation triggerInformation) { currentRound.RealTimeMinersInformation[pubkey].ProducedTinyBlocks = currentRound .RealTimeMinersInformation[pubkey].ProducedTinyBlocks.Add(1); currentRound.RealTimeMinersInformation[pubkey].ProducedBlocks = currentRound.RealTimeMinersInformation[pubkey].ProducedBlocks.Add(1); currentRound.RealTimeMinersInformation[pubkey].ActualMiningTimes .Add(Context.CurrentBlockTime); return(new AElfConsensusHeaderInformation { SenderPubkey = pubkey.ToByteString(), Round = currentRound.GetTinyBlockRound(pubkey), Behaviour = triggerInformation.Behaviour }); }