Linked Questions

0
votes
1answer
131 views

Smart contract's storage [duplicate]

I would be grateful if anyone can help me understand the storage of a smart contract. Before someone mention the question as duplicate i want to clarify that i had read the post here but i was ...
47
votes
2answers
25k views

Is there a limit for transaction size?

Is there a theoretical limit for transaction data size when you send a transaction to Ethereum network? Ref. Is there a (theoretical) limit for amount of data that a contract can store?
19
votes
2answers
4k views

Is there a maximum number of entries for a mapping?

In many contracts, notably voting, there is a mapping of the kind mapping(address => bool) voted; How many voters can be registered in that way? is there a size limit? will the contract need more ...
18
votes
2answers
2k views

Can a contract's internal storage keep increasing forever?

In other words, is there a limit on the amount of storage a contract can hold? Suppose a field is an Array for instance, and the contract has a method for adding items. Can I keep calling the ...
8
votes
2answers
2k views

DApp storage for data other than tranactions?

For the purpose of illustration, say I would like to create a decentralized version of Yelp. A centralized approach would be to have a restaurants table and a reviews table in an Mysql database. In ...
12
votes
1answer
356 views

How growing contract storage increases the gas spending?

I have some further questions about this and this threads. For simplicity, let's imagine that I want to create a cryptocurrency on top of ethereum. The contract that "handles" this cryptocurrency ...
3
votes
2answers
2k views

Can I filter through an array of structs?

I want a way to store an array of structs. And then I want the ability to filter through this array and pick out a subset of items where a certain struct parameter named foo == bar for example. Is ...
8
votes
1answer
891 views

What is the composition of the blockchain database?

From axic's explanation of the structure of the ethereum database, we learned that data is stored in Merkle Patricia tries, usually inside a LevelDB store. It consists of structures such as blocks, ...
1
vote
1answer
1k views

How dynamic data structures works in storage space?

Storage variables are allocated statically and I understand that. I am curious then how dynamic data structures (like mappings) works if they can grow and shrink during contract's life-cycle but ...
4
votes
2answers
1k views

How much data can I store in a smart contract, what is the cost and how it is implemented?

If I suppose I use a smart contract as a database, how much data can I store? speaking only of strings and integers, save them in contract data structures does it cost in addition to the gas used for ...
4
votes
1answer
690 views

Contract size limit after creation?

For example, lets consider the basic example of issuing a token: ...string public symbol; uint8 public decimals; uint256 public totalSupply; mapping (address => uint256) public balanceOf; ...
3
votes
0answers
927 views

What happens is somebody deploys illegal content to the public ETH blockchain? [duplicate]

Once a smart contract is out there on the blockchain, it can't be removed, it can only self-destruct. A smart contract can store around 1.49 GB of data (source: Is there a (theoretical) limit for ...
0
votes
1answer
60 views

Is it ok to build app with huge data in ethereum blockchain

I agree that the smart contract works well for small Apps. Is it ok to develop a app with huge data. For this let us take an example of building a huge patient database across hospitals (only with key ...
2
votes
0answers
41 views

What is the max data size which one contract can store? [duplicate]

I'd like to store big data into a contract by sending many transactions. What is the limit data size of the contract?
0
votes
1answer
17 views

A smart contract's storage problem , further ERC ?

Er .. I have a question about smart contract , a single smart contract's storage capacity Follow the answer is this question: Is there a (theoretical) limit for amount of data that a contract can ...