Ejemplo n.º 1
0
 public async Task SetGenerateAsyncTest()
 {
     // Act - Set coin generation on the local network
     // ! True => Coin (native currency) generation should be occurring
     // ! False => Coin (native currency) generation should not be occurring
     await Generate.SetGenerateAsync(Generate.CliOptions.ChainName, true, 4);
 }
        public async Task SetGenerateAsyncTest()
        {
            // Stage - Set max number of processors used for mining and coin generation
            var maxProcessors = 4;

            // Act - Set coin generation on the local network
            // ! True => Coin (native currency) generation should be occurring
            // ! False => Coin (native currency) generation should not be occurring
            await Generate.SetGenerateAsync(true, maxProcessors);
        }