Questions tagged [nonce]

A random number that is only used once. It is generated at the beginning of a communication by one communication partner and has to be sent back by the other one in order to prevent replay attacks.

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
585 views

geth throwing header invalid error all the time

lately my ethereum node is repeatedly throwing this error: E0811 16:44:00.646126 core/blockchain.go:1128] uncle[0](30508438) header invalid: nonce for #2004585 [...
3
votes
0answers
193 views

"Removed tx from pool: low tx nonce or out of funds" on deploy empty contract

First, I know that there is a similar question, but maybe we're talking about different problems. I'm running geth-1.4.3-stable. My account balance is: 1808.90008114 ether I want to deploy a ...
2
votes
0answers
30 views

Why is the EVM designed to have "private variables"?

In EVM, one contract is able to read code and balance of any addresses. However, storage and nonce of other addresses is not accessible. Since all states are public on the blockchain, why is EVM ...
2
votes
2answers
220 views

I keep getting nonce is too low when using truffle to call functions on contracts even though this works fine on remix.How can I fix this

I keep getting the nonce is too low when running functions with sub transactions on the kovan test net is there a way I can stop this from happening?these sub transactions are making transactions with ...
2
votes
1answer
432 views

Ethereum transaction sent from Ledger Nano X stuck because too low tranasction fee used

My ETH are STUCK. 48 hours ago i sent 31 ETH from my Ledger Nano X to my Coinbase account, but i choose the slowest and cheapest method that was diplayed into my ledger ( I don't remember how much gas ...
2
votes
0answers
53 views

Sending tokens out on coinpayments success payment using Web3py

I'm writing Django app and want to send out tokens using Web3 once Coinpayments sends me callback about successfull payment. The problem is that Coinpayments sends multiple callbacks at once and just ...
2
votes
0answers
88 views

How to calculate the value of mixhash in block header?

As of my knowledge how POW works is When mining the miner will have the hash1 which is block hash and he need to fine the hash2 which is hash of nonce (a random number). So that the root hash of ...
2
votes
0answers
158 views

Usage of web3 provider in multiple processes

I have web application and background queue that executes long lasting tasks. Both of them using truffle-privatekey-provider with same private key to sign/send transactions. Now I ma experiencing ...
2
votes
0answers
148 views

How to set the nonce in offline transaction?

Let's suppose, I already executed 48 Tx onchain and I signed an offchain Tx with nonce 49. Now, If: I don't sign the offchain Tx with nonce, the transaction will be invalid because every Tx must ...
2
votes
0answers
515 views

Does sendRawTransaction behave the same as sendTransaction with nonce parameter.

In the Javascript API wiki it states that if you send a transaction with sendTransaction() and the optional nonce parameter set you can overwrite your pending transaction. nonce: Number - (...
1
vote
0answers
53 views

Are transactions with too high nonce propagated to other nodes from local pool by parity?

I want to understand what happens with tx when I create tx with too high nonce. It's saved in a local queue, but do other nodes get the information about this tx? I don't know, can I remove tx from ...
1
vote
0answers
20 views

Why does proof of work targeted zeros always comes at the start of hash? why is it not in the middle or the end of hash?

My question is why always targeted zeros come at the start of hash of the block? I have never seen more than 2 zeros in middle or somewhere else in the hash of mined block... What's the reason?.... ...
1
vote
0answers
32 views

How to process null TransactionReceipt?

I have some transaction that is sent and from time to time when I call the eth_getTransactionReceipt I get a null. I see esentially two approaches for handling this: I could reiterate the call to ...
1
vote
0answers
107 views

Will miners meet the situation that they can not find the nonce?

Because the Nonce is uint64 in the Golang code. the code is here: // Compute the PoW value of this nonce digest, result := hashimotoFull(dataset.dataset, hash, nonce) if new(big....
1
vote
0answers
83 views

Handle nonce after RPC timeout

From time to time, I will be making some 5 ~ 10 tx/s on Ethereum via RPC interface. I have to handle the nonce manually because it cannot update fast enough. But I am facing issue below: From time ...
1
vote
1answer
502 views

Why is there a nonce and mixHash value in the genesis file?

I may not fully understand the genesis file. Why is there a nonce and mixHash value in the file if nothing is being mined? It was my impression the genesis file is used to bootstrap block 0, then ...
1
vote
0answers
2k views

Nonce Too Low, try incrementing nonce | Not able to send TRX

Can someone tell me how to correct a Nonce Too Low issue? I'm trying to send an ERC 20 TRX tokens that I have stored on my nano s ETC wallet and I'm not able to due to this low nonce. FYI I have ...
1
vote
0answers
277 views

Getting pending transactions even with nonce in sequence

I am running a private network with 5-9 seconds block time and no diff bomb. I am submitting thousands of transactions using a single node. The submission is managed by a job queue, and it happens at ...
1
vote
1answer
282 views

Why is the nonce uint64 and not big.Int in Geth?

Anyone knows why the nonce in geth is uint64 and not big.int? My main (and perhaps only) problem with this is that then the test-case "TransactionWithHihghNonce256" from: https://github.com/ethereum/...
0
votes
1answer
6 views

How do I get the PoW nonce of a specific block in solidity?

This question doesn't have an answer that shows how to get the PoW nonce for a specific block internally from within Solidity. From my understanding in Ethereum nonce is used for an account's tx ...
0
votes
0answers
17 views

Pending transactions remain pending forever?

I have a pending transaction stucked for more than 24 hours. I have receive advice on how to cancel it already so please do not answer me that advice again. Because it hasn't worked for me. Now my ...
0
votes
0answers
20 views

Why is eth_getTransactionCount nonce incorrect under load?

I'm calling eth_getTransactionCount via JSON RPC, and taking that value and trying to use it as nonce for a RawTransaction to send ETH. I'm running this against a ganache server. This happens in a ...
0
votes
0answers
12 views

Increment transaction count by more than one

With every transaction, the transaction count of an Ethereum address is incremented by one. Is there a way to increment it by a larger number in one step, for example going from 1 to 100 with a single ...
0
votes
1answer
732 views

Error encountered during contract execution [Out of gas]?

i have this address 0xb5f82127b5067f1019abd362ba812c0ef8196717 as you can see i have 3 transaction failed with this error : Warning! Error encountered during contract execution [Out of gas]. I was ...
0
votes
1answer
30 views

Infura out of sync

I have 13 transactions according to https://ropsten.etherscan.io/address/[my_account] and when I dispatch "eth_getTransactionCount" to https://ropsten.infura.io/v3/[my_project_id] (with &...
0
votes
1answer
30 views

How to correctly set nonce?

on an account with no transaction set yet, using getTransactionCount will return 0. Should I specify the first transaction with nonce 0 or 1? and on the next transactions after the above is mined, ...
0
votes
0answers
18 views

Nonce error after transaction that took 17 hours

A couple of days ago I sent an ERC20 token transaction that confirmed after 17 hours. It didnt fail however the nonce of that transaction was 5. So my next transaction should have the nonce of 6 but ...
0
votes
0answers
55 views

Does pending account nonce affect truffle contract deployments?

I have pending transactions with nonce 0,1,2,3. I am deploying a contract with truffle-cli, with relatively low gas, but enough for it to deploy, successsfully passes truffle's gas checks. But it just ...
0
votes
0answers
13 views

Bypass pending contracts in contract deployment?

I have 1 contract pending, and 1 contract queued for deployment due to low gas fees. I wish to deploy a 3rd contract that will bypass these two. The first contract has nonce 0. Sufficient gas fees ...
0
votes
0answers
59 views

How to fill transaction nounce gap for an EOA?

If for whatever the reason, one transaction submitted (say lost transaction with nonce N) was not mined into block. The consequence is that any transactions submitted after the lost transaction will ...
0
votes
0answers
629 views

Is it required to use multiple Etherem accounts to send transactions on behalf of customers to avoid pending transactions?

We are developing an Ethereum based exchange. In our project, customers put their orders to send ETH or ERC20 tokens to others, and we currently do these transactions via our Ethereum account on their ...
0
votes
0answers
139 views

Disabling nonce check for go-ethereum for a private test net when using web3js batch requests to send tx

I am using web3js batch.add and batch.execute to send tx for an ethereum private testnet that I have created. I send tx using batch.add and batch.execute (don't prefer to use promises since they ...
0
votes
0answers
88 views

If I have several wallets with the same address, how to deal with nonces?

I access Ethereum from several wallets. Some of the addresses are present in several wallets at once. I discovered that nonces should always increase. (Right?) Then if I send transactions from several ...
0
votes
1answer
30 views

Giving a big nonce in transaction doesn't return anything?

When we put a low nonce in transaction options we got "nonce too low", but when a put a big nonce (bigger then transaction count) we got anything why ?
0
votes
1answer
50 views

Is it possible to partially signed tx without nonce and then a third-party proxy will fill the right nonce?

As part of building managing nonce mechanism, we thinking about several approaches for issue tx from frontEnd without the need to wait till it mined before sending the next tx. Is it possible to ...
0
votes
0answers
25 views

How to verify access of child contracts?

I am using a factory A to produce child contracts. Now I want to guarantee that only these child contracts have access to a different contract B. Using the factory as a proxy is somehow a detour as I ...
0
votes
1answer
195 views

Transaction Pending and Dropped

I have a transaction pending from 4 days. I have tried to unlock following this answer: MyEtherWallet is pending and dropping. It looks like it is stuck in a loop for 2 days? Now the current nonce is ...
0
votes
1answer
2k views

How does metamask manage the multiple transaction with same address?

I'm struggling to implement the functionality which sends multiple transactions using the same address. here the from address is same but the to addresses are different. When I did research on this, I ...
0
votes
1answer
215 views

BlockCypher Account nonce too far behind transaction

I'm currently working on a DApp that involves sending transactions. I'm using BlockCypher to send the transactions since the API is fairly straight forward. One issue I'm finding is that when I run my ...
0
votes
1answer
45 views

Combined transactions executed together?

If I'm correct the nonce is responsible for the order transactions are executed. Let assume you have two transactions T1 & T2. T1 depends on T2. So I want to have an order T1 then T2. This is done ...