yhc166188
yhc166188
> You need to make an action to delete one or several rows each time until the whole table is deleted. I wonder which command this should use?
Did you know that the lower memory usage for account creation will be updated on July 31?The eos account memory I saw in STEP 2 on this site will be...
What can I do to reduce the amount of ram I need to create an account? Later, buyram, CPU and net are raising the memory.
I just want to modify the eos source code? I sent you an E-mail. Could you give me some help?
> you can send an deferred_transaction in you contract. > > ``` > eosio::transaction out; > out.actions.emplace_back( permission_level{ account, N(active) }, _self, N(action_name) > , std::make_tuple(arg1,arg2) ); > out.delay_sec =...
> Can you post your code? I use the latest eos code,You can have a look
I can make sure that I have enough resources, and I can do the manual refund action
Is it all the hand-operated refund action?
> There is no generic command to remove contract data. As kstvigilante describes, you must create a contract with a delete action, then invoke the action. > > If your...
> void deletedata(){ > > ``` > require_auth(_self); > st(_self, _self); > auto itr = st.begin(); > while(itr != st.end()){ > itr = st.erase(itr); > } > ``` > }...