Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reLicense from GPLv3 to MIT #750

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0d427da
Isolate modGui and its build logic (including fetching JavaFX) so it can
aion-kelvin Dec 5, 2018
1cc0a0b
update license and contributors
aionjay Dec 10, 2018
594ac30
remove license header in the java classes
aionjay Dec 11, 2018
00332cb
update submodule license
aionjay Dec 11, 2018
2e9c152
add port number as CLI input option
beidouz Nov 29, 2018
4df66c5
add test: port number as CLI input
beidouz Nov 29, 2018
06ded6a
add cli port validation & update tests
beidouz Dec 3, 2018
0c759d7
cli port input must be int; initial config should not be modified
beidouz Dec 5, 2018
db2884f
update cli port option can be combined with --config; add tests
beidouz Dec 6, 2018
d5c9a83
print error message when port cannot be opened
beidouz Dec 6, 2018
7ffe6b2
add a cli test for port&Info input
beidouz Dec 6, 2018
12a9aa7
cli change minor reformat
beidouz Dec 11, 2018
3fff193
Merge pull request #736 from aionnetwork/cli-port-input
AlexandraRoatis Dec 12, 2018
bd1600a
temporarily disabled slack messaging due to errors
AlexandraRoatis Dec 14, 2018
431bd1a
Revert "temporarily disabled slack messaging due to errors"
AlexandraRoatis Dec 14, 2018
632147a
Merge pull request #744 from aionnetwork/separate-gui2
AionJayT Dec 17, 2018
f584835
Correction to version test
aionick Dec 12, 2018
9166c6b
fix apiserver and blockHeader toJson format bugs
aionjay Dec 10, 2018
3b2e096
update A0BlockHeaderTest
aionjay Dec 10, 2018
afa8804
added module for utility classes
AlexandraRoatis Dec 10, 2018
8cbb442
decoupling p2p modules from modAionBase
AlexandraRoatis Dec 10, 2018
86af712
decoupling rlp module from modAionBase
AlexandraRoatis Dec 10, 2018
85ae742
decoupling crypto module from modAionBase
AlexandraRoatis Dec 10, 2018
ef0de2c
deprecating classes moved to modUtil
AlexandraRoatis Dec 11, 2018
1c0b354
refactored package name as per review
AlexandraRoatis Dec 12, 2018
e6f028b
update license and contributors
aionjay Dec 10, 2018
4376b91
remove license header in the java classes
aionjay Dec 11, 2018
9ecd307
update submodule license
aionjay Dec 11, 2018
fa65060
Merge branch 'license' of https://github.com/aionnetwork/aion into li…
aionjay Dec 19, 2018
9a75ba2
update contributor list
aionjay Dec 19, 2018
6bdc276
remove accidently commited files
aionjay Dec 19, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "aion_fastvm"]
path = aion_fastvm
url = https://github.com/aionnetwork/aion_fastvm
branch = master
branch = relicense
[submodule "aion_api"]
path = aion_api
url = https://github.com/aionnetwork/aion_api
Expand Down
16 changes: 16 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Aion foundation
EthereumJ community:
Roman Mandeleil
Anton Nashatyrev
Nick Savers
Equihash solver:
John Tromp
BLAKE2 implementation:
Samuel Neves
Ethereum Harmony community
Zcash project community
Bitcoinj community
H2 Group
Centrys.
Santiago Gonzalez Toral
Timur Badretdinov
695 changes: 21 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion aion_fastvm
Submodule aion_fastvm updated 42 files
+1 −0 CONTRIBUTORS.md
+21 −674 LICENSE
+3 −3 modFastVM/build.gradle
+8 −6 modFastVM/build.xml
+0 −23 modFastVM/src/org/aion/fastvm/Callback.java
+0 −22 modFastVM/src/org/aion/fastvm/Decompiler.java
+0 −22 modFastVM/src/org/aion/fastvm/FastVM.java
+0 −22 modFastVM/src/org/aion/fastvm/Instruction.java
+0 −22 modFastVM/src/org/aion/solidity/Abi.java
+0 −22 modFastVM/src/org/aion/solidity/CompilationResult.java
+0 −22 modFastVM/src/org/aion/solidity/Compiler.java
+0 −22 modFastVM/src/org/aion/solidity/SolidityType.java
+0 −23 modFastVM/test/org/aion/ContractFactoryMock.java
+0 −22 modFastVM/test/org/aion/contract/ContractUtils.java
+0 −22 modFastVM/test/org/aion/fastvm/Benchmark.java
+0 −22 modFastVM/test/org/aion/fastvm/CacheTest.java
+0 −23 modFastVM/test/org/aion/fastvm/CallbackUnitTest.java
+0 −22 modFastVM/test/org/aion/fastvm/ContractTest.java
+0 −22 modFastVM/test/org/aion/fastvm/DoSBlockGasLimitTest.java
+0 −22 modFastVM/test/org/aion/fastvm/DoSUnexpectedThrowTest.java
+0 −22 modFastVM/test/org/aion/fastvm/FastVMTest.java
+0 −23 modFastVM/test/org/aion/fastvm/InternalTransactionTest.java
+0 −22 modFastVM/test/org/aion/fastvm/MultiThreadTest.java
+0 −22 modFastVM/test/org/aion/fastvm/NrgCostTest.java
+0 −22 modFastVM/test/org/aion/fastvm/TestUtils.java
+0 −23 modFastVM/test/org/aion/fastvm/TestVMProvider.java
+0 −22 modFastVM/test/org/aion/solidity/AbiTest.java
+0 −22 modFastVM/test/org/aion/solidity/CompilationResultTest.java
+0 −22 modFastVM/test/org/aion/solidity/CompilerTest.java
+0 −22 modFastVM/test/org/aion/solidity/SolidityTypeTest.java
+0 −22 modFastVM/test/org/aion/solidity/WalletTest.java
+0 −22 modFastVM/test/org/aion/vm/ContractIntegTest.java
+0 −22 modFastVM/test/org/aion/vm/DummyRepository.java
+0 −22 modFastVM/test/org/aion/vm/ExecutionContextUnitTest.java
+0 −23 modFastVM/test/org/aion/vm/ExecutionHelperUnitTest.java
+0 −22 modFastVM/test/org/aion/vm/ExecutionResultUnitTest.java
+0 −23 modFastVM/test/org/aion/vm/OldTxExecutorTest.java
+0 −22 modFastVM/test/org/aion/vm/OpcodeIntegTest.java
+0 −23 modFastVM/test/org/aion/vm/TransactionExecutorTest.java
+9 −27 modFastVM/test/org/aion/vm/TransactionExecutorUnitTest.java
+0 −22 modFastVM/test/org/aion/vm/types/DataWordTest.java
+0 −22 modFastVM/test/org/aion/vm/types/LogTest.java
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def javaHome = System.getProperty('java.home')
def vmVersion = "0.3.2"
def dirRuntimeJars = 'jars' // we'll store mod and lib stuff in here


