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 [database]

The tag has no usage guidance.

0
votes
1answer
24 views

How Ethereum stores its data in the blockchain [duplicate]

I am new to ethereum and the blockchain, but I am wondering about blockchain databases. Mainly I am wondering how exactly the database data and the blockchain merge. For instance, in a database you ...
3
votes
1answer
23 views

Do contract calls atomically modify contract contents?

Suppose a contract has the following: uint[] arr; function func(int a, int b) { arr.push(a); arr.push(b); } If two clients call func at essentially the same time with (1, 2) and (3, 4), are ...
0
votes
1answer
31 views

dApp Tech Stack

So I'm looking into building a dApp with standard app I functionality like user login/posts/likes/comments etc. Along with harnessing the power of ethereum to support betting and donations. Here is ...
2
votes
0answers
15 views

Art registry site: isn't this just a centralized DB?

Just trying to wrap my head around the claims here:: https://www.artory.com/how-it-works/ Essentially they work with an industry partner (auction houses like Christie's), use all of the information ...
1
vote
2answers
30 views

Is it possible for multiple geth processes to share chain data?

I would like to know if it is at all possible to have multiple geth processes share the same chain data. I currently have multiple nodes (for a private chain) connected to the same file system via ...
1
vote
2answers
46 views

Thinking through from traditional DB to ETH

