Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify member access #2155

Merged
merged 1 commit into from Aug 23, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -19,7 +19,7 @@ namespace WalletWasabi.Backend.Controllers
/// To interact with the Bitcoin Blockchain.
/// </summary>
[Produces("application/json")]
[Route("api/v" + Helpers.Constants.BackendMajorVersion + "/btc/[controller]")]
[Route("api/v" + Constants.BackendMajorVersion + "/btc/[controller]")]
public class BlockchainController : Controller
{
private IMemoryCache Cache { get; }
@@ -28,7 +28,7 @@ public class UiConfig : ConfigBase

[JsonProperty(PropertyName = "WindowState")]
[JsonConverter(typeof(WindowStateAfterStartJsonConverter))]
public WindowState WindowState { get; internal set; } = Avalonia.Controls.WindowState.Maximized;
public WindowState WindowState { get; internal set; } = WindowState.Maximized;

[DefaultValue(530)]
[JsonProperty(PropertyName = "Height", DefaultValueHandling = DefaultValueHandling.Populate)]
@@ -26,11 +26,11 @@ public static bool ProcessFile(string exeFilePath)

switch (subsysVal)
{
case PeUtility.SubSystemType.ImageSubSystemWindowsGui:
case SubSystemType.ImageSubSystemWindowsGui:
Console.WriteLine($"{nameof(NSubsys)}: Executable file is already a Win32 App!");
return true;

case PeUtility.SubSystemType.ImageSubSystemWindowsCui:
case SubSystemType.ImageSubSystemWindowsCui:
Console.WriteLine($"{nameof(NSubsys)}: Console app detected...");
Console.WriteLine($"{nameof(NSubsys)}: Converting...");

@@ -130,7 +130,7 @@ public NodeBuilder(string root, string bitcoindPath)
public string BitcoinD { get; }
public List<CoreNode> Nodes { get; } = new List<CoreNode>();
public NodeConfigParameters ConfigParameters { get; } = new NodeConfigParameters();
public Network Network => NBitcoin.Network.RegTest;
public Network Network => Network.RegTest;

public async Task<CoreNode> CreateNodeAsync(bool start = false)
{
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.