allprojects {

apply plugin: 'java'
Expand Down Expand Up @@ -251,11 +252,14 @@ build {
task prePack(type:Exec) {
dependsOn ':aion_api:cleanPack'
dependsOn ':aion_api:build'
if (project.hasProperty('noGui')) {
environment "noGui", "true"

if(findProject(":modGui") != null && gradle.useGui) {
dependsOn ':modGui:setupAionRootProject';
environment "useGui", "true"
}
commandLine 'bash', 'script/prepack.sh'
}

task postPack(type:Exec) { commandLine 'sh', 'script/postpack.sh' }

/** Replaces `ant pack_build` */
Expand All @@ -277,9 +281,6 @@ task pack(type: Tar) {
into('/aion/') {
from dirWorkspace
include 'aion.sh'
if (!project.hasProperty('noGui')) {
include 'aion_gui.sh'
}
}
into('/aion/native') {
from dirNative
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ org.gradle.java.home=/usr/lib/jvm/jdk-11.0.1
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx6g -XX:MaxPermSize=4g -XX:ReservedCodeCacheSize=1024m
org.gradle.parallel=false

# Uncomment to include modGui in build
# modGuiPath=modGui
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/api/BlockConstants.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.api;

import java.math.BigInteger;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/db/AionContractDetailsImpl.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.db;

import static org.aion.base.util.ByteArrayWrapper.wrap;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/db/AionRepositoryCache.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.db;

import java.util.HashMap;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/exceptions/HeaderStructureException.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.exceptions;

/**
Expand Down
26 changes: 2 additions & 24 deletions modAion/src/org/aion/zero/types/A0BlockHeader.java
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.types;

import static org.aion.base.util.ByteUtil.longToBytes;
import static org.aion.base.util.ByteUtil.merge;
import static org.aion.base.util.ByteUtil.oneByteToHexString;
import static org.aion.base.util.ByteUtil.toHexString;
import static org.aion.crypto.HashUtil.EMPTY_TRIE_HASH;

Expand Down Expand Up @@ -69,7 +47,7 @@ public class A0BlockHeader extends AbstractBlockHeader implements IPowBlockHeade
// TODO: Update this
public JSONObject toJSON() {
JSONObject obj = new JSONObject();
obj.putOpt("version", toHexString(this.parentHash));
obj.putOpt("version", oneByteToHexString(this.version));
obj.putOpt("number", toHexString(longToBytes(this.number)));
obj.putOpt("parentHash", toHexString(this.parentHash));
obj.putOpt("coinBase", toHexString(this.coinbase.toBytes()));
Expand Down
35 changes: 0 additions & 35 deletions modAion/src/org/aion/zero/types/A0BlockHeaderVersion.java
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* The aion network project leverages useful source code from other
* open source projects. We greatly appreciate the effort that was
* invested in these projects and we thank the individual contributors
* for their work. For provenance information and contributors
* please see <https://github.com/aionnetwork/aion/wiki/Contributors>.
*
* Contributors to the aion source files in decreasing order of code volume:
* Aion foundation.
* <ether.camp> team through the ethereumJ library.
* Ether.Camp Inc. (US) team through Ethereum Harmony.
* John Tromp through the Equihash solver.
* Samuel Neves through the BLAKE2 implementation.
* Zcash project team.
* Bitcoinj team.
*/

package org.aion.zero.types;

import java.util.HashSet;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/types/AionInternalTx.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.types;

import static org.aion.base.util.ByteUtil.toHexString;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/types/AionPendingTx.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.types;

import java.math.BigInteger;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/types/AionTransaction.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.types;

import static org.aion.base.util.ByteUtil.ZERO_BYTE_ARRAY;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/types/AionTxExecSummary.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.types;

import static java.util.Collections.emptyList;
Expand Down
23 changes: 0 additions & 23 deletions modAion/src/org/aion/zero/types/AionTxReceipt.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
/*
* Copyright (c) 2017-2018 Aion foundation.
*
* This file is part of the aion network project.
*
* The aion network project is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or any later version.
*
* The aion network project is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with the aion network project source files.
* If not, see <https://www.gnu.org/licenses/>.
*
* Contributors:
* Aion foundation.
*/

package org.aion.zero.types;

import static org.aion.base.util.ByteUtil.EMPTY_BYTE_ARRAY;
Expand Down
Loading