public static async Task <BlockCommit> Apply(ProtocolHandler proto, RawBlock rawBlock) { var commit = new BlockCommit(proto); await commit.Init(rawBlock); await commit.Apply(); return(commit); }