You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BitShares Core software has been updated to the 6.1.0 Feature Release. The codename of the 6.x releases is "Mekong". The Core software is used to build the validation nodes that perform consensus of all transactions on the BitShares blockchain, and a command-line wallet tool to interact with nodes. This release includes improvements but does not include any changes to the consensus protocol.
A blockchain replay will automatically be performed after the validation node software is restarted. This typically takes a few hours on a modern CPU.
This release contains breaking changes about the elasticsearch plugin and the es_objects plugin. For nodes with one of those 2 plugins enabled, please check the Node Plugins section before upgrade.
Due to the changes in PR 2648 and PR 2642, nodes with the account_history plugin enabled will have increased memory usage and higher spikes by default. It is a trade-off for better serving certain APIs. Node operators can set the min-blocks-to-keep and the max-ops-per-acc-by-min-blocks startup options to different values to achieve different behaviors.
Docker users please refer to the following section for breaking changes regarding Docker.
How to Upgrade with Docker
The pre-built Docker image can be found on the BitShares Core Docker page and can be downloaded with the following command.
docker pull bitshares/bitshares-core:6.1
or
docker pull bitshares/bitshares-core:6.1.0
Note:
Starting from this release, when we add a new image to Docker Hub with a major.minor.patch version tag, we also add or update the corresponding major.minor version tag. Therefore, users using the major.minor version tag will always get the latest patch for that version.
Starting from this release, the bitsharesentry.sh file is set to the default ENTRYPOINT but no longer to the default CMD, which may affect your deployment.
By default, the Docker container will run with the bitshares user with UID 10000 and GID 10001 (instead of root), and all existing files in the data directory will be updated to be owned by bitshares:bitshares (from root) on startup.
How to Upgrade from Source Code
Note:
The code base requires a compiler that supports the C++ 14 standard
The minimum supported boost version is 1.58, the maximum is 1.74
The minimum supported CMake version is 3.2
For Ubuntu users, it is recommended to build in Ubuntu 20.04 LTS (Focal Fossa). Ubuntu 16.04 LTS (Xenial Xerus) may still work, but it is no longer tested.
Obtain the Source Code
The source code may be obtained by checking out the 6.1.0 tag. Download the source at:
Your standard process for deploying the node software and the command-line wallet software may be used. No additional requirements or precautions will be required to deploy the new release.
Binaries for download
Binaries of the node software and the command-line wallet software are pre-built and available for download.
Note:
These binary builds are reproducible and were built using Gitian. Please check the README of Gitian if you want to verify and/or contribute.
Starting from version 6.0.0, pre-built Linux binaries will not run on Ubuntu 16.04 LTS (Xenial).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The BitShares Core software has been updated to the 6.1.0 Feature Release. The codename of the
6.x
releases is "Mekong". The Core software is used to build the validation nodes that perform consensus of all transactions on the BitShares blockchain, and a command-line wallet tool to interact with nodes. This release includes improvements but does not include any changes to the consensus protocol.Documentation for users may be be found at How BitShares Works.
Documentation for BitShares developers may be found at the BitShares Developer Portal.
It is recommended that all nodes and all command-line wallets be upgraded, although it is not required.
All nodes will benefit from the P2P network security improvements.
API nodes will benefit from the new APIs.
Docker image users will benefit from security updates and reduced Docker image size.
Command-line wallet users will benefit from command-line wallet improvements.
ElasticSearch nodes will benefit from new data, new program options and bug fixes.
Account history plugin users will benefit from new program options.
Precautions
elasticsearch
plugin and thees_objects
plugin. For nodes with one of those 2 plugins enabled, please check the Node Plugins section before upgrade.account_history
plugin enabled will have increased memory usage and higher spikes by default. It is a trade-off for better serving certain APIs. Node operators can set themin-blocks-to-keep
and themax-ops-per-acc-by-min-blocks
startup options to different values to achieve different behaviors.How to Upgrade with Docker
The pre-built Docker image can be found on the BitShares Core Docker page and can be downloaded with the following command.
or
Note:
major.minor.patch
version tag, we also add or update the correspondingmajor.minor
version tag. Therefore, users using themajor.minor
version tag will always get the latest patch for that version.bitsharesentry.sh
file is set to the defaultENTRYPOINT
but no longer to the defaultCMD
, which may affect your deployment.bitshares
user with UID10000
and GID10001
(instead ofroot
), and all existing files in the data directory will be updated to be owned bybitshares:bitshares
(fromroot
) on startup.Note:
Obtain the Source Code
The source code may be obtained by checking out the 6.1.0 tag. Download the source at:
Build the Binaries
The binaries may be built by using your pre-existing process, or by following the standard instructions that can be found in the wiki:
Deploy the Binaries
Your standard process for deploying the node software and the command-line wallet software may be used. No additional requirements or precautions will be required to deploy the new release.
Binaries of the node software and the command-line wallet software are pre-built and available for download.
Note:
6.0.0
, pre-built Linux binaries will not run on Ubuntu 16.04 LTS (Xenial).36e24b86b5493981b6774cc7f58194a3f0f31eea6b1b40aeda4f989b5bd324e1
7796e05314c78e155e67081f8157cfb476901af7cf038bf96465792c1cc6a83f
4e9d7387dc29846bdcb5715adfd43f67817ef317439b2029a5e42c1305a59893
The changes for 6.1.0 Feature Release are summarized below.
static_variant
static_cast<size_t>(tag) < count()
es_objects
plugin, update program options (with breaking changes)block_time
andis_virtual
fields tooperation_history_object
api_helper_indexes
plugin to supportdatabase_api::get_next_object_id
APIes-objects-max-mapping-depth
to 10Please check the linked pull requests for more info and documentation.
history_api::get_block_operation_history
APIapi-limit-get-market-history
andapi-limit-get-full-accounts-subscribe
node startup optionsdatabase_api::get_margin_positions
API to only return the first page (usedatabase_api::get_call_orders_by_account
API to get more data)login_api::get_info
API to return data defined by a newapi-node-info
node startup optionlogin_api::get_config
API to return configured API limitslogin_api::get_available_api_sets
APIlogin_api::logout
APIlogin_api
block_time
andis_virtual
fields tooperation_history_object
history_api::get_account_history_by_time
APIhistory_api::get_block_operations_by_time
APIdatabase_api::get_next_object_id
APIcustom_operations_api::get_storage_info
API with pagination and optional parameter support, addapi-limit-get-storage-info
node startup optionget_order_book
API to return limit order owners and other infoget_block_header
andget_block_header_batch
APIs to optionally return witness signaturestransaction_handle_type
to 32 bits and handle overflowSoftware Design
connection_rejected_message
member orderobject_id
andobject_id_type
Build Process and Continuous Integration (CI)
build-docker
workflowcurl
v7.77
or higher in mac.travis
and related filesGITHUB_REF_NAME
variable provided by Githubsonar-scan
workflow with Ubuntu 20.04 instead ofubuntu-latest
Documentation
@abitmore (https://github.com/abitmore)
@ioBanker (https://github.com/ioBanker)
@jmjatlanta (https://github.com/jmjatlanta)
@oxarbitrage (https://github.com/oxarbitrage)
This discussion was created from the release BitShares Mekong 6.1.0.
Beta Was this translation helpful? Give feedback.
All reactions