Skip to content

Commit ace055a

Browse files
committed
Merge branch 'master' into more-props
2 parents bb36767 + f392845 commit ace055a

File tree

82 files changed

+928
-1000
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+928
-1000
lines changed

build.sbt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name := "scorex-core"
44
lazy val commonSettings = Seq(
55
scalaVersion := "2.12.3",
66
organization := "org.scorexfoundation",
7-
version := "2.0.0-RC3-SNAPSHOT",
7+
version := "2.0.0-RC4-SNAPSHOT",
88
licenses := Seq("CC0" -> url("https://creativecommons.org/publicdomain/zero/1.0/legalcode")),
99
homepage := Some(url("https://github.com/ScorexFoundation/Scorex")),
1010
pomExtra := (
@@ -18,12 +18,16 @@ lazy val commonSettings = Seq(
1818
<name>Alexander Chepurnoy</name>
1919
<url>http://chepurnoy.org/</url>
2020
</developer>
21-
</developers>)
21+
</developers>),
22+
git.useGitDescribe := true,
23+
git.uncommittedSignifier := Some("SNAPSHOT")
2224
)
2325

26+
enablePlugins(GitVersioning)
27+
2428
scalaVersion := "2.12.3"
2529
organization := "org.scorexfoundation"
26-
version := "2.0.0-RC3-SNAPSHOT"
30+
version := "2.0.0-RC4-SNAPSHOT"
2731

2832
resolvers += "Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"
2933

@@ -58,6 +62,7 @@ val testingDependencies = Seq(
5862
)
5963

6064
libraryDependencies ++= Seq(
65+
"com.iheart" %% "ficus" % "1.4.1",
6166
"org.scorexfoundation" %% "scrypto" % "2.+"
6267
) ++ networkDependencies ++ apiDependencies ++ loggingDependencies ++ testingDependencies
6368

@@ -148,4 +153,4 @@ pomExtra in ThisBuild :=
148153
<name>catena</name>
149154
<url>https://github.com/catena2w</url>
150155
</developer>
151-
</developers>
156+
</developers>

examples/src/main/resources/application.conf

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
app {
2+
modifierIdSize = 32
3+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
scorex {
2+
dataDir = /tmp/scorex/data/blockchain
3+
logDir = /tmp/scorex/data/log
4+
5+
restApi {
6+
bindAddress = "127.0.0.1"
7+
port = 9085
8+
api-key-hash = ""
9+
}
10+
11+
network {
12+
nodeName = "node1"
13+
bindAddress = "127.0.0.1"
14+
port = 9084
15+
nodeNonce = 1
16+
knownPeers = ["127.0.0.2:9088"]
17+
agentName = "2-Hop"
18+
}
19+
20+
miner {
21+
offlineGeneration = true
22+
targetBlockDelay = 100s
23+
blockGenerationDelay = 100ms
24+
rParamX10 = 8
25+
initialDifficulty = 1
26+
posAttachmentSize = 100
27+
}
28+
29+
wallet {
30+
seed = "genesisoo"
31+
password = "cookies"
32+
walletDir = "/tmp/scorex/data/wallet"
33+
}
34+
}

examples/src/main/resources/settings.json

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
scorex {
2+
dataDir = /tmp/scorex/data10/blockchain
3+
logDir = /tmp/scorex/data10/log
4+
5+
api {
6+
bindAddress = "127.0.0.10"
7+
port = 9495
8+
api-key-hash = ""
9+
}
10+
11+
network {
12+
nodeName = "node10"
13+
bindAddress = "127.0.0.10"
14+
port = 9494
15+
nodeNonce = 10
16+
knownPeers = ["127.0.0.1:9084","127.0.0.9:9303"]
17+
agentName = "2-Hop"
18+
addedMaxDelay = 2s
19+
}
20+
21+
miner {
22+
offlineGeneration = false
23+
targetBlockDelay = 100s
24+
blockGenerationDelay = 100ms
25+
rParamX10 = 8
26+
initialDifficulty = 1
27+
posAttachmentSize = 100
28+
}
29+
30+
wallet {
31+
seed = "genesisoo9"
32+
password = "cookies10"
33+
walletDir = "/tmp/scorex/data10/wallet"
34+
}
35+
}

examples/src/main/resources/settings10.json

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
scorex {
2+
dataDir = /tmp/scorex/data2/blockchain
3+
logDir = /tmp/scorex/data2/log
4+
5+
api {
6+
bindAddress = "127.0.0.2"
7+
port = 9089
8+
api-key-hash = ""
9+
}
10+
11+
network {
12+
nodeName = "node2"
13+
bindAddress = "127.0.0.2"
14+
port = 9088
15+
nodeNonce = 2
16+
knownPeers = ["127.0.0.1:9084"]
17+
agentName = "2-Hop"
18+
}
19+
20+
miner {
21+
offlineGeneration = false
22+
targetBlockDelay = 100s
23+
blockGenerationDelay = 100ms
24+
rParamX10 = 8
25+
initialDifficulty = 1
26+
posAttachmentSize = 100
27+
}
28+
29+
wallet {
30+
seed = "genesisoo1"
31+
password = "cookies2"
32+
walletDir = "/tmp/scorex/data2/wallet"
33+
}
34+
}

examples/src/main/resources/settings2.json

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
scorex {
2+
dataDir = /tmp/scorex/data3/blockchain
3+
logDir = /tmp/scorex/data3/log
4+
5+
api {
6+
bindAddress = "127.0.0.3"
7+
port = 9093
8+
api-key-hash = ""
9+
}
10+
11+
network {
12+
nodeName = "node3"
13+
bindAddress = "127.0.0.3"
14+
port = 9092
15+
nodeNonce = 3
16+
knownPeers = ["127.0.0.1:9088"]
17+
agentName = "2-Hop"
18+
}
19+
20+
miner {
21+
offlineGeneration = false
22+
targetBlockDelay = 100s
23+
blockGenerationDelay = 100ms
24+
rParamX10 = 8
25+
initialDifficulty = 1
26+
posAttachmentSize = 100
27+
}
28+
29+
wallet {
30+
seed = "genesisoo2"
31+
password = "cookies3"
32+
walletDir = "/tmp/scorex/data3/wallet"
33+
}
34+
}

0 commit comments

Comments
 (0)