Skip to content

Commit

Permalink
Decrease AddressIndexer compaction threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
fassadlr committed Jun 6, 2022
1 parent fe20a77 commit 17a3dae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/LaunchSidechainMasternode.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,11 @@ $API = $mainChainAPIPort
Write-Host (Get-TimeStamp) "Starting Mainchain Masternode" -ForegroundColor Cyan
if ( $NodeType -eq "50K" )
{
$StartNode = Start-Process dotnet -ArgumentList "run -c Release -- -mainchain -addressindex=1 -apiport=$mainChainAPIPort -counterchainapiport=$sideChainAPIPort -redeemscript=""$redeemscript"" -publickey=$multiSigPublicKey -federationips=$federationIPs" -PassThru
$StartNode = Start-Process dotnet -ArgumentList "run -c Release -- -mainchain -addressindex=1 -compactionthreshold=150 -apiport=$mainChainAPIPort -counterchainapiport=$sideChainAPIPort -redeemscript=""$redeemscript"" -publickey=$multiSigPublicKey -federationips=$federationIPs" -PassThru
}
Else
{
$StartNode = Start-Process dotnet -ArgumentList "run -c Release -- -mainchain -addressindex=1 -apiport=$mainChainAPIPort" -PassThru
$StartNode = Start-Process dotnet -ArgumentList "run -c Release -- -mainchain -addressindex=1 -compactionthreshold=150 -apiport=$mainChainAPIPort" -PassThru
}

#Wait for API
Expand Down

0 comments on commit 17a3dae

Please sign in to comment.