Skip to content

Commit 1c1551b

Browse files
committed
Merge branch 'master' into devel
Conflicts: release-notes.md scorex-basics/src/main/scala/scorex/wallet/Wallet.scala scorex-transaction/src/main/scala/scorex/transaction/state/database/blockchain/StoredBlockchain.scala scorex-transaction/src/test/scala/scorex/transaction/GenesisTransactionSpecification.scala version.sbt
2 parents bbe9714 + 9008674 commit 1c1551b

File tree

6 files changed

+25
-17
lines changed

6 files changed

+25
-17
lines changed

docs/articles/private-chains.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,21 @@ stated now: **One size doesn't fit all.**. I saw many trends in data storage and
8181
tool to work with. When we are talking about such a specific data storage as blockchain some questions
8282
should be answered in prior. Here is example list:
8383

84-
* How many participants will be in a network? Are they equal? Are all of them are allowed
85-
to change a global state(so to generate blocks)?
84+
* How many participants will be in a network? Are they equal? Are all of them are allowed
85+
to change a global state(so to generate blocks)?
8686

87-
* What load is planned? E.g. how many transactions per hour or day.
87+
* What load is planned? E.g. how many transactions per hour or day.
8888

89-
* Data model for global state(ledger) should be considered. Please note blockchain
90-
is replicated data structure, and there is no known work on how to shard it yet.
89+
* Data model for global state(ledger) should be considered. Please note blockchain
90+
is replicated data structure, and there is no known work on how to shard it yet.
9191

92-
* Could be state designed in a way to allow some form of pruning?
92+
* Could be state designed in a way to allow some form of pruning?
9393

94-
* Transaction model should be considered. How many bytes an average transaction is about?
94+
* Transaction model should be considered. How many bytes an average transaction is about?
9595

96-
* What are security requirements regarding consensus? What could be tolerated?
96+
* What are security requirements regarding consensus? What could be tolerated?
9797

98-
* What are privacy requirements? Should be all the data is visible for all?
98+
* What are privacy requirements? Should be all the data is visible for all?
9999

100100

101101
Conclusion
@@ -111,4 +111,4 @@ Appendix 1. The Scorex Project
111111
------------------------------
112112

113113
I am the author of the [Scorex project, minimalistic blockchain engine for research purposes](https://github.com/ScorexProject). I think Scorex would be useful for experiments with
114-
private blockchains.
114+
private blockchains.

release-notes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<<<<<<< HEAD
12
**1.2.8**
23
---------
34

@@ -12,12 +13,18 @@
1213
* Limits for /blocks/address/{address} API call added
1314
* Height added for /transactions/info/{signature} and /blocks/seq/{from}/{to} API methods
1415

16+
=======
17+
>>>>>>> master
1518
**1.2.7**
1619
---------
1720

1821
* Unify bytes/json serialization/deserialization
22+
<<<<<<< HEAD
1923
* Blockchain and State databased were merged
2024
* Bugfixes
25+
=======
26+
* Blockchain and State database updates made atomic
27+
>>>>>>> master
2128
2229
**1.2.6**
2330
---------

scorex-basics/src/main/scala/scorex/api/http/swagger/SwaggerDocService.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SwaggerDocService(system: ActorSystem, val apiTypes: Seq[Type], settings:
2020
override val apiDocsPath: String = "swagger"
2121

2222
override val info: Info = Info("The Web Interface to the Scorex API",
23-
"1.2.6",
23+
"1.2.7",
2424
"Scorex API",
2525
"License: Creative Commons CC0",
2626
Some(Contact("Alex", "https://scorex-dev.groups.io/g/main", "alex.chepurnoy@iohk.io")),

scorex-transaction/src/main/scala/scorex/transaction/state/database/blockchain/StoredBlockchain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import scala.collection.concurrent.TrieMap
1616
import scala.util.{Failure, Success, Try}
1717

1818
/**
19-
* If no datafolder provided, blockchain lives in RAM (useful for tests)
20-
*/
19+
* If no datafolder provided, blockchain lives in RAM (useful for tests)
20+
*/
2121
class StoredBlockchain(db: MVStore)
2222
(implicit consensusModule: ConsensusModule[_],
2323
transactionModule: TransactionModule[_])

scorex-transaction/src/test/scala/scorex/transaction/GenesisTransactionSpecification.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ class GenesisTransactionSpecification extends PropSpec with PropertyChecks with
2121
}
2222

2323
property("GenesisTransaction parse from Bytes should work fine") {
24+
val bytes = Base58.decode("y9KVfkMyuvik3koq45snK6vP27L12VdmuNSCVBvqPMsESvpDiUjT5dyb").get
25+
26+
val actualTransaction = GenesisTransaction.parseBytes(bytes.tail).get
27+
2428
val balance = 149857264546L
2529
val timestamp = 4598723454L
2630
val expectedTransaction = new GenesisTransaction(defaultRecipient, balance, timestamp)
2731

28-
val bytes = Base58.decode("5GoidY2PcCc7ENdrcapZcmmdq2H57NuiXEdgVkpfnnzkB4o8R575WVR1Xw").get
29-
val actualTransaction = GenesisTransaction.parseBytes(bytes).get
30-
3132
actualTransaction should equal(expectedTransaction)
3233
}
3334

src/test/resources/application.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
app {
22
product = "Scorex"
33
release = "Lagonaki"
4-
version = "1.2.6"
4+
version = "1.2.7"
55
consensusAlgo = "nxt"
66
}

0 commit comments

Comments
 (0)