Questions tagged [state]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
8 views

Retrieve size of Ethereum state on a local Go-Ethereum node

I have a local go-ethereum node and I would like to measure the size of its state on disk. The chain DB is under a .ethereum directory but measuring the size of this dir would also include space used ...
2
votes
2answers
31 views

Are NFTs (technically, the smart contracts) stateless or stateful?

Are the smart contracts used to manage NFTs stateless or stateful? Ethereum as a protocol seems to be stateful, but the smart contracts for NFT marketplaces seem to be stateless. They don't save any ...
3
votes
1answer
35 views

How can callable contracts have an empty account state?

On page 4 of the yellow-paper, the definition of an "empty" account is provided. An account is empty when it has no code, zero nonce and zero balance. A formal definition is then provided, ...
1
vote
1answer
31 views

What is a machine state in Ethereum?

Section 9.4.1. of Ethereum paper (Petersburg version 41c1837 — 2021-02-14), states that: The machine state μ is defined as the tuple (g,pc,m,i,s) which are the gas available, the program counter pc ∈ ...
0
votes
0answers
43 views

Should I use Parity instead of Geth?

I've been trying different things to get Geth to get a fully sync'd Geth node for the past two weeks on a host with 4 cores, 16G of memory and 2TB SSD, to no avail. The only time I get close to being ...
0
votes
0answers
27 views

Statelessness vs statefulness - what is the difference? Comparison Bitcoin's vs. Ethereum's states

I now read multiple times about bitcoin, that it is a stateless system and that because of that bitcoin simple-purpose computations or programs can be executed at anytime and independent from any data....
1
vote
1answer
61 views

Do miners have to store the whole blockchain?

I was reading the ethereum whitepaper and encountered this paragraph. Ethereum is likely to suffer a similar growth pattern, worsened by the fact that there will be many applications on top of the ...
1
vote
1answer
32 views

State only node

Is it possible for the network clients to just keep the latest network state (without keeping track of the past transactions) while not harming the network security? That is, is it really needed to ...
0
votes
0answers
33 views

Syncing rinkeby testnet still imports new states entries

Hi I am syncing (fast) rinkeby testnet on SSD and as the img shows I'm on the 55777179'th state! is there a way to know how many states should I download to get the full sync ? and what about the ...
1
vote
2answers
121 views

Smart Contract States

I have been encountering the word 'state' in a lot of research papers, and I was wondering what they exactly mean by the state of the smart contract. I am aware of the following answer; however, it ...
0
votes
1answer
26 views

How to check state of the contract after some time?

I am writing a contract where I need to check that if in 5 minutes no new token get purchased then the sale should be ended. What I mean exactly is that, lets say user A has purchased 100 tokens and ...
1
vote
0answers
12 views

What are the rules on persisting old transactions?

If a new node joins the network and attempts a full sync, it requires all transaction information from genesis to build up its chain state. To do this the transactions it receives must be the ...