Comments (7)
Hello,
On the first start the wallet receives last block from fullnode server and scans blockchain starting from received block number.
You may replace block number in the db using mentioned command, make sure you stop tron-shkeeper before adjusting the block by running kubectl -n shkeeper scale --replicas=0 deploy tron-shkeeper
and then start it again with kubectl -n shkeeper scale --replicas=1 deploy tron-shkeeper
.
from shkeeper.io.
Hello,
Actually you already can use a Lite Fullnode snapshot (e.g. from http://47.89.178.46/backup20230503/) with tron fullnode that is deployed by Shkeeper chart (starting from chart version 1.2.36 and java-tron image version GreatVoyage-v4.7.1.1).
Please let me know if you need a detailed description how to run Lite Fullnode instead of regular Fullnode.
from shkeeper.io.
Yes, if you don't mind
I would like to get information on how to configure values.yaml for Lite FullТode for TRON and ETH
I tried to set it up myself but failed
from shkeeper.io.
If you have Tron fullnode or light fullnode outside of cluster you need:
tron_fullnode:
url: http://<external-fullnode-hostname>
If you want to have lite fullnode in cluster, you start with:
tron_fullnode:
enabled: true
Download latest lite fullnode snapshot from http://47.89.178.46/:
wget http://47.89.178.46/backup20230503/LiteFullNode_output-directory.tgz
Unpack it:
tar xzvf LiteFullNode_output-directory.tgz
Stop java-tron:
$ kubectl -n shkeeper scale --replicas=0 deploy java-tron
Delete all blockchain data:
rm -r /var/lib/rancher/k3s/storage/pvc-<......>_shkeeper_output-directory/*
Copy blockchain database from archive to pvc:
cp -r output-directory/database /var/lib/rancher/k3s/storage/pvc-<......>_shkeeper_output-directory/
Start java-tron:
$ kubectl -n shkeeper scale --replicas=1 deploy java-tron
I haven't found a way to use Ethereum fullnode in prune/lite mode. Looks like lite node is broken after the Merge and prune mode is not implemented yet.
from shkeeper.io.
thanks, it works!
I did everything as you indicated. even the transactions that I made this week have already been displayed. but the wallet is still in the process of syncing and constantly downloads something over the network
is this normal, will it continue like this?
Sync In Progress (51028546 blocks behind)
it seems to me that this is not normal, because I have specified a remote node that is already synchronized
it is not at all clear why he writes that (51028546 blocks behind) when the current block is 50882219
why is there such a large number of blocks. when are there fewer blocks in total?
from shkeeper.io.
Hi,
Perhaps tron wallet last seen block was set to 0 and now it catches up. You may check it with:
# sqlite3 /var/lib/rancher/k3s/storage/pvc-65d64be9-b08f-4815-9afa-a02efdcc6ab9_shkeeper_tron-shkeeper-data/database.db 'select * from settings'
last_seen_block_num|50893163
If it is too far in the past you may adjust it by running:
# sqlite3 /var/lib/rancher/k3s/storage/pvc-65d64be9-b08f-4815-9afa-a02efdcc6ab9_shkeeper_tron-shkeeper-data/database.db 'update settings set value="50893163" where name="last_seen_block_num"'
50893163 is a latest block seen by my wallet.
from shkeeper.io.
I got this result
last_seen_block_num|94361
current_server_id|0
this means that now the wallet is located on 94361 blocks, which was many years ago. even though I downloaded LiteFullNode and it didn't apply automatically?
I need to install the right block from which I want to start syncing. and it will start syncing exactly from the block that I specify?
I'm sorry that I ask so many questions, I just want to make sure of my actions
from shkeeper.io.
Related Issues (20)
- Suggestion for using Lite full node instead of full node HOT 2
- On aarch64 HOT 1
- Bug(hot): there is no difference which coin to send HOT 10
- Tron USDT received tokens appear in transaction but doesn't appear in balance HOT 6
- Don't try to send callbacks for OUTGOING invoices
- Bug: what are the problems with LTC HOT 1
- ETH/BNB seem to be broken in latest release. HOT 4
- Idea: import/export private key | backup | restore HOT 3
- Tron TRC20 USDT new address for orders? HOT 1
- What is /tx-info/<txid> status based on? HOT 1
- how to deploy shkeeper.io HOT 14
- Helm chart - Secret "password" is missing in shkeeper-btc-key
- How to connect shkeeper with dogecoind
- How install eth? HOT 4
- several issues HOT 10
- [Bug] The output that was not recorded in the database. but it was committed on the blockchain HOT 2
- [Bug] Small balance HOT 1
- Deployment won't run after server upgrade HOT 4
- How install eth testnet environment HOT 2
- Improvement Proposal for Helm Installation Document
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shkeeper.io.