Hot answers tagged

10 votes
Accepted

Access to the mempool

You can view the mempool via this RPC API endpoint. You currently can't manipulate the mempool with the RPC API. You can change the mempool filter settings though (which are used to filter out ...
Stephen Andrews's user avatar
7 votes
Accepted

How are Smart Contracts saved for checking in future?

Am I understanding correctly, that I can store for example my rental contract as a Smart Contract and then it is made official with baking it with bakers? Like in all open blockchain systems, you ...
Amit Panghal's user avatar
7 votes
Accepted

Max lifetime of transactions in mempool?

In the current protocol there's a time to live of 60 blocks for every manager operation, after which they can no longer be included.
Arthur B's user avatar
  • 4,599
4 votes

How does Tezos manage its mempool?

Sure, "non-commutativity" has its challenges. Mempool management is closely aligned with incentive mechanism and thus the baker's strategy. In tezos, as far I know, endorsement operations have higher ...
Amit Panghal's user avatar
4 votes
Accepted

What is the mempool

The mempool is a part of the shell (it self a part of the node). The mempool is made of all transactions which have been submitted for inclusion in the chain but not included in a block yet by bakers....
Ezy's user avatar
  • 6,064
4 votes

Mempool management

I think that, currently, the choice of the operations included in a block is done to maximize fees-per-gas for transactions and originations, while all other operations (endorsements, votes, etc.) are ...
lefessan's user avatar
  • 3,308
3 votes
Accepted

Does an operation in the mempool expire after 60 or 64 blocks?

The right answer is 60 at the moment, as answered in: Max lifetime of transactions in mempool? This value is set by the protocol-dependent constant max_operations_ttl in: https://gitlab.com/tezos/...
Germán Delbianco's user avatar
3 votes
Accepted

Why won't transaction propagate to other nodes?

I don't agree that the mempool behavior indicate that the fee is all good. On the contrary. Public nodes like Giganode generally don't reject operations based on fee in the prevalidation, while most ...
Klassare's user avatar
  • 1,345
3 votes

transaction rejected by the mempool pre filter

Right, your fee is not high enough. Next time you think something like "is this the wrong fee?", let your next thought be like "I will try increasing the fee to see what happens." Hardcoding the fee ...
Tom's user avatar
  • 2,506
3 votes

How do baking node choose the transactions from the mempool

A baker is free to include whatever operations it wants, as long as they are valid. By default a baker want to create the block that generate the highest amount of fees (most bakers will also have a ...
Klassare's user avatar
  • 1,345
2 votes

Max lifetime of transactions in mempool?

NB: After the adoption of the Granada protocol, which halves the minimal time between blocks, the max_operation_ttl constant was doubled from 60 to 120 blocks, to roughly preserve the length of the ...
Germán Delbianco's user avatar
2 votes

Local operations vs remote operation

In general, there would be some logic to prioritize local operations versus remote operations. Yet, that would only be needed when a baker has both a baking slot, and the need to emit new operations ...
lefessan's user avatar
  • 3,308
2 votes

What are the bounds / restrictions on the mempool?

Currently, the cardinality of the valid operations set in the mempool is hard-coded at 2000. Whereas branch delayed operations (e.g. counter in the future, insufficient balance, etc.) are stored in a ...
vbot's user avatar
  • 86
2 votes

Is it still not possible to update or cancel a tx in the Tezos Mempool

Starting from Octez v12.0, a replace by fees feature will be available on the Octez shell implementation: https://gitlab.com/tezos/tezos/-/merge_requests/3968 This will enable the user to replace a ...
Germán Delbianco's user avatar
1 vote

Transaction stuck in mempool

TL;DR This doesn't make much sense for the most common failures of regular tez transfers, and without further detail (e.g. like the gas limit used in the operation, the version of the Octez node used ...
Germán Delbianco's user avatar
1 vote

Mempool streaming

tzflow.com uses the /chains/main/mempool/monitor_operations RPC to get a stream of operations submitted to the mempool of one representative node. As mentioned elsewhere here, the node closes this ...
Fred Yankowski's user avatar
1 vote
Accepted

Is it still not possible to update or cancel a tx in the Tezos Mempool

You can use the RPC to ban/remove an operation (The endpoint should be protected with an ACL for safety reasons). The RPC endpoint is POST /chains/main/mempool/ban_operation (This link includes the ...
Rodrigo Quelhas's user avatar
1 vote

Is it possible to chain transactions from an orbitary account in a single block

The best way to send multiple transactions from a single account is grouping them into a single operation. Note that only manager operations (transaction, delegation, origination, reveal) can be ...
Groxan's user avatar
  • 2,701
1 vote

Stuck transaction for more than 12 hours

Both transactions sent from your address have the same fee 0.01 tez that is not enough, taking into account the gas limit 50000. Try to set the fee 0.015 tez. If this doesn't help, it also can be a ...
Groxan's user avatar
  • 2,701
1 vote

stuck transaction error: Pre-validation error

Don't worry, your funds are safe. You need to wait a bit and then try again with a higher fee or lower gas_limit. Why did that happen? You sent a transaction with large gas_limit: 50000 (despite a ...
Groxan's user avatar
  • 2,701
1 vote
Accepted

What causes /mempool/monitor_operations to exit?

The node closes the stream when it changes its head. When a block (most often the just received one) is chosen as the new head, the mempool is reset. Operations included in blocks are removed, valid ...
Pierre Boutillier's user avatar
1 vote
Accepted

Tezos transactions life-time in mempool

Transactions should only live for 60 blocks within the mempool before being deleted. There have been reports in the bakers-slack of this not working correctly and some trx living for many thousands of ...
utdrmac's user avatar
  • 3,422
1 vote

Access to the mempool

I noticed that /chains/<chain_id>/mempool/pending_operations is not described anywhere in the official documentation. https://tezos.gitlab.io/api/rpc.html?highlight=mempool
Babell's user avatar
  • 500

Only top scored, non community-wiki answers of a minimum length are eligible