Questions tagged [blockchain]

The Ethereum blockchain is a distributed database based on the Ethereum whitepaper specification and stores both the full transaction list and the most recent state.

1,042 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
1 answer
744 views

What is the current size of the Ethereum State?

What is the current size of Ethereum's state in bytes? I am not asking about the size of the blockchain with blocks headers, transactions and receipts. I am looking for the size of all the structure ...
  • 3,506
5 votes
0 answers
63 views

Kademlia: How does Ethereum uses node discovery protocol to avoid sybil/eclipse attacks?

I want to describe a case that's not clear to me. let's say we have 10 peer validator nodes who reach consensus and agree to store some blocks on their chain. Let's say now that a wallet wants to sync ...
5 votes
0 answers
693 views

Why does Ethereum use JSON-RPC and not gRPC?

I am fairly new to networking protocols especially JSON-RPC and gRPC as they are not nearly as common in web development as REST. I was reading around and seems like gRPC generally performs better. So ...
  • 151
5 votes
4 answers
6k views

Problem In Getting Rinkeby Test Ethers

I tried to get rinkeby ethers from https://faucet.rinkeby.io/ by creating a tweet but the website shows "insufficient funds for gas * price + value” error. I also tried the website faucets....
4 votes
0 answers
116 views

Is it possible to fork multiple blockchains at the same time for testing smart contracts?

I am trying to fork ethereum, polygon, and arbitrum at the same time. I tried to use ganache-cli specifying different ports for each chain but it does not seem to grab the chain data when I use a ...
4 votes
2 answers
214 views

How do you prove ownership of a digital asset with NFTs?

I have a few questions regarding NFTs. Every source I find online roughly says that an NFT is a blockchain-stored ownership certificate for a certain digital asset. But I don't understand how that ...
4 votes
0 answers
35 views

Difference between Ethereum Web APIs and Ethereum API as a service

I am approaching ethereum for the first time and I am reading the documentation. Can anyone explain the difference between Ethereum Web APIs (BlockCypher) and The Ethereum API as a service (infura)? ...
  • 71
4 votes
0 answers
422 views

How to access txpool pending transactions using Netherum?

I want to get list of transactions which are in pending state & queued state in txpool. I can see these transactions in pool using txpool.inspect command. I tried code given in nethereum sample ...
  • 108
4 votes
0 answers
2k views

Mining hangs on Generating DAG in progress

I am trying to initialize rpc using the below command and start miner using miner.start(1); geth --rpcapi eth,web3,personal --rpc --networkid=15 Mining starts successfully with below logs but it ...
  • 395
4 votes
1 answer
457 views

Storing private data off-chain with a sharing feature upon request

My question is not very technical from an implementation point of view, but I am looking for advice to achieve a specific use case using blockchain tech. I would greatly appreciate any insights or ...
  • 175
4 votes
1 answer
461 views

Why does geth -light start importing block headers from 3297471

I've been using geth to download the blockchain (on full) and one of the requirements for my research involves the use of light clients. I used 2 computers to download the blockchain on the -light ...
  • 43
4 votes
0 answers
160 views

Did the ripemd precompiled contract get deleted?

A bug "caused account 0000000000000000000000000000000000000003 to be deleted in block 2675119, even though the deletion should have been reverted due to an out of gas error." Source Did account 0..3 ...
  • 79.8k
4 votes
0 answers
176 views

Genesis.json permanence and updating the blockchain

I understand that the initial genesis.json attributes are a permanent thing, and it cannot be changed retroactively. But what I want to know is which parameters are changeable afterwards and how? ...
  • 363
4 votes
1 answer
290 views

Can someone share your geth export file with me?

