Skip to content

BOSCore v3.0.9 Release Notes

Latest
Compare
Choose a tag to compare
@Thaipanda Thaipanda released this 15 Jun 15:04
02a237a

Change Description

Add account query db, link to EOSIO feature. resolve: #159

Consensus Changes

API Changes

$ curl http://127.0.0.1:8888/v1/chain/get_accounts_by_authorizers -d '{"keys":["EOS..."]}' 2>/dev/null | jq '[.accounts[].account_name] | unique'
$ curl http://127.0.0.1:8888/v1/chain/get_accounts_by_authorizers -d '{"accounts":["alice"]}' 2>/dev/null | jq '[.accounts[].account_name] | unique'

Documentation Additions

--enable-account-queries

default: false

Boolean that indicates whether the Account Query DB should be initialized at start-up and maintained for the life of this instance. if set to true then the RPC endpoint for /v1/chain/get_accounts_by_authorizers will be registered otherwise it will not be present and requests to that endpoint will return 404 errors.

Others

Docker image: boscore/bos:v3.0.9

For Ubuntu, SW/eden APT source can be used:

sudo apt-get install software-properties-common
curl https://apt.eossweden.org/key 2> /dev/null | sudo apt-key add -
sudo apt-add-repository -y 'deb [arch=amd64] https://apt.eossweden.org/bos `lsb_release -cs` stable' 
sudo apt-get update
sudo apt-get install bos-mv-309