proximax-storage / java-xpx-chain-sdk

ProximaX Sirius-Chain Java SDK
Apache License 2.0
7 stars 1 forks source link

Support node pooling #117

Open tonowie opened 5 years ago

tonowie commented 5 years ago

at the moment BlockchainApi takes only one IP address of single node. SDK does not provide any support for fail-over to different node. It is simple to add multiple URLs but question is how should we detect situation that requires fail-over. Or should switch to different node be manual only?

Perhaps wrapper atop of BlockchainApi that would manage the reconnections and provide different api instances