bsc icon indicating copy to clipboard operation
bsc copied to clipboard

Why is transations always packed after T+2 blocks

Open skyh24 opened this issue 5 years ago • 9 comments

I am a dapp developer. I want to send transations after the event just from last block. But I try several ways, my block was always packed in block after T+2 block. It take too long to be packed. Can I packed my txn in the next block? Is there any ways to improve my latency? Or is the validator using proxy or block ordering?

skyh24 avatar May 20 '21 09:05 skyh24

No, you can't. This has been explained several times on this github. Always 2 blocks.

soltrac avatar May 20 '21 09:05 soltrac

No, you can't. This has been explained several times on this github. Always 2 blocks.

Do you have any ref for explain why?

skyh24 avatar May 21 '21 03:05 skyh24

@fjl @atoulme @reds Does Is there any particular design for bsc ?

skyh24 avatar May 21 '21 04:05 skyh24

@guagualvcha @yutianwu

skyh24 avatar May 21 '21 04:05 skyh24

Why does some txns can be packed in next block? Does the official have some validator endpoint? and is there any service to pack on chain faster? @guagualvcha @yutianwu

skyh24 avatar May 21 '21 06:05 skyh24

I can't find anything code about this logic, it maybe controled by the miners, that's unfair and be careful.

lvzhenxin2006 avatar May 25 '21 01:05 lvzhenxin2006

i have same question, pls help

ghost avatar Jul 26 '21 07:07 ghost

Would also be interested to learn more. Some months earlier, I tried sending Txs fast and it was possible to get in the same block as a new pending Tx from the mempool and about 0.3-0.5s latency between seeing a tx in the mempool and seeing an own one sent afterwards. Now this latency is > 2s every time and it is nearly impossible to get in the same block. Did they change something in the system?

cryptobrokering avatar Aug 03 '21 10:08 cryptobrokering

@skyh24 this has been discussed several times, how fast your transaction can be validated on-chain depends on network, topology, location, and the a lot of things we can not explain in this repo.

unclezoro avatar Nov 29 '21 12:11 unclezoro