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.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 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
33 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 ...
0
votes
1answer
39 views

Transaction stuck because of low gas price

i accidentally put the lowest gas price possible when i am about to send my eth.. is there any way to cancel / re-make my transaction?? i have read some articles telling that i should out-gassed my ...
0
votes
1answer
17 views

Can using getTransactionCount() + 1 prevent waiting for pending transactions?

I tested sending multiple transactions with a low time gap, and I knew that they will wait for previous transactions to be confirmed. I did not use Nonce in the transaction code as it is optional. But ...
1
vote
0answers
10 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
1answer
13 views

What's the max number allowed as nonce? [duplicate]

I tried to generate nonce using this formula, so I can avoid 'underpriced' problem and nonce conflicts nonce: web3.utils.toHex( Math.round (Date.now() / 1000 - 1586000000) ), But simply these ...
0
votes
0answers
21 views

Invalid nonce and gaslimit

When i try to deploy a contract i get the following errors Skipping adding transaction to block because of gas limit: 0x7893d69159325fb60c90772c84b9e3c74a1627440d70e799fce81275066e8743 (limit: ...
1
vote
0answers
18 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 ...
0
votes
2answers
25 views

Should I use getTransactionCount() result in sendTransaction()? [duplicate]

As I read, getTransactionCount() returns the number of transactions sent from an address. Which of below items should I consider? Not to use returned nonce? Use the returned nonce number as a ...
0
votes
1answer
28 views

Simulating multiple transactions

I want to simulate sending multiple transactions at the same time to a smart contract and i'm wondering if, for example, sending 100 transactions from one address is the same as sending 1 transaction ...
0
votes
3answers
24 views

What happens with nonce if address have nonempty code and someone submits transaction from that address?

Ethereum Yellow Paper states: nonce: A scalar value equal to the number of transactions sent from this address or, in the case of accounts with associated code, the number of contract-...
0
votes
0answers
16 views

how can I retrieve the exact pending nonce from parity ethereum node?

please help me, the rpc method parity_pendingTransactions cannot return the result that I hope. https://github.com/paritytech/parity-ethereum/issues/11385
2
votes
1answer
97 views

What algorithm is used to generate nonce hash in genesis file?

When looking for information about the nonce property of the genesis file, everything says that it is a 64-bit string hash etc. But which algorithm is used to generate this hash ?
1
vote
1answer
13 views

Can consecutive transactions be mined on same block?

Can consecutive transactions of same EOA (Externally Owned Account) be mined at same block as below? TX1: nonce=0, Number_confrimed_Block=100 TX2: nonce=1, Number_confrimed_Block=100 TX3: nonce=2, ...
0
votes
1answer
189 views

the tx doesn't have the correct nonce. account has nonce of: 12 tx has nonce of: 3 - Ganache

I am trying to run my simple contract with different parameters (in the form of encoded signatures) and intends to put multiple transaction into ONE block. If I set Ganache GUI with automine option, ...
1
vote
1answer
21 views

How to check nonce include pending transactions?

I want to count nonce include pending transactions as following. Tx1 nonce=0 succeed Tx2 nonce=1 pending Tx3 nonce=2 pending Tx3 nonce=3 pending I am using api provided by etherscan, but it just ...
1
vote
1answer
68 views

Does nonce increase when the transaction fail?

DOes nonce increase when the transaction fail? TX1 nonce=0 succeed TX2 nonce=1 failed TX3 nonce=? What value of nonce will TX3 have? It will be appreciated if you explain the reason why.
2
votes
2answers
68 views

If a transaction ends up in an orphaned/forked block, what happens to subsequent transactions?

Suppose I sign and send several transactions using the following function: async function send(web3, account, transaction) { const options = { to : transaction._parent._address, ...
0
votes
0answers
20 views

Does a contract creation failure leave the target address with nonce 1?

When contracts are created, they start with nonce 1 not nonce 0. This is since the implementation of EIP-161. The ETH wiki page on nonces outlines what happens when a contract A tries to create a ...
0
votes
0answers
36 views

How to limit queued transactions in terms of waiting time and number?

I am trying to limit queued transactions in terms of waiting time (using --txpool.lifetime ) and in terms of number (using --txpool.globalqueue) but nothing works, I am using PoA with geth, I want to ...
2
votes
1answer
97 views

About transaction higher nonce than current nonce

I'm trying to build an Ethereum exchange service, so concurrent schedule is needed and nonce management is the most problem (another topic discussed about it). At specificed moment, I have large ...
0
votes
1answer
20 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 ?
2
votes
1answer
48 views

After a suicide operation, is contract’s nonce reset to 0?

Simple question, but I couldn’t find the answer in the yellow paper. Is it reset to 0 or is it kept at the latest value before destruction ?
0
votes
1answer
22 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
23 views

Sending multipe ETH transactions through an API?

Is there any Ether wallet management software or some kind of API service other than BitGo that I can use to send queued Ethereum transactions, rebroadcast them automatically if they are out of gas, ...
2
votes
1answer
72 views

Will nonce increase even when the transaction fail?

Will nonce increase even when the transaction fail? For example, nonce=0 -> tx succeed nonce=1 -> tx succeed nonce=2 -> tx fail Then I want to send a new raw transaction, should I assign ...
3
votes
2answers
214 views

What is the difference between account nonce and block nonce?

Block and accounts both use a value called "nonce" but they seem to represent something very different. For account I understand that the nonce is an integer quantity indicating the number of ...
1
vote
0answers
23 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 ...
0
votes
1answer
55 views

getTransactionCount return different response

geth version 1.8.27 The pending nonce is 8 at first, then I send a transaction and use eth.getTransactionCount to get the next pending nonce. > eth.getTransactionCount("...
0
votes
1answer
57 views

In bitcoin it's bad to reuse addresses (less security, as public key has already been revealed), how about ethereum? [duplicate]

In bitcoin it's bad to reuse addresses (less security, as public key has already been revealed), how about ethereum? Is the public key revealed when the first transaction (first nonce) is used?
1
vote
0answers
57 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....
0
votes
1answer
48 views

how does DAG affect the NONCE finding?what about fix the DAG size to 1G?

I'm going to decrease DAG size on private net, by change the algorithm.go code var datasetSizes = [maxEpoch]uint64{ 1073739904, 1082130304, 1090514816, 1098906752, 1107293056, 1115684224, ...
0
votes
0answers
14 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 ...
1
vote
2answers
32 views

is account nonce network dependent?

In Ethereum, does Account nonce depend on network? I mean for same address on different network, will there be different nonce?
1
vote
0answers
52 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 ...
1
vote
2answers
371 views

How to skip transactional nonce for private ethereum chain

We are using a private ehtereum chain on geth. It is mainly for the purpose of storing the values as part of transactions and distribute across our private network. However when we are sending ...
0
votes
1answer
45 views

How to rewrite my transfer transaction?

So I've made a simple tx to transfer. And it has been broadcasted. But I did not calculate the gas price properly so the tx is in still pending status. That seems takes long time. What if I make ...
0
votes
1answer
66 views

What is the beginning nonce on the Rinkeby Testnet?

I know that the nonce is representative of how many transfers an account has made and is 0 at the start on the mainnet. However, on testnets, such as the now decommissioned Morden where it was 2^20 I ...
1
vote
0answers
56 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 ...
0
votes
1answer
170 views

web3.py locally signed transaction rejected because of invalid nonce

I'm trying to sign locally a transaction to a smart contract method using web3.py. I'm using ganache and there is one interesting issue when I send a transaction as the contract deployer everything ...
0
votes
1answer
18 views

What does mining software do when two tx are sent in one block with incremented nonces, but the second tx relies on the completion of the first?

If I call approve and transferFrom on an ERC20 token in two transactions, with the nonces being 1 and 2, respectively, how do the miners know which to accept first? Do the miners choose the ordering ...
0
votes
1answer
21 views

Is a transaction valid if it was signed weeks in the past?

I'd like to add scheduled transactions functionality to my chrome extension, but I don't want to ask the user for password input every time a scheduled tx is sent. My idea is to create and sign ...
1
vote
1answer
116 views

account nonce - what if it did not exist? [duplicate]

I can't understand how account nonce actually avoids double spending. Every answer about this on the internet follow the pattern "If you only have 50 Eth and try to send 50 to A and 50 to B with ...
1
vote
1answer
154 views

Why store account nonce on chain instead of using timestamp to prevent replay attacks?

Why store account nonce on chain instead of using timestamp to prevent replay attacks, or any other random bit of information that will change thr hash and differentiate the transaction? As far as I ...
0
votes
2answers
42 views

Is there a service to guarantee that transactions are successful?

I have a node which I use to send transactions to the network. Those transactions are really important. They must go through at all cost. If I simply send the transactions, there is a chance that one ...
2
votes
1answer
60 views

Can anyone tell what might had gone wrong with the transaction below?

May I know what does this transaction mean? I am running this inside my private node. Running the same transaction repeatedly none stop. Sending on average 10 transactions / sec. So I had to keep ...
3
votes
1answer
33 views

A doubt about forks and mining

Suppose I'm mining a block, and I still don't find the nonce. Suddenly I receive the mined block from another node. But when I try to validate it, I find it's not right. So I discard it. What happens ...
2
votes
0answers
102 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 ...
0
votes
1answer
674 views

Deploy to mainnet with Truffle + Infura: nonce too low [duplicate]

I'm trying to deploy a very simply ERC20 token contract using Truffle and Infura and getting this: Running migration: 1_initial_migration.js Deploying Migrations... ... ...
0
votes
1answer
532 views

Transaction done, but nonce does not update and call to a function returns zero

I've used web3py to deploy a contract and send some transactions to it. I calculate the nonce this way: nonce = web3.eth.getTransactionCount(account, "pending") When I deploy the contract, ...