You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copyright 2018 Center for Secure Energy Informatics - Salzburg University of Applied Sciences
2
+
3
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
+
11
+
4. When any part of the source code is used, the paper specified in paper.bib or paper.txt has to be cited.
12
+
13
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This is an implementation of a private permissioned blockchain in Java.
5
+
6
+
Dependencies
7
+
---
8
+
ResselChain depends on the following software:
9
+
- Java8
10
+
- Sqlite Jdbc 3.19.3
11
+
- Xom 1.2.10
12
+
13
+
How to run
14
+
---
15
+
16
+
1. Download the necessary dependencies and store them in ./lib.
17
+
2. Invoke the *init*, *unjar_dependencies*, *jars*, *compile* Ant Build targets in this order.
18
+
3. To implement your own consensus algorithm and state storage, see file *./src/statetable/AssetStateTable.java*.
19
+
4. Place the configuration for all nodes in ./conf (see nodeExample.xml and all.xml). You may use *GenerateKeyPair.java* in ./src/main to generate key pairs.
20
+
5. Run *RC.jar* from the build directory. (`java -jar RC.jar conf/nodeExample.xml conf/all.xml`)
21
+
22
+
a) Use *UtilityTxSender.jar* to determine a default distribution of assets.
23
+
24
+
b) Use *TxSender.jar* to send assets to other participants.
25
+
26
+
c) Use *Status.jar* to observe the status of a node.
27
+
28
+
d) Use *Amount.jar* to see the distribution of assets.
29
+
30
+
e) Optionally use *BlockList.jar* and *XMLSender.jar* for debugging.
31
+
32
+
33
+
Licence
34
+
---
35
+
This code is licensed under a modified 3-Clause BSD License. See LICENSE file for details.
0 commit comments