All Questions

7,008 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
188 views

Can I `eth_call` a non constant function from javascript?

I know that I can't get the return value from a transaction (How to get values returned by non constant transaction functions?), and non-constant functions have return value because they can be called ...
5
votes
1answer
2k views

Etherscan: Effectively paginate `Event Logs` result

I am using Etherscan API for various Ethereum details. I need to find out the tokens transferred from a token original contract (let's say A) address to a particular address(let's say B). For this ...
5
votes
1answer
1k views

SendSignedTransaction web3 v1.0 smart contract method call

Running parity node, connected to Kovan testnet. Contract Address: 0x354Db5AE17b11fbc01A8a146B63506b1d90872E0 Using a nodejs app + web3 to send/sign transactions with the private key corresponding to ...
5
votes
1answer
749 views

Call write function, which doesn't change contract value

I'm new in smart contracts and faced with one problem. After deploying contract to my test local blockchain network, i try to set new value via setter, after that I call get method of contract and it ...
5
votes
1answer
462 views

API resource for determining all address holders of a contract

I would like a RESTful API for viewing all addresses which holds a balance of a specific contract. It seems that etherscan.io deprecated this feature, or I'm looking at the wrong endpoints Are there ...
5
votes
0answers
428 views

Error: missing trie node 60c376cdb14aec… (path)

I'm trying to start a geth node to connect to the Rinkeby test network by running geth --networkid=4 --datadir=$HOME/.rinkeby --verbosity 0 --syncmode=light --bootnodes=enode://...
5
votes
1answer
1k views

Casper: will you need to buy the right to be a validator or will it be free?

According to this document: https://docs.google.com/document/d/1Xf_iHGI51Lp6nVHPZo0SdUw60-NA6YJUvk2s-eYaxLE citation 1: maxDeposit - the maximum deposit allowed to become a proof of stake ...
5
votes
0answers
685 views

Verify the ownership of an ethereum account

I have built a web game where users can purchase virtual items for their avatar with tokens obtained during an ICO. What is the best solution for delivering the items to the correct web game user? I ...
5
votes
4answers
534 views

Can Ethereum DApps work without downloading all blocks in the network?

I've just downloaded Mist (the Ethereum wallet) and am waiting for all blocks to download. I'm on the test network and its been 24 hours with only 50% of the blocks downloaded. My question is, if one ...
5
votes
2answers
372 views

How to access dynamic list from web3?

In my application players can create and join games. I store every game in a mapping(uint => Game), and send out a GameCreated event whenever a game is created. My issue is efficiently getting a list ...
5
votes
1answer
1k views

Solidity: How could I decrease gas usage of complex structs?

Struct is very expensive as labelled here: It seems extremely expensive when storing struct type. https://www.cryptocompare.com/coins/guides/what-is-the-gas-in-ethereum/: sstore 100 Paid ...
5
votes
0answers
3k views

Use of web3.js batch requests

