streamingfast / node-manager

Wrapping process to operate blockchain nodes.
https://dfuse.io
Apache License 2.0
7 stars 9 forks source link

StreamingFast Node Manager

reference License

[!IMPORTANT] The code has moved to firehose-core, this repository still exists in read-only form so that older dependencies still resolves correctly.

This service is a wrapping process that operates blockchain nodes as part of StreamingFast.

Installation

Build and run from here:

Overview

1) Operator (process commands, owns the superviser, owns the http handlers that sends the commands to him)

2) Superviser is the the one managing the actual blockchain software (nodeos, geth..). It is made of an embedded generic superviser struct, plus specific nodeos/geth embedding it. It owns the plugins.

Shutdown pattern for Node-Manager only:

App creates:

So, the ownership is app -> operator -> superviser

Shutdown pattern for Mindreader:

App creates:

App sets:

So, the ownership is app -> operator -> superviser -> mindreader

Contributing

Issues and PR in this repo related strictly to the core manageos engine

Report any protocol-specific issues in their respective repositories

Please first refer to the general StreamingFast contribution guide, if you wish to contribute to this code base.

This codebase uses unit tests extensively, please write and run tests.

License

Apache 2.0