Skip to content

DCore update 1.4.0

Compare
Choose a tag to compare
@decent-dcore decent-dcore released this 02 Jul 05:22
· 295 commits to master since this release

This is a mandatory DCore release planned to be applied on Jul 11, 2019, 08:00 GMT. It brings several new features and enhancements, including

[NEW] DCore and API

  • Crypto API - added wif_to_public_key to convert wallet format key to public key
  • Database API - added about which returns node's technical information
  • Database API - added get_configuration which returns compile-time constants
  • Database API - added get_blocks and get_block_headers to instantly retrieve a list of blocks/headers
  • Database API - new Non Fungible Tokens group containing functions to query information about registered tokens
    • get_non_fungible_token_count - get the total number of non fungible tokens registered on the blockchain
    • get_non_fungible_tokens - get a list of non fungible tokens by ID
    • get_non_fungible_tokens_by_symbols - get a list of non fungible tokens by symbol
    • list_non_fungible_tokens - get a list of non fungible tokens alphabetically by symbol name
    • get_non_fungible_token_data_count - get the total number of non fungible token data objects issued on the blockchain
    • get_non_fungible_token_data - get a list of non fungible token data by ID
    • list_non_fungible_token_data - get non fungible token data by registered token ID
    • get_non_fungible_token_balances - get account balances in various non fungible tokens
    • search_non_fungible_token_history - get non fungible token data transfer history
  • Wallet API - new Non Fungible Tokens group containing functions to create, update, issue, transfer and query information about registered tokens
    • create_non_fungible_token - create a new non fungible token definition
    • update_non_fungible_token - update the non fungible token definition
    • issue_non_fungible_token - issue new instance of a non fungible token
    • transfer_non_fungible_token_data - transfer ownership of token
    • burn_non_fungible_token_data - burn (destroy) the token
    • update_non_fungible_token_data - update data of token
    • list_non_fungible_tokens - list all non fungible tokens registered on the blockchain
    • get_non_fungible_token - get information about the given non fungible token
    • list_non_fungible_token_data - get non fungible token instances by registered token symbol
    • get_non_fungible_token_balances - get account balances in various non fungible tokens
    • search_non_fungible_token_history - get non fungible token data transfer history
  • Daemon - added new operations for Non Fungible Tokens
    • 41 - create new non fungible token definition
    • 42 - update the existing non fungible token definition
    • 43 - issue new non fungible token instance
    • 44 - transfer ownership of non fungible token instance
    • 45 - update data of non fungible token instance
  • Daemon - the former virtual operation IDs are shifted by 5 due the new non fungible token operations
  • Monitoring API - added transactions_received and transactions_queued_to_broadcast counters
  • Windows service - daemon has got --install-win-service and --remove-win-service command line arguments to register/unregister itself as Windows service

[NEW] CLI wallet

  • Added --packages-path command line argument to specify the directory for storing submitted packages

[IMPROVED] DCore and API

  • Daemon - allowed to change the expiration date for CDN content
  • Daemon - added seeder plugin arguments to config.ini file
  • Daemon - added message severity indicator to file and console log
  • Database API - added block and transaction ids, signing key and miner reward to get_block result
  • History API - search_account_balance_history returns also transaction ID and timestamp
  • Wallet API - search_account_balance_history and get_account_balance_for_transaction returns also transaction ID and timestamp
  • Wallet API - adjusted hardcoded limit (from 10 to 10 000) for co-authors in submit_content and submit_content_async
  • Wallet API - added transaction id to result of all methods returning signed transaction

[DEPRECATED] DCore and API

  • Daemon - avoid private-key configuration option in favor of miner-private-key
  • Crypto API - use wif_to_public_key instead of get_public_key
  • Database API - use get_configuration instead of get_config
  • Database API - use list_seeders_by_price instead of list_publishers_by_price
  • Wallet API - use transfer instead of transfer2

[FIXED] DCore and API

  • Daemon - fixed rewriting of log file on restart
  • Daemon - fixed creation of db_version file during initial synchronization
  • Daemon - fixed free space calculation on seeder startup
  • Daemon - fixed resource leak on content submit
  • Daemon - fixed hangup on websocket RPC shut down
  • Daemon - fixed region price update in submit content
  • History API - fixed start offset misbehaviour in search_account_balance_history
  • History API - get_account_history failed when stop argument is zero
  • Wallet API - submit_content_async failed to upload package to seeder node
  • Wallet API - get_message_objects, get_messages and get_sent_messages failed to search messages
  • Messaging API - get_message_objects failed to search messages

[FIXED] CLI wallet

  • default server address stored in wallet file was ignored
  • fixed background handling of submit content async task

Note for Linux binaries: follow the instructions to install DCore on supported platforms (Ubuntu, Debian, Fedora and CentOS)

Note for Mac binaries: follow the instructions to install DCore on MacOS High Sierra and Mojave

Note for Windows binaries: follow the instructions to install DCore on Windows