steem icon indicating copy to clipboard operation
steem copied to clipboard

[suggestion] Increase STEEM_MAX_AUTHORITY_MEMBERSHIP

Open economicstudio opened this issue 5 years ago • 1 comments

Today I found a very interesting error message from a user who's trying to use my service @scotauto (Steem Scot claim automation service).

Due to the nature of the service, a user need to authorize its posting right to @scotauto, but the user got the following error message: "size <= STEEM_MAX_AUTHORITY_MEMBERSHIP: Authority membership exceeded. Max: 40 Current: 41"

The error message who will get if you've already authorized your posting rights to 40 apps, but trying to authorize it to an additional app.

While I'm not a huge fan of authorizing posting rights to a dapps (personally I strictly avoid it whenever it's possible), we should not limit it unnecessarily either. It's basically a user's choice.

In addition, authorization can be used for multisig operation.

Thus, I suggest increasing it enough so that accounts can use more dapps.

https://github.com/steemit/steem/blob/d37c264147b7d751b7d815db0952b378533bb54c/libraries/protocol/include/steem/protocol/config.hpp#L271

The limit is defined here, so you can simply increase this by changing that number.

Benefits

  • More possibility for more dapps
  • More possibility for multisig operations

economicstudio avatar Jul 27 '19 14:07 economicstudio

It is not as simple as increasing the limit. There are aspects to this limit that are handled in stateless code. I think it could be increased, but it needs to be done carefully. Adding this to the backlog as a potential improvement for a future hardfork.

mvandeberg avatar Nov 19 '19 18:11 mvandeberg