Esempio n. 1
0
        public static async Task <StateCommit> Apply(ProtocolHandler proto, Block block, RawBlock rawBlock)
        {
            var commit = new StateCommit(proto);
            await commit.Init(block, rawBlock);

            await commit.Apply();

            return(commit);
        }