Allow multiple changes of owner authority per hour
In order to implement the Account Setup Procedure (described in SLIP-0048 for Ledger Nano S/X), we need to broadcast two transactions one by one.
The procedure to onboard an account involves two transactions and works as follows:
- The user requests an unused public key from the master (seed) node according to the specifications
- The obtained public key is added to the existing account's owner role (full-weight)
- This key is used for an account_update operation in order to replace the existing roles for sole access to the account by keys following this specification.
The advantages of this procedure are:
- This algorithm proves that it has the correct private key to obtain owner roles since this key is required to sign the account_update operation.
- Optionally, alternative keys to specific operations (e.g. posting roles on Steem) can be added that do not follow the above specification, to allow for multi-signature schemes
- Wallets following this specification can be used solely as coldstorage for the owner key while the active key could be held outside the wallet
Current implementation prevents accounts from changing owner authority more than once per hour. We should consider removing this limit or changing it to allow more transactions one by one.
RPCError: _db.head_block_time() - account_auth.last_owner_update > HIVE_OWNER_UPDATE_LIMIT: Owner authority can only be updated once an hour.