Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
1553e2b
Latest updated codes for didRef, rubixCore, and platform along with t…
n1dhn Dec 8, 2021
5834c22
Updates InitiatorConsensus class
KiranHRubix Dec 9, 2021
2d53c12
Updated InitiatorProcedure class
KiranHRubix Dec 9, 2021
5710792
Crerated NFT module - added Buyer , seller class
KiranHRubix Dec 10, 2021
aa0676b
Updated APIHandler class
KiranHRubix Dec 10, 2021
4f5af24
Created FractionChooser class in Resources
KiranHRubix Dec 10, 2021
b56c1ce
Updates Functions and seller class
KiranHRubix Dec 10, 2021
525ee7a
Updated IPFSNetwor class
KiranHRubix Dec 10, 2021
3cbe29f
Updated Seller class in NFT module
KiranHRubix Dec 23, 2021
a8ebe52
Updated Buyer class in NFT module
KiranHRubix Dec 23, 2021
163c64c
Merge pull request #5 from rubixchain/ConsensusID-Patch
n1dhn Dec 23, 2021
f6c591b
+last transaction validated by quorum and credit mapping is shared wi…
n1dhn Dec 23, 2021
e2c0993
Merge pull request #7 from rubixchain/maintainer/n1dhn/1120-1/credit-…
n1dhn Dec 23, 2021
7a55099
Check if the sender is available for transcation
gklps Dec 23, 2021
3bc3822
Merge branch 'master' into NFT-Patch
n1dhn Dec 23, 2021
68badef
Merge pull request #6 from rubixchain/NFT-Patch
n1dhn Dec 23, 2021
e97e364
Merge pull request #8 from rubixchain/maintainer/gklps/2112-3/TokenSe…
n1dhn Dec 23, 2021
7e40408
removed ekey and dkey in seller class
KiranHRubix Dec 28, 2021
340ed09
updated Buyer class
KiranHRubix Dec 28, 2021
61c78d7
Merge pull request #10 from rubixchain/NFT-Patch
n1dhn Dec 28, 2021
930e6f1
updated code
n1dhn Feb 16, 2022
8a08fe9
fixed response error codes
n1dhn Feb 22, 2022
73a347d
Merge branch 'master' into sanity-check
gklps Feb 25, 2022
cfc9c36
Merge pull request #13 from rubixchain/sanity-check
gklps Feb 25, 2022
d0bbee6
Branch to fix sanity port check issue in windows
gklps Feb 28, 2022
73f8278
.
gklps Feb 28, 2022
ccbcdb3
rm token pin check
n1dhn Mar 4, 2022
0984f2d
rm pin check 2/2
n1dhn Mar 4, 2022
89d9525
update rec checks
n1dhn Mar 9, 2022
c6469f7
Revert "update rec checks"
gklps Mar 11, 2022
43b3153
removed old NFT code
KiranHRubix Mar 11, 2022
1f5311c
added exception handling
KiranHRubix Mar 11, 2022
6b9d6d1
check os update
KiranHRubix Mar 11, 2022
17b110b
removed old NFT
KiranHRubix Mar 11, 2022
ebeac72
added exception handling
KiranHRubix Mar 11, 2022
5d66f4b
Logical updates to fetch Win64 Sanity
gklps Mar 11, 2022
26729a8
Adding genesis information after mining and token ownership check at the
Mar 18, 2022
52f762a
Collect credits of quorum nodes
Mar 20, 2022
0fc004d
Listening thread to send credits on request
Mar 20, 2022
bff13d8
API to arrange quorum list according to credits
Mar 20, 2022
822b930
Functions supporting pinging the quorum nodes to collect credits
Mar 20, 2022
35266ed
If type 2 - Arrange quorumlist in order after checking credits
Mar 20, 2022
c1ac46f
Removed unused variable
Mar 20, 2022
ef60ab4
Genesis information, Checking credits for type2, Ownership audit
Mar 20, 2022
e4a4eb4
Merge branch 'master' into sanity-check
n1dhn Mar 21, 2022
ca58888
Merge pull request #15 from rubixchain/sanity-check
n1dhn Mar 21, 2022
a2b3db9
Sanity Check update for Windows
gklps Mar 22, 2022
e24fa1e
Logic update for Windows Machines
gklps Mar 23, 2022
e7f2ad2
Verifying Token Authenticity and Genuinity
Mar 23, 2022
db14e3a
Merge pull request #17 from rubixchain/token-authenticity
gklps Mar 25, 2022
8e42478
Data Commit
gklps Apr 15, 2022
657353f
Inclusion of DataJar
gklps May 4, 2022
36a7cd7
Latest datajar
gklps May 12, 2022
7931900
DataToken list cleanup
gklps May 26, 2022
529d1a3
Updated DatumJAR
gklps Jul 15, 2022
4321ad0
DataJar merged with Eismeer
gklps Jul 18, 2022
04c3539
Updated mining
gklps Jul 19, 2022
07fb1ca
Data commit under 40sec
gklps Aug 16, 2022
337c58a
data token creation and IPFS pinning
gklps Aug 18, 2022
6f5fc7d
Inclusion of new pledging logic
gklps Oct 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .idea/artifacts/java_rubix_core_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions .idea/libraries/IPFS.xml

