Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cpu]

The tag has no usage guidance.

2
votes
1answer
6 views

Does Non fungible Tokens need more RAM?

Non fungible tokens with tracability need a table that need space and Non fungible tokens also need more computation as we need to have mint ,burn ,create and issue abi actions. In my opinion ...
1
vote
1answer
21 views

other way to let contract account provide for cpu/bandwidth than delegatew/undelegatew?

as far as i can tell it is somehow inconvenient to let the user of an contract "pay" for the cpu time. I thought that the one who manages the contract, has to stake for cpu/bandwidth, so user can use ...
1
vote
0answers
34 views

Getting account CPU usage in smart contract

Is it possible to access the CPU usage of a given account from within a smart contract? For eg. in a smart contract transfer notification, you call get_account_info(N(some_account_name)) which ...
3
votes
1answer
50 views

Why do failed transactions not consume CPU?

In other blockchains, even if your transaction fails, you are still taxed gas or other scarce resource in order to compensate nodes for processing your transaction and defend against spam. On the ...
3
votes
1answer
42 views

When someone sells his RAM to another account, how it would clear from previous contracts?

I know unlike CPU and Net bandwidth, RAM doesn't refresh itself. we also know that we can exchange our RAM with EOS. But when someone sell his RAM to anoher user. So in this case what happen how ...
2
votes
1answer
49 views

Ethereum event logs equivalent for EOS

One of the solutions for saving quite a lot data in Ethereum Smart contracts is to log data by emitting event, which saves our gas. Is EOS quite similar? Does it provide us with the very same ...
1
vote
1answer
37 views

What would happen when a transaction fails because “took too long”?

When call an action of a contract, sometimes meet "Transaction took too long" error. If a transaction fails because of "took too long" error, the transaction will be discarded in chain? Or next BP ...
2
votes
1answer
98 views

How should developers make money to cover cost of EOS CPU, bandwidth, and RAM?

So EOS puts the cost of transactions and storage onto the developers. ETH puts the cost onto users. Because these are decentralized apps, in theory, no one should be making a lot of money off of them....
2
votes
2answers
225 views

How to stake EOS to increase the amount of CPU time from a separate account?

I want to do a transaction in one of my account but it doesn't have enough CPU time. How can I stake more EOS from my another account to this account? I want to stop the delegation as soon as I finish ...
1
vote
2answers
223 views

How to increase billable CPU time?

I tried the execute a transaction to update public keys for my account. But I got the following error: billed CPU time (857 us) is greater than the maximum billable CPU time for the transaction (165 ...
5
votes
1answer
48 views

Are there 21 different CPU costs for your transaction because of subjective billing?

And does it also mean it's cheaper in CPU time when you wait until the BP with the fastest CPU is scheduled for the next 12 blocks?
5
votes
1answer
274 views

How Does NET/CPU Recharge Over Time?

I'm asking this because no one has been able to give a valid answer that applies to all cases. Also, in the EOS Devs Telegram, there are constantly people commenting that their NET/CPU hasn't come ...
2
votes
3answers
154 views

After 48 hours, CPU not reset

Looking at https://eosweb.net the CPU is still exhausted (solid green line). Does it have anything to do with token transfers ? Why doesn't it reset ? EDIT2: Reading the technical papers, there is ...
2
votes
2answers
207 views

Work around or disable CPU usage limit

In a private testing environment I've got a single nodeos instance. In case it is an important detail, note that the instance is not running the eosio.system contract. One of my own contracts is ...
3
votes
2answers
353 views

How long is the reset period of the cpu bandwith?

I can not find reliable information regarding the CPU bandwidth reset period. It is important for dApp developers because it affects costs for resources. I heard some say it is 24 hours, others say ...
2
votes
2answers
82 views

What EOS Chain Information/Interaction do you wish was more publicly available?

I've decided to build a website that will display chain metrics as it relates to EOSIO. I am thinking of integrating with Scatter. My initial ideas are to show: Cost Per Byte of RAM currently and ...