I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: Hot wallet balance not shown in front-end

dashed-slug.net Forums TurtleCoin Adapter extension support Hot wallet balance not shown in front-end Reply To: Hot wallet balance not shown in front-end

#9402
alexg
Keymaster

Hello,

Yes and no.

On the first cron run, the adapter queries the wallet-api starting from a blockheight of zero.

Then, on the next run, the adapter queries the wallet-api starting from the first block where there is a transaction relevant to your wallet. Thus, the wallet will not be scanned slowly starting from zero, but from a relatively recent block height.

On subsequent runs, the adapter looks for transactions in the next 1000 blocks. It always keeps track of the last known block height that was scanned successfully.

For TurtleCoin, this information is stored in the WordPress transient trtl-TRTL-settings-max-height. You can use wp-cli to check or modify this value, but this should not be necessary. In general, for forks of TurtleCoin, the max block height scanned is stored in trtl-SYMBOL-settings-max-height where SYMBOL is the coin’s ticker symbol.

If your wallet has some balance, this would not be immediately shown in the front-end. The front-end displays user balances, not the hot wallet balance of the wallet. To check if you have connected the coin adapter correctly, go to your admin screens at WalletsAdapters and check the hot wallet balance.

Hope this helps. Let me know if you have any more questions.

with regards