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

Faster launch #266

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# This matrix builds VSYS with various JDKs and will be expanded to cover many more cases.

name: Build VSYS
on: [push,pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: install scala
run: |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install -y sbt
runs-on: ubuntu-latest
steps:
- name: install scala
run: |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install -y sbt

- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Build and Package
run: sbt packageAll



- name: Build and Package
run: sbt packageAll

- uses: actions/upload-artifact@v2
with:
name: jar
path: target/vsys-all-0.3.2.jar
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ localsettings.json
*.csv
*.dat

# standalone docker
Dockerfile

# logs
*.log

Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# V Systems [![Build Status](https://travis-ci.org/virtualeconomy/v-systems.svg?branch=master)](https://travis-ci.org/virtualeconomy/v-systems) [![Code Coverage](https://codecov.io/gh/virtualeconomy/v-systems/branch/master/graph/badge.svg?sanitize=true)](https://codecov.io/gh/virtualeconomy/v-systems/branch/master)
# V Systems [![Build Status](https://travis-ci.org/virtualeconomy/v-systems.svg?branch=master)](https://travis-ci.org/virtualeconomy/v-systems) [![Code Coverage](https://codecov.io/gh/virtualeconomy/v-systems/branch/master/graph/badge.svg?sanitize=true)](https://codecov.io/gh/virtualeconomy/v-systems/branch/master) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=faddat_v-systems&metric=alert_status)](https://sonarcloud.io/dashboard?id=faddat_v-systems)

[V Systems](https://v.systems) is a public blockchain that brings real-world businesses into the virtual economy.

Expand All @@ -8,9 +8,17 @@ The code in master branch is under development. The latest release for each netw

## Installation

[Mainnet](https://github.com/virtualeconomy/v-systems/wiki/How-to-install-V-Systems-mainnet-Node)
**Mainnet**
```bash
docker run faddat/vsys /usr/sbin/java -jar /v-systems/vsys-all-0.3.2.jar /v-systems/vsys-mainnet.conf
```

**Testnet**

```bash
docker run faddat/vsys /usr/sbin/java -jar /v-systems/vsys-all-0.3.2.jar /v-systems/vsys-testnet.conf
```

[Testnet](https://github.com/virtualeconomy/v-systems/wiki/How-to-Install-V-Systems-Testnet-Node)

## Documentation

Expand Down
18 changes: 14 additions & 4 deletions vsys-mainnet.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ vsys {

# P2P Network settings
network {
known-peers = ["13.55.174.115:9921","13.52.40.227:9921","13.113.98.91:9921","3.121.94.10:9921"]
# peers are now added in src/main/resources/application.conf. Feel free to uncomment this and add your own.
# known-peers = ["13.55.174.115:9921","13.52.40.227:9921","13.113.98.91:9921","3.121.94.10:9921"]

black-list-residence-time = 30s

Expand All @@ -23,7 +24,16 @@ vsys {
# Port number
port = 9921

# Node name to send during handshake. Comment this string out to set random node name.
# How many network inbound network connections can be made
max-inbound-connections = 120

# Number of outbound network connections
max-outbound-connections = 120

# Network buffer size
outbound-buffer-size = 128M

# Node name to send during handshake. Comment this string out to set random node name, but please do set your node's name, it makes the network look friendlier!
# node-name = "My MAINNET node"

# String with IP address and port to send as external address during handshake. Could be set automatically if uPnP is enabled.
Expand Down Expand Up @@ -60,13 +70,13 @@ vsys {
# Node's REST API settings
rest-api {
# Disable node's REST API
enable = no
enable = yes

# For security reasons, bind to local interface only
bind-address = "127.0.0.1"

# Port to listen to REST API requests
# port = 9922
port = 9922

# Hash of API key string
api-key-hash = "your own api key's hash"
Expand Down