什么是内存池
-
-
可以在以下位置找到有关内存池的博客文章:https://medium.com/simplestaking/the-tezedge-node-a-deep-dive-into-the-mempool-part-1-1a01e3b9de9aA blog post on the mempool can be found here: https://medium.com/simplestaking/the-tezedge-node-a-deep-dive-into-the-mempool-part-1-1a01e3b9de9a
- 0
- 2020-06-30
- arvidj
-
1 个回答
- 投票数
-
- 2019-02-02
- 内存池由所有已提交以包含在链中但尚未被面包师包括在内的交易组成.
- 原则上,面包师可以选择mempool中的任何交易,因此,他们应该选择在gas限制和block大小限制的双重约束下使所收取费用最大化的交易.
- 现在,它直接由节点管理,该节点使您可以指定希望收取的最低费用以及其他费用参数.您还可以在此处查看有关费用的更多信息:原始003中的费用?
最后,给出了面包师用来在内存池中选择交易的算法的详细信息此处.
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.
- Bakers can in principle choose any transaction in the mempool so they should choose those that maximize the amount of fees they receive under the double constraint of the gas limit and block size limit.
- Right now it is managed directly by the node which lets you specify the min amount of fees you wish to receive and other fee parameters. You can also see here for more information on fees: Fees in proto 003?
Finally, details of the algorithm that bakers use to choose transactions in the mempool are given here.
-
该答案中的最后一个链接断开了,该链接详细介绍了贝克用于在内存池中选择事务的算法.你能更新一下吗?谢谢!The last link in this answer, which details the algorithm the baker uses to choose transactions in the mempool, is broken. Can you please update it? Thanks!
- 0
- 2020-02-04
- mikereinhart
-
没关系,这是-https://gitlab.com/tezos/tezos/-/blob/mainnet-staging/src/proto_006_PsCARTHA/lib_delegate/client_baking_forge.mlNevermind, here it is - https://gitlab.com/tezos/tezos/-/blob/mainnet-staging/src/proto_006_PsCARTHA/lib_delegate/client_baking_forge.ml
- 0
- 2020-02-04
- mikereinhart
我已经看到很多有关Tezos内存池的评论和问题,但是我没有看到关于内存池的清晰简洁的描述.
完整的答案应涵盖以下内容