I need to setup an archival node ASAP but the download takes around 1-2 block per second. With this speed it will finish in 2 months (if it doesn't stall, but it does, I have to restart it manually ...
3 votes
1 answer
101 views

ERC721 "NFT" with ImageURL[] instead of single ImageURL

I am looking to create algorithmic NFT's that are built from multiple images. Rather than layering the images for all combinations and then storing all permutations I'd like to send an array of image ...
3 votes
0 answers
76 views

Ensuring the atomicity of multiple transactions

I am new to solidity and have been creating single (both basic and complex) transactions. However, I have a question which I couldn't come up with a solution. How can I create 2 (or more) transactions ...
3 votes
0 answers
159 views

Retrieving the sender of a transaction

I am trying to retrieve the sender address within a transaction in Go and I am facing some issues. As I understand, in order to retrieve the sender of a transaction, you can either try to get the ...
  • 105
3 votes
2 answers
433 views

How to run Chainlink Project using eth-brownie python

I had installed eth-brownie using command pip install eth-brownie after Brownie installed.I had bake existing Brownie project into a new directory. mkdir MyChainlinkProject cd MyChainlinkProject/ ...
3 votes
1 answer
103 views

Blockchain Performance Metrics

How can I measure blockchain execution time, latency and throughput? Which API do I use to measure? Anyone suggest any article or book for me to read about the blockchain performance metrics?
3 votes
1 answer
304 views

Are the timestamps of blocks for Ethereum only accepted when they are monotonically increasing?

Are the timestamps of blocks for Ethereum only accepted when they are monotonically increasing? If yes, why? And why other blockchains like Bitcoin and other blockchains with shorter block time can ...
  • 51
3 votes
0 answers
1k views

How Merkle trees are implemented in a database exactly

I have just checked out these resources: What is a Merkle Tree? Beginner’s Guide to this Blockchain Component Using Merkle trees to detect inconsistencies in data Exploring the use of Hash Trees for ...
  • 155
3 votes
0 answers
135 views

Zero Knowledge Range Proofs

I am new to the world of Zero Knowledge Range Proofs. I read the following on GitHub: https://github.com/ing-bank/zkproofs The Zero Knowledge Range Proof allows the blockchain network to validate ...
3 votes
1 answer
105 views

Understanding what happens between transaction creation and block creation in Proof of Authority

I am currently writing my thesis where I'm investigating the potential of blockchain technology to become the underlying technology in a system that is create and record qualifications. I'm at the ...
  • 131
3 votes
0 answers
424 views

Monitoring Eth Transactions and Syncing Native Database transactions with Etherium Blockchain

Currently, I have a node.js application which interacts with geth through web sockets. I have a listener, web3.eth.subscribe( 'pendingTransactions', function(err, result) { if(!err) { ...
3 votes
0 answers
149 views

Parity create testing transactions and blocks

For test purposes, I would like to make test blocks including test transactions against main net. For example I would like to make a transaction that sends one ether from 0x1234567... to 0x99999999......
3 votes
1 answer
295 views

Uncle blocks in Parity PoA blockchain

As I know that there is no competition for mining new blocks in POA blockchain as each node mines new block at its given time slot. I have a parity PoA blockchain setup with 5 nodes. While examining ...
3 votes
1 answer
244 views

How many non-empty accounts are there?

I am researching into the statistics of Ethereum and I an looking for a datum of how many non-zero balance account currently exist in Ethereum? I know that in total 30M of accounts were created but ...
  • 3,506
3 votes
0 answers
275 views

Homomorphic Secret Sharing

Speaking of Ethereum blockchain, Is it possible to perform homomorphic secret sharing algorithmic calculations like SSS/pVSS/VSS on-chain? or should this be calculations performed off-chain
3 votes
1 answer
1k views

geth - admin,addPeer() and static-nodes.json don't work

I'm trying to connect two nodes (both miners) on my private network. They are based on the same VM in different data directories. They have different ports and are based on the same genesis file and ...
3 votes
0 answers
460 views

SSL Support for Communication Between Geth Nodes

We are using private Ethereum network for a multi entity use-case. The problem is that all these entities geth nodes sits behind a firewall which only allows TLS traffic. The node that's broadcasting ...
3 votes
0 answers
2k views

How to encode data payload in ETH transaction

I'm using python to sign and send ETH transactions, and would like to do the same for ERC-20 token transactions as well. I'm having trouble correctly encoding the data payload to invoke the transfer ...
  • 131
3 votes
0 answers
637 views

In parity, how can I delete the last blocks I downloaded without corrupting the database?

I have found the blockchain data in parity. I go to overlayrecent folder and from there to the db folder. It looks like the blocks are the .sst files. How can I delete the last blocks I downloaded ...
  • 163
3 votes
0 answers
471 views

How can i confirm transaction in geth from other peer of blockchain?

I have a query , I have create a private blockchain in which one geth node1 is use for transaction taking and other one(node2) is for mining .They are peered with each other and perfectly ...
3 votes
0 answers
163 views

Geth bus fatal error

My geth node (v1.4.18 on testnet) has unexpectedly go down throwing an error like this: I1028 04:46:29.305710 ethash.go:259] Generating DAG for epoch 44 (size 1442839168) (...
3 votes
0 answers
205 views

Blockchain compression Suggestions

I am planning to do a course project on block chain compression so that network transfer time is optimized. I read somewhere that the EVM bytecode component of the blockchain can be compressed. Is ...
  • 91
3 votes
0 answers
148 views

Updated geth, now I am re-syncing the whole blockchain

This is the first time I have updated geth. I was at a build of geth from several weeks ago, and this morning I updated to 1.4.12. I downloaded the pre-built binary to a new location on disk, ...
  • 181
2 votes
0 answers
15 views

How Ethereum client can provide the state of contract variables with Merkle Trees

I'm struggling to understand the whole flow of how retrieving data from the Eth client db(LevelDb/RocksDb) works. So for example, I trigger contract to return value of some field -> what are the ...
  • 31
2 votes
0 answers
46 views

Configuring amountOutMinimum while swapping through Uniswap V3

I am trying to build a smart contract which performs a multihop swap using Uniswap V3 but wherever I have seen the tutorial, amountOutMinimum is set to 0. In Uniswap V2 there are several ways to ...
2 votes
1 answer
52 views

Decentralized Storage for sensitive data

As the title says, is there any decentralized storage technology for storing sensitive data like the personal information of users? Concretely, I am developing a Dapp on blockchain, where users have ...
2 votes
1 answer
187 views

Unable to change solc version used by dapp tools

I am using ubuntu 21 LTS version and trying to compile and run pickle.finance contracts using dapp.tools. The steps are mentioned here https://github.com/pickle-finance/protocol. I followed till the ...
  • 842
2 votes
0 answers
2k views

How to find the "slug" of a NFT collection posted on opensea using the contract address?

The opensea api uses collection "slugs" in their get requests to identify collections, however, I don't see an easy way to find these "slugs". I know that you can enter the page of ...
2 votes
0 answers
361 views

how Set manual gas limit for specific transaction(using hardhat, polygon test and main network)?

how Set manual gas limit when deploying(mint) for specific transaction(using hardhat, polygon test and main network)?
2 votes
0 answers
237 views

Does anyone know how to use TimeLockController.sol from openzeppelin

I want to use the openzeppelin timelock controller contract in a way that it calls the functions of other deployed contracts at some time. The thing can be done with the openzeppelin timelock ...
2 votes
0 answers
77 views

How to connect wallet / set caller for Read Contract buttons on Etherscan?

When I use the "Read Contract" tab on Etherscan, it works even if I didn't "connect" by Web3 wallet. It seems to be reading the blockchain passively. The thing is, one of the ...
2 votes
1 answer
5k views

window.ethereum.request({ method: "eth_requestAccounts" }) does not open

I am using React and trying to open Metamask wallet to sign and get the address of the user. However I tried this code and I've clicked the button to trigger it, but nothing happen. This is my code ...
2 votes
3 answers
3k views

web3.js not working with React JS

I have installed web3.js npm install web3 my App.js import React , {Component} from "react"; import web3 from "web3"; import detectEthereumProvider from '@metamask/detect-provider'...
2 votes
1 answer
135 views

Hyperledger Besu for creating accounts

I am able to setup hyperledger besu for creating private ethereum network(followed the official documents with 3 testing accounts in gnesis file) and able to connect to metamask as well. But its not ...
2 votes
1 answer
974 views

wallet_addEthereumChain is not working in metamask android app

I am using wallet_addEthereumChain RPC function to add the custom network in metamask android app through our Dapp but it is showing an error wrong chainid. The chainid(80001) is correct and the code ...
2 votes
0 answers
148 views

Connecting to Polygon network with OpenEthereum

Have anyone already managed to connect OpenEthereum node to Polygon (mainnet or Mumbai testnet)? I seems to be technically possible. I need some kind of genesis.json file for these networks along with ...
2 votes
0 answers
437 views

Help. I have reached an issue that is preventing me from installing Brownie

I can't for the life of me install Brownie completely through Pipx, Septuptools, or anything. Because my python command doesn't seem to work as normal. Preface: So I installed everything that I was ...

1
2 3 4 5
21