Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
5 votes
2 answers
245 views

Where should tables be created? In the contract or in each action?

In the simple blog dapp (https://github.com/EOSIO/eosio-project-demux-example) the table (for posts) was defined in the contract but is not instantiated as a field. What are the advantages/...
friedger's user avatar
  • 833
1 vote
1 answer
43 views

Altering userres and delband tables after set_resource_limit(-1, -1, -1)

For a private network to remove ram net cpu i set the resource limit to unlimited for each newaccount created. By chaging set_resource_limits to set_resource_limits( newact, -1, -1, -1 ); //unlimited ...
hassan ahmed's user avatar
1 vote
1 answer
58 views

Are table lookups, like get_table_rows, included in CPU/NET resource calculation?

If a smart contract includes user data, would our smart contract be charged CPU/NET resources to do lookups on those tables, or is it only charged for transfers and actions etc.
Matt Beckman's user avatar