Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WeBASE交易流程 #4384

Open
shangwu102 opened this issue Apr 17, 2024 · 1 comment
Open

WeBASE交易流程 #4384

shangwu102 opened this issue Apr 17, 2024 · 1 comment

Comments

@shangwu102
Copy link

shangwu102 commented Apr 17, 2024

今天,我像往常一样调用智能合约来测试功能,突然发现我的高度和交易不一致了,
image

我想知道为什么,我看FISCO-BCOS官方文档上说交易确认时延是秒级的
image

也就是说一笔交易就可以生成一个区块?那为什么区块高度和交易数量不一致了?
还有就是 这个控制台命令(tx_count_limit)的作用是什么? 在FISCO-BCOS中如何做到一个区块包含多比交易?

@kyonRay
Copy link
Member

kyonRay commented Apr 18, 2024

正常情况下,共识会在500ms触发一次打包过程,只要交易池内有交易就会生成一个新的块,不论交易多少,tx_count_limit是用于限制打包时区块包含交易的数量。当交易压力足够大,每次出的块就能包含多笔交易。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants