-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from aionnetwork/dev
Last week updates
- Loading branch information
Showing
77 changed files
with
2,205 additions
and
1,550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="modRlp/src"/> | ||
<classpathentry kind="src" path="modCrypto/src_native"/> | ||
<classpathentry kind="src" path="modTxPoolImpl/src"/> | ||
<classpathentry kind="src" path="modCrypto/src"/> | ||
<classpathentry kind="src" path="modP2p/src"/> | ||
<classpathentry kind="src" path="modLogger/src"/> | ||
<classpathentry kind="src" path="modBoot/src"/> | ||
<classpathentry kind="src" path="modP2pImpl/src"/> | ||
<classpathentry kind="src" path="modEvtMgrImpl/src"/> | ||
<classpathentry kind="src" path="modMcf/src"/> | ||
<classpathentry kind="src" path="modEvtMgr/src"/> | ||
<classpathentry kind="src" path="modAionImpl/src"/> | ||
<classpathentry kind="src" path="modDbImpl/src"/> | ||
<classpathentry kind="src" path="modAion/src"/> | ||
<classpathentry kind="src" path="modAionBase/src"/> | ||
<classpathentry kind="src" path="modApiServer/src"/> | ||
<classpathentry kind="src" path="modTxPool/src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> | ||
<attributes> | ||
<attribute name="module" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/aion-lib"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/test-lib"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,6 @@ native/linux/blake2b/libblake2b.so | |
|
||
# ci | ||
*/report | ||
|
||
.ant-targets-build.xml | ||
modTxPoolImpl/native/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "aion_fastvm"] | ||
path = aion_fastvm | ||
url = https://github.com/aionnetwork/aion_fastvm | ||
[submodule "aion_api"] | ||
path = aion_api | ||
url = https://github.com/aionnetwork/aion_api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>aion0</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,116 +8,31 @@ The [Aion White Papers](https://aion.network/whitepapers.html) provides more det | |
|
||
This repository contains the main kernel implementation and releases for the Aion network. | ||
|
||
## System Requirements | ||
### System Requirements | ||
|
||
* **Ubuntu 16.04** or a later version | ||
|
||
## Build the Aion network | ||
### Documentation | ||
|
||
Please see the details in this wiki page [Build your Aion network](https://github.com/aionnetwork/aion/wiki/Build-your-Aion-network). | ||
Please refer to the details in the [Build Your Aion Network](https://github.com/aionnetwork/aion/wiki/Build-your-Aion-network) wiki to determine how to start setting up and building your Aion Network. | ||
|
||
## Aion Installation | ||
Please refer to the [Installation](https://github.com/aionnetwork/aion/wiki/Installation) wiki for the guide on installing the kernel prior to configuration and launching the kernel. | ||
|
||
1. Download the latest Aion kernel release from the [releases page](https://github.com/aionnetwork/aion/releases). | ||
Please refer to [Aion Network Configuration](https://github.com/aionnetwork/aion/wiki/Aion-Network-Configuration) wiki to set up your desired network configuration for the kernel as well as how to launch the kernel. | ||
|
||
2. Unarchive the downloaded file by right clicking on it and selecting `Extract Here` from the drop-down menu. | ||
The `aion` folder will be generated in the current folder. | ||
|
||
Alternatively, to extract the file contents, run in a terminal: | ||
|
||
``` | ||
tar xvjf aion-{@version}.tar.bz2 | ||
``` | ||
The [Owner's Manual](https://github.com/aionnetwork/aion/wiki/Aion-Owner's-Manual) wiki will include further instructions and details on working with the kernel. | ||
|
||
3. Navigate to the `aion` folder and continue by configuring the network: | ||
|
||
``` | ||
cd aion | ||
``` | ||
Please refer to the [wiki pages](https://github.com/aionnetwork/aion/wiki) for further documentation on mining, using the Web3 API, command line options, etc. | ||
|
||
## Aion Network Configuration | ||
|
||
<!--In a terminal, run the command below to generate a default configuration: `./aion.sh -c`--> | ||
|
||
To receive tokens for mining blocks, you first need to create an account using: | ||
|
||
``` | ||
./aion.sh -a create | ||
``` | ||
|
||
The [mining wiki](https://github.com/aionnetwork/aion/wiki/Internal-Miner) illustrates how to set this account to be able to receive tokens for mining. | ||
|
||
Now you are ready to start the kernel. | ||
|
||
**Optional:** | ||
|
||
Your kernel will have access to the seed nodes by default. Do not remove these nodes from the configuration. To include additional peers (e.g. friends that are also connected to the network) or get added by peers, update the `config.xml` by adding nodes using the **permanent peer id** (generated as shown below), IP and port of the computers you wish to connect to: | ||
|
||
``` | ||
<net> | ||
<p2p> | ||
<ip>0.0.0.0</ip> | ||
<port>30303</port> | ||
</p2p> | ||
<nodes> | ||
<node>p2p://PEER_ID@IP:PORT</node> | ||
</nodes> | ||
</net> | ||
``` | ||
|
||
**Note:** To allow peers to connect to you, you must also change your configuration IP from **127.0.0.1** to a public IP on your machine. If you are unsure about having a public IP, set it to **0.0.0.0**. | ||
|
||
To get a permanent peer id create a new configuration: | ||
|
||
``` | ||
./aion.sh -c | ||
``` | ||
|
||
This newly made configuration will not have access to seed nodes by default. In order to connect to seed nodes, you will need to edit the `config.xml` file by adding nodes as listed from [here](https://github.com/aionnetwork/aion/wiki/Aion-Seed-nodes): | ||
|
||
``` | ||
<nodes> | ||
<node>p2p://[email protected]:30303</node> | ||
<node>p2p://[email protected]:30303</node> | ||
<node>p2p://[email protected]:30303</node> | ||
<node>p2p://[email protected]:30303</node> | ||
<node>p2p://[email protected]:30303</node> | ||
</nodes> | ||
``` | ||
|
||
You are welcome to add other seed nodes (not solely restricted to what is shown above). | ||
|
||
## Launch Kernel | ||
|
||
In a terminal, from the aion directory, run: | ||
|
||
``` | ||
./aion.sh | ||
``` | ||
|
||
When the kernel starts up, you should see it trying to sync with the latest block. | ||
|
||
**Optional:** To check which peers you are connected to, open another terminal and run the command below: | ||
|
||
``` | ||
netstat -antp | grep java | ||
``` | ||
|
||
Please check the [owner's manual wiki](https://github.com/aionnetwork/aion/wiki/Aion-Owner's-Manual) for further instructions on working with the kernel. | ||
|
||
## Documentation | ||
|
||
Please check the [wiki pages](https://github.com/aionnetwork/aion/wiki) for further documentation on mining, using the Web3 API, command line options, etc. | ||
|
||
## Contact | ||
### Contact | ||
|
||
[Aion Forum](https://forum.aion.network/) | ||
|
||
[Aion Gitter](https://gitter.im/aionnetwork) | ||
|
||
[Aion Reddit](https://www.reddit.com/r/AionNetwork/) | ||
|
||
## License | ||
### License | ||
|
||
Aion is released under the [LGPL-V3 license](https://github.com/aionnetwork/aion/blob/dev/LICENSE) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule aion_fastvm
updated
58 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<eclipse-userlibraries version="2"> | ||
<library name="aion-lib" systemlibrary="false"> | ||
<archive path="/aion0/lib/commons-codec-1.10.jar"/> | ||
<archive path="/aion0/lib/commons-collections4-4.0.jar" source="/home/jin/dev/lib/commons-collections4-4.1-src.zip"/> | ||
<archive path="/aion0/lib/commons-lang3-3.4.jar"/> | ||
<archive path="/aion0/lib/guava-19.0.jar"/> | ||
<archive path="/aion0/lib/h2-mvstore-1.4.196.jar"/> | ||
<archive path="/aion0/lib/jctools-core-1.2.1.jar"/> | ||
<archive path="/aion0/lib/leveldb-api-0.9.jar"/> | ||
<archive path="/aion0/lib/leveldbjni-all-1.18.3.jar"/> | ||
<archive path="/aion0/lib/libnmapdb.jar"/> | ||
<archive path="/aion0/lib/libnsc.jar"/> | ||
<archive path="/aion0/lib/netlib-java-0.9.3.jar"/> | ||
<archive path="/aion0/lib/libnzmq.jar"/> | ||
<archive path="/aion0/lib/protobuf-java-3.5.0.jar"/> | ||
<archive path="/aion0/lib/libJson.jar"/> | ||
<archive path="/aion0/lib/logback-classic-1.2.3.jar"/> | ||
<archive path="/aion0/lib/logback-core-1.2.3.jar"/> | ||
<archive path="/aion0/lib/slf4j-api-1.7.25.jar"/> | ||
<archive path="/aion0/lib/libminiupnp/miniupnpc_linux.jar"/> | ||
</library> | ||
</eclipse-userlibraries> |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.