-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authority node #70
Merged
Merged
Authority node #70
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DeepCode Report (#612be4)DeepCode analyzed this pull request. |
124922c
to
94779d6
Compare
- frontend-container cann call backend container an trigger it to run a shell script
… container, all running on separate ports
- cannot find other nodes
…e everything else works
…me network - makes them discoverable
- also cleanup
- don't commit /wallet/sealer*
- should be fetched from the auth backend
- dete dockrrode stuff - remove dummy script
- /chainspec will fetch the chainspec and write it to a file - /peer will trigger an RPC call to the running chain to register node - updated /register, will read wallet address from keyStore file and send it to auth backend
…nnot access other services (auth backend)
- also subscribe to nr of sealers - allow step change when enough sealers
…l sealers (incl. parity-node)
- backend also needs .env file
6a804ff
to
612be42
Compare
The following steps will be developed in a separate branch:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Okay boys, my little Docker experiment has arrived:
What's new:
projects
poa-blockchain
: has all pre-created keyStore files for the parity blockchain and scripts to start multiple nodessealer
: represent the actual sealer node with afrontend
,backend
andparity-node
Dockerfile
as you can onlydocker run parity/parity
as normal user, and I had to copy over key files... Docker: run parity as normal user openethereum/parity-ethereum#9689sealer/parity-node/docker-compose.yml
file. A single node is started withrun.sh <sealerNr:int>
. This script will copy thechainspec.json
and the needed keys inside the local folders. Then it will generate a temporary.env
file with variables for thedocker-compose.yml
.poa-blockchain/scripts/dev-chain.sh
sealer/parity-node/docker-compose.yml
are put on the same network (that took forever for me to realize xD i previously had all nodes running but apparently on different networks, such that they could never peer, even tough the RPC call was successful each time)poa-blockchain/scripts/start-sealer.sh $1
runs thedocker-compose.yml
insidesealer
. This spins up a frontend and backend. It's configured such that all requests from the frontend go to the correct backend. This can be done multiple times for different sealers.TODO: