-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1619 from ergoplatform/v4.0.24
Candidate for 4.0.24
- Loading branch information
Showing
45 changed files
with
512 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,18 @@ jobs: | |
context: . | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
|
||
- name: Docker Metadata action for sigma-rust integration test node | ||
uses: docker/[email protected] | ||
id: meta | ||
with: | ||
images: ergoplatform/ergo-integration-test | ||
|
||
- name: Build and push Docker images for integration-test node | ||
uses: docker/[email protected] | ||
with: | ||
context: "{{defaultContext}}:sigma-rust-integration-test" | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM ergoplatform/ergo:latest | ||
COPY ergo.conf /etc/myergo.conf | ||
ENTRYPOINT ["java", "-jar", "/home/ergo/ergo.jar", "--devnet", "-c", "/etc/myergo.conf"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
ergo { | ||
# Settings for node view holder regime. See papers.yellow.ModifiersProcessing.md | ||
node { | ||
# State type. Possible options are: | ||
# "utxo" - keep full utxo set, that allows to validate arbitrary block and generate ADProofs | ||
# "digest" - keep state root hash only and validate transactions via ADProofs | ||
stateType = "utxo" | ||
|
||
# Download block transactions and verify them (requires BlocksToKeep == 0 if disabled) | ||
verifyTransactions = true | ||
|
||
# Number of last blocks to keep with transactions and ADproofs, for all other blocks only header will be stored. | ||
# Keep all blocks from genesis if negative | ||
blocksToKeep = -1 | ||
|
||
# Download PoPoW proof on node bootstrap | ||
PoPoWBootstrap = false | ||
|
||
# Minimal suffix size for PoPoW proof (may be pre-defined constant or settings parameter) | ||
minimalSuffix = 10 | ||
|
||
# Is the node is doing mining | ||
mining = true | ||
|
||
# Use external miner, native miner is used if set to `false` | ||
useExternalMiner = false | ||
|
||
# If true, a node generate blocks being offline. The only really useful case for it probably is to start a new | ||
# blockchain | ||
offlineGeneration = true | ||
|
||
# internal miner's interval of polling for a candidate | ||
internalMinerPollingInterval = 5s | ||
|
||
mempoolCapacity = 10000 | ||
} | ||
|
||
chain { | ||
# Difficulty network start with | ||
initialDifficultyHex = "01" | ||
|
||
powScheme { | ||
powType = "autolykos" | ||
k = 32 | ||
n = 26 | ||
} | ||
|
||
} | ||
|
||
wallet { | ||
|
||
secretStorage { | ||
|
||
secretDir = ${ergo.directory}"/wallet/keystore" | ||
|
||
encryption { | ||
|
||
# Pseudo-random function with output of length `dkLen` (PBKDF2 param) | ||
prf = "HmacSHA256" | ||
|
||
# Number of PBKDF2 iterations (PBKDF2 param) | ||
c = 128000 | ||
|
||
# Desired bit-length of the derived key (PBKDF2 param) | ||
dkLen = 256 | ||
} | ||
|
||
} | ||
|
||
# Generating seed length in bits | ||
# Options: 128, 160, 192, 224, 256 | ||
seedStrengthBits = 160 | ||
|
||
# Language to be used in mnemonic seed | ||
# Options: "chinese_simplified", "chinese_traditional", "english", "french", "italian", "japanese", "korean", "spanish" | ||
mnemonicPhraseLanguage = "english" | ||
|
||
defaultTransactionFee = 10000 | ||
|
||
# Save used boxes (may consume additinal disk space) or delete them immediately | ||
keepSpentBoxes = false | ||
|
||
# Mnemonic seed used in wallet for tests | ||
testMnemonic = "ozone drill grab fiber curtain grace pudding thank cruise elder eight picnic" | ||
|
||
# Number of keys to be generated for tests | ||
testKeysQty = 5 | ||
} | ||
} | ||
|
||
scorex { | ||
network { | ||
maxPacketSize = 2048576 | ||
maxInvObjects = 400 | ||
bindAddress = "0.0.0.0:9001" | ||
knownPeers = [] | ||
agentName = "ergo-integration-test" | ||
} | ||
restApi { | ||
bindAddress = "0.0.0.0:9053" | ||
# Hash of "hello", taken from mainnet config | ||
apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf" | ||
} | ||
} |
Oops, something went wrong.