Comments (3)
Yeah, setchain only changes the active chain in the user config. The thing about the daemon is that as it currently stands, the daemon can't switch chains like the rest of the wallet. There isn't a mechanism in place to make the daemon switch to the new set of servers.
That's why none of the commands that require a network connection have the --chain
optional argument available. The Network
class that controls the core behavior of this has no means of switching chains. It's something we're aware of, we just haven't agreed on the best solution.
Our known options are:
- Create functionality for the
Network
class to switch chains like the rest of Encompass. - Use one Network thread per chain.
The first option is the most intuitive, but the second option paves the way for a server managing multiple currencies at once. However, the second option comes with more complications as well. It would mean a lot more threads running concurrently (each server connected to also has its own thread).
Until we figure out the best solution, this issue will exist. At least this creates a place for discussion on the decision-making.
from encompass.
My interests would lean towards option 2.
A work around would be to run two instances of option 1 in parallel - but it wouldn't be as elegant as option 2.
from encompass.
@ELM4Ever For expediency I already implemented option 1. However, a way to run the daemon that supports having more than one coin network at a time is something I've been thinking about. It will likely be implemented in the future.
Keep this issue open in the meantime.
from encompass.
Related Issues (20)
- Requests Root to Install, Will Not Install on Root HOT 1
- Cannot switch chains from GUI when daemon is running HOT 1
- Latest Develop branch 20150613: can't change currency from GUI on a Trezor HOT 1
- stuck transaction HOT 10
- sending DASH fails HOT 2
- OSX El Capitan prevents command line install HOT 2
- Trezor not working on new OSX 0.6.0RC1 binary (pkg) HOT 5
- Validating Integrity and Authenticity of Encompass-0.5.0-OSX_Installer.pkg HOT 2
- Updates? HOT 7
- Multisignature Derivation compatibility with Electrum
- 0.5.0 importprivkey issue HOT 1
- 0.5.0 Windows dash payment issue HOT 11
- 0.5.0 Windows dash payment issue 2 HOT 2
- SSL certificates
- multisig with hardware wallets HOT 6
- namecoin and coloredcoin HOT 2
- Automated export of transaction ID [$200] HOT 24
- licensing infos for dependency ltc_scrypt HOT 11
- Command line not accepted when on Trezor wallet HOT 10
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 encompass.