I am looking for a data structure kind of like this: [ "data": { "id": 0, "hash" : "5feceb66ffc86f38d952786c6d696c79c2dbc239dd4e91b46729d73a27fb57e9", "owner" : 0, "status" : "...
1
vote
1answer
17 views

Dapp SDK - Hardcoded ABIs vs Dynamic ABIs

I am developing a Javascript SDK to allow for integration of external services with our Dapp. The SDK calls the smart contracts' methods and therefore needs to know contracts addresses and ABIs. ...
0
votes
1answer
71 views

How can I make a database and smart contract interact?

I started to code a smart contract which was supposed to store some datas from corporations. These datas (mostly names and dates) were organized like that : ├── Client1(Contract) │ ├── Year2018 (...
2
votes
1answer
40 views

Can i change data in a database using smart contract and oraclize?

i understand that smart contract and oraclize can be use to get data from a database but can i manipulate the data inside the database using smart contract and oraclize? If so how can i do it? Can I ...
1
vote
1answer
65 views

Syncing events on Database - Dealing with blockchain reorganization

My Dapp relies on live events synchronization on a centralized database. There is always a server side script polling the blockchain for new events, parsing then and do the corresponding operations on ...
0
votes
2answers
84 views

How would you render this structure of data?

I have coded a smart contract which allows one to store a certain type of structure of datas which can be described as something like that : ├── Client1(Contract) │ ├── Year2018 (Struct containing ...
1
vote
1answer
44 views

Web3 (python) - confirming transaction hash format

Due to the fact, that I am storing txId obtained from the user, before determining whether transaction has been ended or not, I want to make sure that the transaction hash, which will be stored in my ...
0
votes
1answer
39 views

How to use Ethereum as a database for an order book? [closed]

I hope this question is not too general. I would like to have a few opinions. What is the best way to work with data in Ethereum? Lets say we build a decentralized exchange on a small scale. How ...
1
vote
0answers
34 views

How to open Parity database from javascript (how to open column families)?

I am trying to connect to Parity database at var dbPath = 'C:\\Users\\username\\AppData\\Local\\Parity\\Ethereum\\chains\\ethereum\\db\\906a34e69aec8c0d\\overlayrecent\\db' form javascript using npm ...
3
votes
1answer
71 views

“Centralized Relational Databases” vs. “Decentralized Blockchain ” : Which one is really more scalable? [closed]

There are many research papers on problem of scalability of blockchains: Just as an example : An Overview of Blockchain Technology: Architecture, Consensus, and Future Trends However, (usually by ...
1
vote
0answers
38 views

how do you handle token value data type in database?

Ones who do exchange / Investment platforms development, all ERC20 tokens has its atomic unit and only moved by specifying value in its atomic form. for eg: 1 BuritoToken with unit decimals as 18, ...
3
votes
1answer
69 views

Is there any lifespan of data on Rinkeby testnet?

I read that there are pre-autorized nodes which creates blocks on rinkeby testnet. If developers keep publishing smart contract and do transactions for testing purpose isn't the size of testnet will ...
1
vote
1answer
298 views

Storing structured data in private blockchain

The task. Develop distributed registry on blockchain network that can store public data of the certain objects. For example: { "id": 123456789012345, "title": "Big black box (not more than 100 ...
0
votes
1answer
26 views

Deploy contract from browser but ensure details saved to server

I'm very new to blockchain/Ethereum development and would like to allow users to directly deploy contracts from a site using MetaMask, however, I want to make sure that I can keep a record of contract ...
0
votes
1answer
135 views

Loading External data (in Excel/CSV) to blockchain engine [closed]

I am new to solidity blockchain. I have transaction dataset in csv files. I want to load it automatically to blockchain using ethereum solidity. How can I do it? Is there any UI available? Any guide ...
0
votes
1answer
33 views

Are Transactions and Receipts 1-to-1?

Ethereum maintains an Transaction Trie and a Receipts Trie and I'm trying to visualize how that data would be contained in a relational database. I believe both Tries would have a primary key of ...
2
votes
1answer
126 views

Does data storage on private Ethereum blockchain come at no cost?

Knowing that: In a private Ethereum blockchain, I can have no value of ether and basically allocate as much ether as I want. Storing data on a public blockchain is a costly affair If I were to ...
0
votes
0answers
48 views

Listen for Solidity Event With X Number of Confirmations

I presume Solidity events are fired the moment the block that includes its transaction is mined -- please correct me if I'm wrong. I need to sync the transaction status locally but wish to only save ...
0
votes
0answers
34 views

Querying large amount of contracts

I use blockchain to have immutable persisted history about all changes. But the problem is that I'm not able to efficiently query this data. For example, this is my current code: function ...
0
votes
0answers
58 views

Reporting for blockchain data

Currently reports are queried from data warehouses(OLAP) and not from transactional databases(OLTP). Data in transactional databases is processed using ETL(Extract,Transform,Load) operations and then ...
0
votes
2answers
58 views

Is it necessary to store transaction data into a database?

I am wondering if there are no security risks if i store transaction data in a database besides the fact that is stored on the ethereum blockchain. I am using an API to manage my smart contracts and ...
0
votes
2answers
199 views

smart contract as a huge database

I know we cannot use Smart contract to be used as large database. But my client is asking for proof. Can you guys provide any link that will support this.
3
votes
1answer
141 views

Why use a private block chain over a shared database?

Isn't a shared database able to provide all the guarantees that a private block chain could provide. Since you can track transactions,have transaction restriction and have authenticated access to ...
1
vote
1answer
125 views

What data should be stored in contracts or tokens

After watching a sales force movie where they have a session on how they are integrating their product into the blockchain they talk of an example on capturing all the data from the supply chain ...
2
votes
0answers
86 views

How can I connect to the local Rocksdb instance used by my parity node?

I want to see everyones balances, and eventually try to create a realtime visualisation of the state. If I have a node with 10 GB of disk space used by the db, I understand this is Rocksdb taking up ...
0
votes
1answer
46 views

Fast access of any given transaction in the blockchain

That is a conceptual question that I am asking here. We are trying to developp an application to securely store the hashes of some files in the blockchain. Everything is automated (taking a file as ...
0
votes
0answers
50 views

ICO database to measure firm performance

I am looking for a comprehensive database on ICO's to conduct research on post-ICO firm performance. Sites like ICObench are a good start but the data is not very structured unfortunately. Ideally I ...
0
votes
0answers
58 views

What is the geth/parity database client? [duplicate]

For bitcoin the answer is levelDB. What is the database client for geth? For parity?
1
vote
0answers
22 views

How load out data from blockchain when it occupies too much space?

If the blockchain working long enough it fills the memory of the mining device, how to load out the data and then rerun the system? and why does my mining device has different miner address every time ...
1
vote
1answer
59 views

Query multiple derived contracts from contract factory

Say a contract factory is used to spawn multiple child contracts, each with associated data within them. The contract factor stores all addresses of the derived contracts along with a unique name of ...
2
votes
4answers
592 views

Would it make sense to use a SQL database to store the data of a Dapp?

Let's say that I want to develop a Dapp and I need to store different information about the users. This information must not be public as not all the users are allowed to see all the information ...
1
vote
1answer
212 views

Where do you save the application data of a Dapp?

Let's say that I want to implement a Dapp similar to Facebook. Each user has its own profile, pictures and information. Usually you would use a database to store all this data. This guarantees that ...
1
vote
1answer
201 views

Are the contents of ethereum storage private? [closed]

I know that the code is public, but is the contents of storage private?
2
votes
0answers
268 views

What is the best way to store and access large volume of data in blockchain? [duplicate]

I was creating a Dapp which will get KYC information from the user, I want to store this data in the blockchain. This data will be accessible through API and it will be used to do KYC process. In ...
0
votes
2answers
219 views

Is there a way to store data on ethereum blockchain without anybody knowing about it [duplicate]

Lets say I am building a contract where I want to store some important information on ethereum blockchain. The data should be hidden and people shouldn't have a way to see it. As per my knowledge, ...
0
votes
2answers
784 views

Store all sort of data in blockchain

I have some questions that need clarification. Lets say if I create a trade-in website using blockchain technology, First, do I store all sort of data into blockchain such as user credentials, user ...
1
vote
1answer
191 views

Is there a practical way for Etherium networks to handle considerably large volumes of data used by heavy contracts?

It's not a secret that a single contract could potentially store quite a large volume of data (1, 2). Of course, it takes some gas, but it doesn't seem to cap strictly the overall volume of data to be ...
1
vote
1answer
648 views

Should I use smart contract for storing huge data and real-time updates? [duplicate]

Scenario : Lets say I have DApp on ethereum which has two parties or two types of users , User A will update his status (uptime or storage or ip address...etc). User B will be able to browse a ...
0
votes
2answers
170 views

How can i read transation data from ethereum to file or database?

I want read transations data "input" field from ethereum to file.How can i do it?thanks.
1
vote
0answers
225 views

For what data does Ethereum use Memory Database, and for what does it use Level Database

Ethereum uses two databases Memory database and Level Database. Is data stored in MemoryDatabase different than LevelDb? In what cases is one database used over other? The question is different from -...
1
vote
0answers
169 views

What is the physical location of Blockchain?

Hello everyone i am new in this technology and i am confused please clear my few doubts. Thanks in advance. Blockchain consist of Blocks but where these blocks are stored, i mean what is the physical ...
0
votes
0answers
25 views

Is it possible to migrate your db(users login credentials) to ethereum private network?

I am thinking of migrating db to any of blockchain technologies for security purposes. I have to opt from hyperledger or ethereum private network. Is it good idea or any trades off I should be aware ...
0
votes
2answers
374 views

Do we have any control over sharding in IPFS?

Suppose I have a huge N-dimensional database and want to store it using IPFS, is there any way I can shard my dataset in such a way that I get N hashes each for single dimension using IPFS?
1
vote
1answer
26 views

Best Practice for Arrays you will Write to Often

I want to build an App with an array data structure that I would like to keep private. So far, I've wanted to build it between IPFS and Ethereum. But what would be best practice for an array that I ...
0
votes
1answer
79 views

Data retrieval from geth node

How does a smart contract fetch stored data (for example, EmployeeName) from the node? Does it search through the entire chain? But searching through the entire chain would take just too long. There ...