Comments (6)
make sure the way you instantiate BinanceDexApiNodeClientImpl
is correct
it should be like this
BinanceDexApiNodeClient binanceDexNodeApi = BinanceDexApiClientFactory.newInstance().newNodeRpcClient(BinanceDexEnvironment.TEST_NET.getNodeUrl(),BinanceDexEnvironment.TEST_NET.getHrp());
which you can find it in NodeClientExample
. And put BinanceDexEnvironment.PROD
instead if u need perform in prod env.
from java-sdk.
This is what I do, but occasionally there are timeout issues, is it because local synchronization is slower than network nodes?Can local blocks be slower than the network cause this problem?Or something...
from java-sdk.
This is what I do, but occasionally there are timeout issues, is it because local synchronization is slower than network nodes?Can local blocks be slower than the network cause this problem?Or something...
So you are trying connect to the full node which is running in your local env.? Then you should make sure this node is running normally, and whether the port you filled in is correct.27147
is the port being exposed as the rpc service of full node by default.
This is tutorial doc. for running a full node.
https://docs.binance.org/fullnode.html
from java-sdk.
Full node is correct.Data can be normally obtained, and transactions can be normally pushed to the blockchain.It's just that sometimes there's a return timeout and you can't get the results.I suspect the slow synchronization of the nodes.Sometimes nodes are 1000-2000 slower than blockchain explorer in querying blocknumber
from java-sdk.
What causes slow synchronization of nodes?In what ways can you speed up node synchronization?
from java-sdk.
What causes slow synchronization of nodes?In what ways can you speed up node synchronization?
Hi, Are you building your node?
- First please check your node do really lags. You can run
bnbcli status
to different nodes(your nodes and data seed nodes), check the height diff. - If so, can you past any logs of your running node?
from java-sdk.
Related Issues (20)
- Error on getting transactions by block height
- Update protobuf dependency version
- how to sign SetAccountFlag transaction
- How do I read private key from keystore?
- download third_part lib failed HOT 2
- Can't check wallet.
- use java-sdk can create BEP20(BSC)
- how can get address balance?
- 无法在工程中引入该依赖 HOT 1
- [WARNING] The POM for org.ethereum:ethereumj-core:jar:1.12.0-RELEASE is missing, no dependency information available HOT 2
- Please add jar files shaded with all dependencies in the releases section. HOT 6
- I used the official demon to query the wallet address information incorrectly HOT 2
- Bech32 format? HOT 1
- BinanceDexApiError[code=404,message=account not found] HOT 1
- Documentation
- 请问该项目还有大佬在维护吗? HOT 1
- > Hi! Here is my LTC Wallet address on LATOKEN:
- Discontinued
- Websocket data stream url not connected HOT 3
- 我也是这个问题,不知道怎么解决 I have the same problem, I don't know how to solve it HOT 1
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 java-sdk.