Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Add a node setting to control use of checkpoints. #701

Merged
merged 3 commits into from
Nov 5, 2017

Conversation

mikedennis
Copy link
Contributor

Should address issue #476

{
if (network.Equals(Network.Main)) this.checkpoints = bitcoinMainnetCheckpoints;
if (settings != null && !settings.UseCheckpoints) this.checkpoints = new Dictionary<int, CheckpointInfo>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you want to make me happy, pls use parentheses like this if ((settings != null) && !settings.UseCheckpoints) - i.e. use them even if not needed, so that one does not need to know the operator priority

Copy link
Contributor

@Aprogiena Aprogiena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good now

@Aprogiena Aprogiena merged commit 58a610d into stratisproject:master Nov 5, 2017
fassadlr pushed a commit to fassadlr/StratisBitcoinFullNode that referenced this pull request Nov 20, 2017
* Add a node setting to control use of checkpoints. stratisproject#476

* Address some code review issues.

* Fix build issue.
rowandh pushed a commit to rowandh/StratisBitcoinFullNode that referenced this pull request May 14, 2018
- Renames GetFileDllHelper to SmartContractCompiler
- Add SmartContractCompilationResult
- Cleans up and unifies list of allowed assemblies in a Smart Contract
- Update tests

Related work items: stratisproject#701
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants