All Questions
72 questions
15
votes
2
answers
6k
views
How to conditionally send ethers to another account post-hard-fork to protect yourself from replay attacks
The DAO contract was attacked on 17th June 2016 where the attacker drained about USD 50 million worth of ethers using a recursive call vulnerability in The DAO contract code.
The attacker drained ...
38
votes
5
answers
35k
views
How to explore all transactions for a given account?
After beeing able to check account balances, I am looking for a method to list all transactions for a given Ethereum account through json-rpc protocol. I haven't found any method suitable for that on ...
18
votes
4
answers
9k
views
How to schedule a transaction?
Anyone can guide me on how to schedule a transaction to be sent once a specific block number is mined?
Thanks
14
votes
1
answer
3k
views
Why do some blocks contain no transactions?
While poking through my Geth logs I noticed that block 1,000,006 doesn't actually contain any transactions. Why is that?
9
votes
3
answers
7k
views
Convert an eth key to a geth key
I need to convert my eth key to a geth key.
eth put the key in %appdata%\roaming\Web3\keys, and I see it as a .json file. If I move that to the %appdata%\roaming\Ethereum\keystore directory, geth ...
37
votes
8
answers
78k
views
Insufficient funds for gas * price + value
Sending Address has over 1 Eth in current Balance.
Using the Geth console, I can send many transactions of any amount less than .033
eth.sendTransaction({to:'...
9
votes
4
answers
6k
views
Optimal way of waiting for transactions to be mined in geth
I'm currently checking if a transaction has been mined using the following function (using web3.js):
function waitForTx(tx_hash) {
var result = null;
// This is not really efficient ...
7
votes
1
answer
10k
views
ETH sent to ETC address
I accidentally sent ALL my ETH on ETC address :(
6 months of mining gone :(
I sent from one exchange to fresh address on another exchange, but on ETC ...
Is there ANY way to track those coins?
I'm ...
5
votes
1
answer
3k
views
Listing transactions in a private blockchain?
In a private blockchain, is it possible to list the transactions based on from and to parameters in a transaction.
Is it possible to check the latest transaction from or to an address?
Also, is it ...
4
votes
1
answer
649
views
Can geth and eth share the same accounts and blockchain?
It appears when I have multiple ethereum clients installed, that they all have their own data, accounts and even their own copy of the blockchain.
Is it possible to share accounts and the blockchain ...
4
votes
1
answer
5k
views
How can I import geth accounts into eth?
I had two accounts under ~/.ethereum/keystore when I used geth a while ago.
I got a new PC, recompiled only the C++ version and I can't see my two accounts in eth.
web3.admin.eth.allAccounts() ...
2
votes
2
answers
3k
views
Can anybody Point out the Difference between Web3.eth.sendTransaction and web3.eth.signTransaction?
Do we need to sign the transaction by web3.eth.signTransaction after initiating transaction via web3.eth.sendTransaction.
for example:
when I do:
web3.eth.sendTransaction({
from: accs[0],
...
1
vote
1
answer
8k
views
I sent My ETC to my ETH address
I've sent a mistake ETC from ETH address from poloniex.
How do i do now.
This is my transaction (this is a fresh address)
http://gastracker.io/tx/...
19
votes
2
answers
16k
views
Geth - How to clear queued transactions?
When typing txpool on Geth I get:
{
status: {
pending: 15,
queued: 714
},
getStatus: function()
}
I don't even know why there are 714 queued transactions when there should be none. I ...
15
votes
3
answers
17k
views
Invalid sender error on private chain
I created a transaction in Go, signed it with a EIP155Signer signer, but when I try to publish the transaction through the Go client to the private blockchain, I get the error Invalid sender. Any idea ...
8
votes
2
answers
3k
views
What happens to transactions in orphaned/forked blocks?
From my investigation and reading a lot about this, it seems like the transaction is just removed and the ether returns back to some address. With Bitcoin, orphaned blocks are initially accepted by ...
7
votes
3
answers
26k
views
Sent ether from wallet to bittrex, 12 hours later no balance on bittrex [closed]
So I made an account on bittrex and I created a hex address so I could transfer over my ether, I went into my wallet and sent 0.1 ether to bittrex, 12 hours later my bittrex account still shows a 0 ...
6
votes
2
answers
10k
views
How to install eth on debian? (symbol lookup error)
I installed from the ubuntu ppa and got this error.
➜ ~ eth
eth: symbol lookup error: eth: undefined symbol: _ZN3dev3eth14EthashGPUMiner14s_numInstancesE
What can I do / check?
I'm on debian ...
6
votes
2
answers
3k
views
Difference between ERC 20 and ERC 721 transaction receipt
I want to fetch certain transaction logs from a local ethereum node. For that, I need to identify how to differentiate between ERC 20 and ERC 721 transaction receipts. From what I saw on Etherscan, i ...
5
votes
1
answer
13k
views
The ERC-20 Token Transfer might have Failed (ErrCode: unable to locate corresponding Transfer event log), check with sender
EtherScan.io is showing error: The ERC-20 Token Transfer might have Failed (ErrCode: unable to locate corresponding Transfer event log), check with sender.
Transactions are successful but users are ...
3
votes
1
answer
371
views
cpp-ethereum build error
I have cloned the cpp-ethereum in Linux (centOS) from git as follows as suggested in cpp-ethereum-develop cmake error
git clone https://github.com/ethereum/cpp-ethereum
cd cpp-ethereum
git ...
3
votes
1
answer
2k
views
How does (current block number - block number of a given transaction) gives the confirmation count?
I found a discussion here How do I get the number of confirmations on a transaction in geth or any other tool? that give the solution as:
web3.eth.blockNumber-web3.eth.getTransaction(<txhash>)....
2
votes
2
answers
381
views
The virus in my wallet
The virus in my wallet, when I transfer eth,my wallet will be emptied and the eth will be transferred to an unknown address.
I want to know if geth is running correctly,
and I don't know what it is
"...
2
votes
2
answers
476
views
Why immutable contracts [closed]
I'm a seasoned engineer, but quite new to blockchain technologies.
I'm trying to grasp the "why" and the real "value" of immutable contracts.
Never seen or heard of pieces of software being ...
1
vote
1
answer
1k
views
How to scan ether transfer from smart contract to my addresses programmatically?
Correct me if I am wrong, the transaction receipt contains only the log of contract events. So we can only use it to examine the internal transaction that produces a event.
How about ether transfer ...
1
vote
1
answer
334
views
cpp-ethereum-develop cmake error [duplicate]
I have downloaded "cpp-ethereum-develop" zip file from github and unzipped it.
While executing "cmake eth"
It gives the following error.
Unknown CMake command "eth_simple_add_executable".
CMake ...
0
votes
2
answers
800
views
How can I send tokens to large number of addresses?
I have to send 221,000 tokens (ERC20) to 6477 different addresses. Airdrop guy used some automatic sending app and that tells 1.94 ETH is needed as approx cost of operation to send all this.
Is there ...
0
votes
2
answers
1k
views
How to make an action to send record to my database?
I want all transaction of the tokens send to my database through smart contract.
For example, A send 10Token to B, it will show on blockchain, but I also want a function which smart contract will let ...
0
votes
1
answer
273
views
Ethereum Transaction for ERC20
If I want to airdrop the token to 10,000 addresses can we do it all under 1 transaction rather than 10,000 separate transactions all incurring separate fees.
Thanks
Amit M
11
votes
4
answers
18k
views
ethminer Failed to submit hashrate
I keep getting an error: ethminer Failed to submit hashrate :(
I am very new to this whole mining thing, and just want to learn more.
I am using:
Geth
Version: 1.5.0-unstable
ethminer version 1.2.7
...
11
votes
1
answer
4k
views
Sign raw transaction offline with C++ on arduino
I'm exploring the IoT side of the EVM. I've programmed Arduinos and ESP8266s to interact with a Geth JSON RPC. I'm trying to be minimalistic and avoid NodeJS on the Geth JSON server side. Currently ...
10
votes
2
answers
4k
views
How to resend a transaction not recognized by the network?
I've sent a simple transaction (no smart contract invocation) while my geth node had no peers attached. It created the transaction fine and returned a transaction identifier.
Even with many nodes ...
8
votes
1
answer
309
views
What does TheDAO counter-attack by spamming actually do? (suggested by Stephan Tual)
TheDAO is currently under attack and a counter-attack by spam has been suggested by Stephan Tual https://blog.slock.it/dao-security-advisory-live-updates-2a0a42a2d07b#.r3wg8cxlw
What does this code ...
8
votes
3
answers
1k
views
Is it possible to get contract messages from Geth?
When I use the etherchain.org API to get all the transactions in a block, it also returns contract messages. For example for block 911516, this call returns 7 transactions:
https://etherchain.org/...
8
votes
1
answer
2k
views
sendRawTransaction results in queued TXs
I attempted to send raw TXs via eth.sendRawTransaction API but get stuck. I'm using EthereumJS to generate and sign TXs, and indeed, I can submit TXs through eth.sendRawTransactin, but the TXs always ...
7
votes
1
answer
974
views
Why am i getting "removed tx from pool: low tx nonce or out of funds"?
The account I am using to submit the transaction has 10490 ETH (1.0585e+22 Wei). The transaction cost is 20477 Gas, and gas price is 300000000000.
Here is the output from Geth:
I0330 22:28:05.762119 ...
7
votes
3
answers
3k
views
Is there any c++ library for signing transactions?
I am working on light wallet in c++, and I am looking for a c++ library for signing transactions. I mean something where i will pass transaction and private key and it will return signed transaction ...
6
votes
2
answers
3k
views
Ethereum Merkle Patricia Trie (Extension node)
I do not have time to look through the source code right now. My questions is:
In Ethereum, when is the decision to replace part of a given path with an Extension-node made?
I suppose the sole idea ...
6
votes
2
answers
1k
views
Why are these transactions not broadcast in my private network?
There are 3 nodes in my development environment. I use eth.sendTransaction to post some transactions ,and it seems that the transactions are not broadcast to other nodes.
JSON-RPC Request is :
{"...
6
votes
2
answers
6k
views
Transaction receipt has contractAddress as null
I see that my transaction is mined. I am trying to store some data into a struct. The mining is successful, however, in the transaction receipt i see that the contract address is null. Is that an ...
6
votes
1
answer
934
views
Ethereum Merkle Patricia Trie and Hashes
In Ethereum, there's a hash of all of the 3 tries in each block.
Out of curiosity.
The docs state that the functionality is supposed to just provide a mapping between 160bit keys and values. I find ...
6
votes
0
answers
239
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
2
answers
905
views
return (bytes32,bytes32) , returns actual transaction address instead of the real data
I have attached my contract, which works fine on populus and compiles on geth. It is a simple source code: Test() function appends data into my linkedlist that is defined in my library. And get() ...
4
votes
1
answer
501
views
Is possible to transfer data between nodes using cpp-ethereum's whisper protocol?
Right now I am working on developing a standalone application in C++ using libraries of cpp-ethereum, I was looking at the source code for cpp-ethereum and an idea stuck into my mind that wouldn't it ...
4
votes
1
answer
5k
views
What does the extraData field of a block represent?
I am trying to save some data into a block.
The extraData field has a constant value since block 1.
Also where does the data parameter of sendTransaction() function get stored?
4
votes
1
answer
4k
views
How to send transactions to a private network?
I have set up a private blockchain on a local network.
I have a node running on an Android smartphone and another on Windows 7, I use Geth on both.
I send Ether with the method eth.sendTransaction() ...
4
votes
1
answer
4k
views
Web3: Get token address from pair address
I am studying all listed pairs on Pancakeswap. I get the pair address from
PCS_FACTORY_ADDRESS="0xca143ce32fe78f1f7019d7d551a6402fc5350c73"
PCS_FACTORY_ADDRESS = Web3.toChecksumAddress(...
3
votes
1
answer
2k
views
How can I receive ETH at Mist sent from other wallet
I want to receive ETH in my Mist account to test ETH transfer. But it doesn't work well so far.
I tried to send ETH to my Mist account from other bitcoin and ETH transfer service. but I cannot receive ...
3
votes
3
answers
4k
views
How to make transaction using private key and address using web3j
I have a private key and address . Is it possible to make transaction with these parameter using web3j.
3
votes
1
answer
5k
views
Get history of transactions to specific account [duplicate]
I am using web3.js and geth to do my coding. I have an Ether Account (Not a Wallet Contract) that will be receiving funds from clients. The clients will be writing a number in the DATA field (that you ...