Author Topic: API changes for 0.7 [xpost from github]  (Read 1405 times)

0 Members and 1 Guest are viewing this topic.

Offline wackou

Please vote for witness wackou! More info at http://digitalgaia.io

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
https://github.com/BitShares/web_wallet/issues/637

Quote
Accounts, contacts, and approvals are now 3 completely different types of records in the wallet backend. Previously they were all considered "accounts".

Modified:

    wallet_account_create - just doesnt accept extra private data on creation
    wallet_transfer -- now accepts contacts, public keys, addresses as the recipient in addition to account names
    some of the fields in any wallet_account_record were removed:
        is_my_account
        approved
        is_favorite

Removed:

    wallet_get_name
    wallet_account_set_favorite
    wallet_account_set_approval
    wallet_add_contact_account
    wallet_transfer_to_legacy_address
    wallet_transfer_to_address
    wallet_transfer_to_public_account
    wallet_transfer_from
    wallet_account_update_private_data
    wallet_list_favorite_accounts
    wallet_list_unregistered_accounts
    wallet_list_my_accounts
    wallet_get_account_public_address
    wallet_remove_contact_account
    wallet_check_vote_status

Added:

    wallet_list_contacts
    wallet_get_contact
    wallet_add_contact
    wallet_remove_contact
    wallet_list_approvals
    wallet_get_approval
    wallet_approve
    wallet_set_custom_data

Quote
Removed:

    wallet_asset_create
    wallet_asset_update
    wallet_asset_issue
    wallet_asset_issue_to_addresses
    wallet_asset_authorize_key

Added:

    wallet_mia_create
    wallet_uia_create
    wallet_uia_issue
    wallet_uia_issue_to_addresses
    wallet_uia_collect_fees
    wallet_uia_update_description
    wallet_uia_update_supply
    wallet_uia_update_fees
    wallet_uia_update_active_flags
    wallet_uia_update_authority_permissions
    wallet_uia_update_whitelist