Hot answers tagged

15 votes
Accepted

Storing files on the EOS blockchain vs InterPlanetary File System

Storing big files in a database on chain is far more expensive as its held in ram. B1 could implement a file storage system in EOS.IO but integrating IPFS is much easier. The only stuff you want or ...
  • 194
6 votes

Storing files on the EOS blockchain vs InterPlanetary File System

Blockchains are not meant for storing large chunks of data like files. In EOS, because you have to stake tokens to pay for the storage you are using, storing data in the blockchain itself would be ...
  • 1,834
6 votes
Accepted

When will EOS Storage be available? What alternatives can be used until then?

I don't know when the storage will be available, but it will be IPFS. So to keep a similar and also decentralized structure, I'm already integrating IPFS in my dApps and storing only the file hash in ...
  • 3,023
4 votes
Accepted

Size limit for transaction data?

From the documentation, only CPU limitations are specified: Transaction Limitations Every transaction must execute in 30ms or less. If a transaction contains several actions, and the sum of ...
  • 5,544
3 votes

When to use RocksDB compared to Chainbase?

RocksDB intended use is to perform better than Chainbase with data sets that have larger (64KiB+) data associated with the average row in the database and data access patterns that favor fewer highly ...
3 votes
Accepted

Storing database information into EOS

Don't store personal information like email-addresses or phone-numbers on a public blockchain !!! The memo-field itself has nothing to do with the type of storage as it's just an action-parameter of ...
  • 1,909
3 votes

Will EOS Storage support only mongoDB or even mySQL, postgreSQL, Redis etc.?

I might be wrong but, as far as I know, mongo is just a plugin that you initialize with your node. It listens for all the activities of the chain like block productions, actions, transactions, ...
  • 3,023
3 votes

Does EOS Storage support image, audio & video storage?

Devs will be able to store their files (png, mp3, mp4 ect...) with Block Producers hardware through EOS Storage which offers a decentralized storing service by locking eos tokens. More information ...
  • 286
2 votes

Retrieving from Log Storage vs. RAM

To clarify, any action data in a transaction will go into log storage, the smart contract determines if it will also put it in RAM or not. The decision to store information RAM is typically ...
2 votes

Is it possible to request block producers to delete a file through IPFS?

There is no relationship with EOS and IPFS, they're completely separate. The EOS Storage project proposes using the IPFS protocol for storing files. The idea is that you stake tokens for the nodes ...
2 votes
Accepted

Do dApp developers have to pay for contract instances RAM as well?

You only need to cover the RAM per account the contract is deployed on via the setcode action. Several users can use that contract without additional RAM usage however, if someone deploys the same ...
2 votes

EOS smart contracts and big data

Same situation as in other blockchains: large data should not be stored on the blockchain. Keep in mind that besides block producers, all validation nodes / non-producing full nodes have to be able ...
  • 5,544
2 votes
Accepted

minimalistic mongodb to query tx | config.ini

Heifner (Contributor) replied on Github here: abi-serializer-max-time-ms = 5000 needs to be larger or you will have problems with action data not being serialized and remaining in hex. What you store ...
  • 383
2 votes

Can we store documents in a table.If yes, Is this a right approach?

Yes, you can upload the document on IPFS; and then store the IPFS multihash as a key of your table: Something like this should be useful: // @abi table struct ipfsid { uint64_t key; //the ...
2 votes

Where does everipedia store all of its data? What parts are centralized?

Everipedia's data is stored using IPFS which is a distributed free IP based file system. Anyone can participate in IPFS and help strengthen the network in general. Read more about the Everipedia's ...
  • 1,686
1 vote
Accepted

Can you upload binary files to RAM?

You definitely should not use RAM for binary data unless it's literally very few bytes. The RAM cost will be prohibitive. And just imagine it in scale: the current available amount of RAM can store ...
  • 598
1 vote

EOS smart contracts and big data

Storing data on blockchain is extremely expensive. It is also problem for network (data transfer) and other users (storage). Instead you should consider storing data in one of dedicated solutions, ...
1 vote
Accepted

How multi index database sync in all eos nodes?

EOS uses a BFT consensus algorithm, so, by default, all nodes (producing and non-producing) validate and process all transactions and blocks to compute the state at each timestep. However, in the ...
  • 5,544
1 vote

How to iterate over all entries in struct

Apparently this was an issue and it's resolved in master: https://github.com/EOSIO/eos/issues/2787
  • 201
1 vote

When will EOS Storage be available? What alternatives can be used until then?

Right now, BlockOne's suggested solution for this is using Demux: Demux solves these problems by off-loading storage and queries to your preferred database (MongoDB, Postgres etc). As blockchain ...
  • 5,544
1 vote

How are anonymous balances and records implemented

In the current implementation of EOSIO software, the account balances can not be made confidential. Each user's balance is stored in a table alongside their username. In addition to this, any ...

Only top scored, non community-wiki answers of a minimum length are eligible