neodix42/ton4j

Synchronized syncAndRead

Closed this issue · 1 comments

INFO: Synchronized: 78.07%
9月 19, 2024 2:46:02 下午 org.ton.java.tonlib.Tonlib syncAndRead
INFO: Synchronized: 78.14%
9月 19, 2024 2:46:05 下午 org.ton.java.tonlib.Tonlib syncAndRead
INFO: Synchronized: 78.21%
9月 19, 2024 2:46:08 下午 org.ton.java.tonlib.Tonlib syncAndRead
INFO: Synchronized: 78.28%
9月 19, 2024 2:46:10 下午 org.ton.java.tonlib.Tonlib syncAndRead
INFO: Synchronized: 78.35%
9月 19, 2024 2:46:13 下午 org.ton.java.tonlib.Tonlib syncAndRead
INFO: Synchronized: 78.42%

Why do we have to repeatedly load every time, which can cause slow execution

This is how tonlib works, it has to be synchronized with the network first.
However, next time you can avoid syncing by setting.ignoreCache(false) in Tonlib.builder