We changed our privacy policy. Read more.

Questions tagged [state]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
19 views

Using Eth-Brownie to fork mainnet from specific blockheight?

Can I use eth-brownie to fork mainnet from a specific blockheight? I have an archive node if that helps. I want to see what would have happened, instead of what will happen Can another service do this?...
1
vote
0answers
7 views

Is this an accurate depiction of arbitrary state transition?

I'm looking for a bit of clarification. I'm trying to understand and help explain arbitrary state transition vs protocol-level state transition. I made a (very simple) graphic based on info from this ...
1
vote
0answers
9 views

questions on block (and header) storage in ethereum, how is it stored along with tries?

I understand that ethereum uses Trie to track the state, transactions, receipts. and each trie has key-value pair that is stored in the database. Each blockheader also has the root has of stateRoot, ...
1
vote
0answers
22 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 ...
1
vote
1answer
54 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 ∈ ...
1
vote
0answers
89 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
99 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 ...
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 ...
0
votes
0answers
5 views

How does MPT update an account?

I have read that Ethereum uses a modified Merkle Patricia Trie to store information such as accounts and its balance, when updating a balance to an address does it just go thru the tree and update the ...
0
votes
1answer
17 views

Data Stream Processing on Ethereum

I developed a system that receives continual streams of requests via a REST API. For each bit of data contained in the body of the request, the sender receives an according bit of data in the response....
0
votes
1answer
18 views

ETH1 balances transition to ETH2

Can someone please explain how do the ETH1 balances become ETH2 if they don't move on-chain? How does eth1 become a shard? Is ETH2 an airdrop of eth1 balances?
0
votes
0answers
62 views

Connecting HTML buttons to functions of my smart contract

These solidity functions are part of my solidity code which i want to execute them by clickcing on a button on my HTML.One of them stands for accepting bets placeBet() and the other one for sending ...
0
votes
0answers
62 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 ...