0
LITE_SERVER_UNKNOWN: cannot compute block with specified transaction: lt not in db
I am in the same situation, it seems that the server does not store the complete block data.
In addition, there is related error handling in tongo@1.4.1/liteap/client.go 648 line, but I didn’t understand it. The approximate code is as follows:
txs, err := c.GetTransactions(ctx, uint32(transactionCount), a, lastLt, ton.Bits256(lastHash))
if err != nil {
if e, ok := err.(liteclient.LiteServerErrorC); ok && int32(e.Code) == -400 { // liteserver can store not full history. in that case it ret...
one year ago