This file was deleted.

11 changes: 11 additions & 0 deletions .idea/libraries/did_6_3.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/libraries/rubix_9_9.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions java-rubix-core.iml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="IPFS" level="project" />
<orderEntry type="library" exported="" name="java-cid-v1.1.0" level="project" />
<orderEntry type="library" name="rubix-9.9" level="project" />
<orderEntry type="library" name="did-6.3" level="project" />
</component>
</module>
Binary file modified out/artifacts/java_rubix_core_jar/java-rubix-core.jar
Binary file not shown.
Binary file modified out/production/RubiX/com/rubix/AuthenticateNode/Authenticate.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified out/production/RubiX/com/rubix/Consensus/QuorumConsensus.class
Binary file not shown.
Binary file not shown.
Binary file modified out/production/RubiX/com/rubix/Constants/IPFSConstants.class
Binary file not shown.
Binary file modified out/production/RubiX/com/rubix/Resources/Functions.class
Binary file not shown.
Binary file modified out/production/RubiX/com/rubix/Resources/IPFSNetwork.class
Binary file not shown.
Binary file modified out/production/RubiX/com/rubix/SplitandStore/Recombine.class
Binary file not shown.
Binary file not shown.
Binary file modified out/production/RubiX/com/rubix/SplitandStore/Split.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
43 changes: 43 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.rubix.core</groupId>
<artifactId>rubixDataJar</artifactId>
<version>d0.3.01</version>
<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.did.core</groupId>
<artifactId>did</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.did.core</groupId>
<artifactId>did</artifactId>
<version>8.7</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
28 changes: 1 addition & 27 deletions src/com/rubix/AuthenticateNode/Authenticate.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,38 +42,12 @@ public class Authenticate {

public static boolean verifySignature(String detailString) throws IOException, JSONException {
PropertyConfigurator.configure(LOGGER_PATH + "log4jWallet.properties");

verifyCount++;
IPFS ipfs = new IPFS("/ip4/127.0.0.1/tcp/" + IPFS_PORT);
JSONObject details = new JSONObject(detailString);
String decentralizedID = details.getString("did");
String hash = details.getString("hash");

String quorumSign;
String tokenSign;
String TIDSign;
JSONObject signs = new JSONObject();

if (details.optJSONObject(quorumSign) != null) {

JSONObject signatureObject = details.getJSONObject("signatures");
quorumSign = signatureObject.getString("QuorumSign");
tokenSign = signatureObject.getString("TokenSign");
TIDSign = signatureObject.getString("TIDSign");

signs.put(tokenSign, false);
signs.put(quorumSign, false);
signs.put(TIDSign, false);

} else {
// make all three params in JSONObject signs as true
signs.put(quorumSign, false);
signs.put(tokenSign, true);
signs.put(TIDSign, true);

quorumSign = details.getString("signature");
}

String signature = details.getString("signature");
syncDataTable(decentralizedID, null);
String walletIdIpfsHash = getValues(DATA_PATH + "DataTable.json", "walletHash", "didHash", decentralizedID);
nodeData(decentralizedID, walletIdIpfsHash, ipfs);
Expand Down
Loading