The web3.js API allows for synchronous RPC batch requests with the example given as: var batch = web3.createBatch(); batch.add(web3.eth.getBalance.request( '...
5
votes
0answers
308 views

Difference between Ethereum Consortium Blockchain template and STRATO Blockchain Individual Instance template in Azure

I have recently started analysing Blockchain as a service and found it's very interesting. But, I am not able to interconnect these information's. What is difference between Ethereum Consortium ...
5
votes
1answer
228 views

web3.eth.compile.solidity(source) throws me Invalid JSON RPC response

I am relatively new to Blockchains and when I execute the following command I am getting an error. contract mortal { address owner; function mortal() { owner = msg.sender; } ...
5
votes
2answers
173 views

Writing GBytes of data to disk, despite no network activity - what, precisely, is geth doing?

I'm watching geth 1.4.17 on Activity Monitor. Judging by the Network page, it's not doing anything. Rcvd Bytes is 5.9MBytes, and Sent Bytes is 2.6MBytes, and it's been that way for a while now. But ...
5
votes
1answer
7k views

ethminer never seems to mine - repeated DAG generation

I've installed geth and ethminer to get started mining. I've got an Ubuntu 16.04 box with a couple Nvidia TitanX cards. When I fire up ethminer like so... ethminer --no-precompute -G --opencl-...
5
votes
0answers
167 views

Dapp Development using Truffle framework getting error

I am using truffle framework, which has pudding functionality. I have compiled the same contract on the both Dapps and deployed it on the one Dapp. Now i am trying to access it from another Dapp using ...
5
votes
0answers
1k views

How to install the Python bitcoin module on windows for presale wallet import?

I've been holding Ethereum since the pre-sale. I want to continue to just hold my presale wallet because its safe as cold storage (rather than importing into my wallet). However, I want to be able to ...
5
votes
1answer
256 views

What are 'payable' state variables?

https://solidity.readthedocs.io/en/latest/solidity-by-example.html#simple-open-auction pragma solidity ^0.4.22; contract SimpleAuction { address payable public beneficiary; What exactly does ...
5
votes
1answer
305 views

Is it possible to run a client behind an onion address?

It is possible to run a bitcoin client which only connects to onion nodes in the TOR network, like that: ./bitcoind -onion=127.0.0.1:9050 -onlynet=tor -externalip=ssapp53tmftyjmjb.onion Is something ...
4
votes
0answers
16 views

Is go-ethereum performance much affected by linux filesystem choice?

Storage performance often seems to be a bottleneck when running a geth node, even when running on SSDs. Does anyone know of performance comparisons under different linux filesystem choices? By ...
4
votes
0answers
52 views

what is the difference between non-executable transactions and executable transactions?

In geth doc I found this : --txpool.globalslots value Maximum number of executable transaction slots for all accounts (default: 4096) --txpool.accountqueue value Maximum number ...
4
votes
2answers
50 views

Prove that a solidity function was executable in the past

I was wondering if anyone knows a way of how to prove that a certain function of a solidity smart contract was executable (i.e. not reverting) after the fact without calling the function itself, e.g. ...
4
votes
0answers
44 views

What's the point of Truffle Migrations?

I've been reading a few articles and StackExchange posts (e.g. What are truffle migrations?) about Truffle Migrations, but I still don't get it: why do we need them? It seems they do only one thing (...
4
votes
0answers
75 views

`eth_getTransactionReceipt` returns the transaction hash not the receipt

I use sol-coverage in a truffle project. Ganache is my development blockchain. I have a lot of tests which end up doing more than a few thousand JSON RPC calls. Due to unbeknownst reasons, the ...
4
votes
2answers
52 views

Is there an ethereum android wallet where I don't have to manually add in tokens I have and just auto detects it?

Using coinomi or even metamask on chrome is quite annoying as I need to manually add in tokens I have in my account and it doesn't auto show up. Is there an android or desktop ethereum wallet that ...
4
votes
0answers
121 views

How to generate a state root

I am trying to implement a Simplified World State Trie based on Merkle Patricia Tree. Take the following image for example there are four accounts address  value a711355   ...
4
votes
0answers
122 views

Error trying to synchronize geth clique client after shutdown

I'm working with a private network using geth clique clients. Each time a node shut downs, (after a power cut, or just killing the geth process), if a try to put it to work again, the node can't ...
4
votes
1answer
89 views

Get all transactions by recipient's address on a light client

I would like to continuously get the transactions sended to a specific address while using a light client. I underscore that I am talking about regular transactions, not the contract invocations. As ...
4
votes
1answer
294 views

Remix + Ganache - Cannot call one contract from another

I have an innocent looking contracts that work painlessly in Remix. Test contract can easily call Another if I use JavaScript VM in Remix. I also have ganache-cli running on port 7454. If I connect ...
4
votes
1answer
174 views

Can't debug transactions that fail during the Web3.js estimateGas() call? No Tx Hash

NOTE: I am doing my work with the Ganache v1.2.2 GUI client on a Linux Ubuntu 18.04 station. There are many revert errors that happen during the estimateGas() call that precedes the actual Web3.js ...
4
votes
1answer
565 views

Bootnode public address

I am trying to deploy an small private Ethereum network using geth. I have a server running geth configured as a miner in my local network. In the other side I have a droplet in DigitalOcean that I ...
4
votes
0answers
285 views

How to get Truffle to generate artifacts for contracts outside of project?

Say I have a contract MyToken.sol which has already been deployed to a public Ethereum network. Its source is maintained in an external repository and is included in my package.json file so that it ...
4
votes
0answers
316 views

Running a geth light client, how do I resolve the error: “No trusted canonical hash trie”?

I've been running a geth light client to deploy smart contracts through Truffle Migrations to mainnet. I'm getting: "Error: No trusted canonical hash trie". Any help in what this entails and how to ...
4
votes
3answers
281 views

Inability to verify contract with ABIEncoderV2 on Etherscan

Yesterday I deployed a contract to Ropsten (https://ropsten.etherscan.io/address/0x1fe59c223fa4e9781237f0f49a15ca598069cc30) that relies on V2 of the ABI encoder. Thus it includes statement pragma ...
4
votes
0answers
342 views

eth_getTransactionReceipt returns null only sometimes and only on my node, tx is successfully mined in

I'm having this strange problem and it may be related to the way my node is configured. I'm making calls to both infura and my own nodes like so: {'id': 123, 'jsonrpc': '2.0', 'method': '...
4
votes
0answers
254 views

Unable to Add 3rd Proof-of-Authority Sealer Node

I have a geth POA private blockchain setup and running with 2 sealer nodes. Now I have setup a 3rd node as a sealer, and ran the following command on the both existing sealer nodes clique.propose("...
4
votes
2answers
355 views

Capturing an event fired from a contract that was called from another contract

I'm trying calculate tax on arbitrary items/values. To do this I have a single contract is used as an 'Oracle' to get the tax from an external system. This contract defines functions to be called from ...
4
votes
0answers
421 views

web3.eth.getBlock returns null

I have a very similar problem as https://github.com/paritytech/parity-ethereum/issues/8788 When I use web3.eth.getBlock for the first 1 million and latest 50,000 blocks (approximately), I get the ...
4
votes
1answer
205 views

DEVp2p Wire Protocol tutorial on geth or Web3.js/Web3.py

I was looking to develop an application using ÐΞVp2p Wire Protocol and I'm having trouble finding an example or tutorial. I was able to find only ÐΞVp2p Wire Protocol's wiki. [Q] Does anybody has a ...
4
votes
1answer
133 views

Receive deployed contract address by transaction hash with JSON-RPC request

I want to receive deployed contract address by transaction hash. Transcation example - 0x996a683acd59a2ad17461f76ce0f387a89a5ac257ec5d667556219c6acc7f45a. As you can see this contract was deployed by ...
4
votes
0answers
339 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 ...
4
votes
0answers
166 views

Three related hypothetical security flaws in Casper: does the protocol allow them?

Casper attempts to solve the problem of "catestrophic crashes", where validators with more than 1/3rd of the voting weight go offline and thereby stop any more blocks from being validated, by using an ...
4
votes
0answers
157 views

Is it possible to trace a function call hitting revert?

It is possible to trace a transaction with debug_traceTransaction. But it needs the transaction hash, requiring it to be a transaction in first place. I'm debugging a function call that generates a ...
4
votes
1answer
282 views

Truffle hangs forever with parity with PoA

I'm trying to create a private chain using parity (PoA) and truffle but when I do truffle migrate it hangs forever with the following output: > [ > { > "jsonrpc": "2.0", &...
4
votes
1answer
620 views

Extremely slow geth mining and synchronization for private blockchain

I am constructing a very simple 2 nodes private Ethereum network to study the mining behaviour. The consensus algorithm is ethash. In order for the 2 nodes to discover each other, I also setup a ...
4
votes
3answers
160 views

Can a contract control another address?

Say I have control of addresses A and B, and I am writing contract C. When I deploy C on the blockchain, it will have it's own address, that can send and receive ether. But I want to have a method on ...
4
votes
2answers
860 views

Error! Unable to generate Contract ByteCode and ABI

Having issues verifying my token contract on etherscan.io. Receiving the following errors: Note: Contract was created during Txn# Result: Does not match the input creation bytecode found at this ...
4
votes
1answer
360 views

Truffle test fails to call the base function, wants the override

I have an extended ERC20 contract with ERC827 functions, which are overrides of ERC20 with an extra callback parameter. I have these two pairs of base/override functions: Base: function ...
4
votes
1answer
59 views

Is there a Plasma shared knowledge space?

And maybe somewhere one can follow the implementers shared knowledge space? Thanks

15 30 50 per page