EOSIO / eosio.contracts

Smart contracts that provide some of the basic functions of the EOSIO blockchain
https://eosio.github.io/eosio.contracts/latest
MIT License
325 stars 574 forks source link

enhancement: secondary index on "receiver" for cpuloan and netloan tables #489

Closed piecesnbits closed 3 years ago

piecesnbits commented 4 years ago

To manage resources of an account it would be very handy to get the loans by receiver.

piecesnbits commented 4 years ago

I would suggest adding cpuloan2 and netloan2 tables with an extra secondary index on "receiver". when all loans in the original tables are expired they can be deprecated.

deckb commented 3 years ago

With the introduction of the PowerUp model REX is likely to be phased out of use.