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

Release/v2.0.x (#46) #5

Merged
merged 1 commit into from
Mar 19, 2019
Merged
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
17 changes: 17 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ steps:
- "os=high-sierra"
artifact_paths:
- "build/packages/*.tar.gz"
- "build/packages/*.rb"
timeout: 60

- command: |
Expand All @@ -412,6 +413,7 @@ steps:
- "os=mojave"
artifact_paths:
- "build/packages/*.tar.gz"
- "build/packages/*.rb"
timeout: 60

- command: |
Expand Down Expand Up @@ -507,3 +509,18 @@ steps:
OS: "el7"
PKGTYPE: "rpm"
timeout: 60

- wait

- command: |
echo "--- :arrow_down: Downloading brew files" && \
buildkite-agent artifact download "build/packages/eosio.rb" . --step ":darwin: High Sierra Package Builder" && \
mv build/packages/eosio.rb build/packages/eosio_highsierra.rb && \
buildkite-agent artifact download "build/packages/eosio.rb" . --step ":darwin: Mojave Package Builder"
label: ":darwin: Brew Updater"
agents:
queue: "automation-large-builder-fleet"
artifact_paths:
- "build/packages/eosio_highsierra.rb"
- "build/packages/eosio.rb"
timeout: 60
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
url = https://github.com/EOSIO/fc
[submodule "libraries/wabt"]
path = libraries/wabt
url = http://github.com/EOSIO/wabt
url = https://github.com/EOSIO/wabt
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
if (UNIX)
if (APPLE)
if (LLVM_DIR STREQUAL "" OR NOT LLVM_DIR)
set(LLVM_DIR "/usr/local/Cellar/llvm@4/4.0.1/lib/cmake/llvm")
set(LLVM_DIR "/usr/local/opt/llvm@4/lib/cmake/llvm/")
endif()
endif()
endif()
Expand All @@ -35,7 +35,7 @@ set( CXX_STANDARD_REQUIRED ON)

set(VERSION_MAJOR 2)
set(VERSION_MINOR 0)
set(VERSION_PATCH 1)
set(VERSION_PATCH 2)

if(VERSION_SUFFIX)
set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${VERSION_SUFFIX}")
Expand Down
6 changes: 3 additions & 3 deletions Docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ cd bos/Docker
docker build . -t boscore/bos -s BOS
```

The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the v2.0.1 tag, you could do the following:
The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the v2.0.2 tag, you could do the following:

```bash
docker build -t boscore/bos:v2.0.1 --build-arg branch=v2.0.1 .
docker build -t boscore/bos:v2.0.2 --build-arg branch=v2.0.2 .

```

Expand Down Expand Up @@ -198,4 +198,4 @@ The `blocks` data are stored under `--data-dir` by default, and the wallet files

### About MongoDB Plugin

Currently, the mongodb plugin is disabled in `config.ini` by default, you have to change it manually in `config.ini` or you can mount a `config.ini` file to `/opt/eosio/bin/data-dir/config.ini` in the docker-compose file.
Currently, the mongodb plugin is disabled in `config.ini` by default, you have to change it manually in `config.ini` or you can mount a `config.ini` file to `/opt/eosio/bin/data-dir/config.ini` in the docker-compose file.
3 changes: 0 additions & 3 deletions Docker/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ network-version-match = 0
# number of blocks to retrieve in a chunk from any individual peer during synchronization (eosio::net_plugin)
sync-fetch-span = 100

# maximum sizes of transaction or block messages that are sent without first sending a notice (eosio::net_plugin)
max-implicit-request = 1500

# Enable block production, even if the chain is stale. (eosio::producer_plugin)
enable-stale-production = false

Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BOSCore - Born for DApps. Born for Usability.

## BOSCore Version: v2.0.1
### Basic EOSIO Version: v1.5.3-patched
## BOSCore Version: v2.0.2
### Basic EOSIO Version: v1.6.2

# Background
The emergence of EOS has brought new imagination to the blockchain. In just a few months since the main network was launched, the version has undergone dozens of upgrades, not only the stability has been greatly improved, but also the new functions have been gradually realized. The node team is also actively involved in building the EOSIO ecosystem. What is even more exciting is that EOS has attracted more and more development teams. There are already hundreds of DApp running on the EOS main network. The transaction volume and circulation market value far exceed Ethereum, and the space for development is growing broader.
Expand Down Expand Up @@ -29,11 +29,19 @@ As BOS continues to develop, developer rewards will be appropriately adjusted to
1. Build from code : `bash ./eosio_build.sh -s BOS`
2. Docker Style,check [Docker](./Docker/README.md)

## BOSCore Workflow
BOSCore encourage community developer actively participate in contributing the code, members should follow the workflow below.
![BOSCore Workflow](./images/bos-workflow.png)

Attention:
1. Only allow Feature Branch or bug fix to submit PR to Develop Branch.
2. Rebase is required before submitting PR to Develop Branch.
3. Treat update of eosio/eos code as new feature.
4. Emergent issues must repaired by adopting hotfixes mode.

BOSCore bases on EOSIO, so you can also referer:

[Getting Started](https://developers.eos.io/eosio-nodeos/docs/overview-1)

[EOSIO Developer Portal](https://developers.eos.io).


14 changes: 12 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BOSCore - 更可用的链,为DApp而生。

## BOSCore Version: v2.0.1
### Basic EOSIO Version: v1.5.3-patched
## BOSCore Version: v2.0.2
### Basic EOSIO Version: v1.6.2

# 背景
EOS的出现给区块链带来了新的想象力,主网启动短短几个月以来,版本经历了几十次升级,不仅稳定性得到了很大提高,并且新功能也逐步实现,各个节点团队也积极参与建设EOSIO生态。让人更加兴奋的是,EOS已经吸引了越来越多的开发团队,当前已经有数百个DApp在EOS主网上面运行,其交易量和流通市值远超以太坊,可发展的空间愈来愈广阔。
Expand Down Expand Up @@ -29,6 +29,16 @@ BOS链的代码完全由社区贡献并维护,每个生态参与者都可以
1. 源码直接编译: `bash ./eosio_build.sh -s BOS`
2. Docker方式部署,参看 [Docker](./Docker/README.md)

## BOSCore 开发流程
BOSCore 鼓励社区开发者参与代码贡献,社区成员应当遵循以下工作流:
![BOSCore Workflow](./images/bos-workflow.png)

注意:
1. 只有待发布的 Feature Branch 或者Bug修复才应该向 Develop Branch 提交
2. 向 Develop Branch 提交 PR 之前需要现在本地执行 rebase 操作
3. EOSIO 主网版本作为一个 Feature Branch 来对待
4. 紧急问题修复采用 hotfixes 模式

BOSCore是基于EOSIO技术的扩展,所以EOSIO的相关资料也可以参考:

[EOSIO 开始](https://developers.eos.io/eosio-nodeos/docs/overview-1)
Expand Down
2 changes: 1 addition & 1 deletion contracts/asserter/asserter.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/

#include <asserter/asserter.hpp> /// defines assert_def struct (abi)
Expand Down
2 changes: 1 addition & 1 deletion contracts/asserter/asserter.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/

#include <eosiolib/eosio.hpp>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosio.system/delegate_bandwidth.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#include "eosio.system.hpp"

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosio.system/eosio.system.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosio.system/native.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosio.system/voting.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#include "eosio.system.hpp"

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosio.token/eosio.token.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/

#include "eosio.token.hpp"
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosio.token/eosio.token.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/action.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/system.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/action.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/action.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/chain.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/compiler_builtins.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/core_symbol.hpp.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*
* \warning This file is machine generated. DO NOT EDIT. See core_symbol.hpp.in for changes.
*/
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/crypto.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/types.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/datastream.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file datastream.hpp
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/system.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/db.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file db.h
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
* @brief Defines C API for interfacing with blockchain database
*/
#pragma once
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/eosio.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/types.hpp>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/fixed_key.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/memory.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/memory.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/multi_index.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/permission.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/types.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/permission.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/print.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/print.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/print.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/system.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/types.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/transaction.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/types.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/transaction.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/transaction.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/types.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once
#include <eosiolib/types.h>
Expand Down
2 changes: 1 addition & 1 deletion contracts/eosiolib/varint.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file
* @copyright defined in eos/LICENSE.txt
* @copyright defined in eos/LICENSE
*/
#pragma once

Expand Down
Loading