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 ...
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 ...
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.
user avatar
  • 4,409
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 ...
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....
user avatar
  • 6,006
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 ...
user avatar
  • 3,278
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/...
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 ...
user avatar
  • 1,320
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 ...
user avatar
  • 2,501
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 ...
user avatar
  • 1,320
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 ...
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 ...
user avatar
  • 3,278
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 ...
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 ...
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 ...
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 ...
user avatar
  • 2,317
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 ...
user avatar
  • 2,317
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 ...
user avatar
  • 2,317
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 ...
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 ...
user avatar
  • 3,364
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
user avatar
  • 480

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