public WhitelistedContractTests() { this.network = new SmartContractsPoAWhitelistRegTest(); this.builder = SmartContractNodeBuilder.Create(this); this.nodeFactory = (nodeIndex) => this.builder.CreateWhitelistedContractPoANode(this.network, nodeIndex).Start(); }
public void Mainnet_RequireStandard_False() { var network = new FakeSmartContractMain(); Assert.False(network.IsTest()); using (SmartContractNodeBuilder builder = SmartContractNodeBuilder.Create(this)) { var node = builder.CreateSmartContractPoANode(network, 0); node.Start(); TestBase.WaitLoop(() => node.State == CoreNodeState.Running); Assert.False(node.FullNode.NodeService <MempoolSettings>().RequireStandard); } }