Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Scheduler and watchdog
Added watchdog (with Dockerfile) for monitoring block production in bash using only an API. Added bash script for pushing data to a price feed oracle (oracle_feed.sh, can be run from scheduler below). Added Docker container for running scheduled tasks, using cron. It's damn cool! Added a chain-aware claim script that can be run from the scheduler. Made patroneos config run-time based on environment variables. Fewer config files! Started working on generating nodeos config at run-time based on environment variables.
- Loading branch information
1 parent
0bf1609
commit 9e79400
Showing
106 changed files
with
1,803 additions
and
861 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
NODEOS_ROOT=/private/var/eosio | ||
NODEOS_DATA_ROOT=$NODEOS_ROOT/data | ||
NODEOS_CONFIG_ROOT=/Users/samnoble/Dev/EOSDublin/wax-tools/config/nodeos | ||
NODEOS_DOCKER_IMAGE=waxtools/nodeos | ||
NODEOS_GELF_ENDPOINT=0.0.0.0:12201 | ||
NODEOS_LOGGING_LEVEL=info | ||
|
||
OS_GROUP_EOSIO=eosio |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,16 @@ | ||
################################################################################ | ||
# | ||
# Created by @i-love-to-code from eosDublin for the WAX Netowrk | ||
# Visit https://github.com/wax-tools/nodes for details. | ||
# Created by Sam Noble for eosdublinwow https://eosdublin.com | ||
# Visit https://github.com/wax-tools for details. | ||
# | ||
# This file serves as the base configuration for an EOSIO node. | ||
# | ||
################################################################################# | ||
# | ||
# NOTE: An EOS node should not directly expose it's internal HTTP server to the | ||
# public internet. Place nodeos behind a reverse proxy | ||
# public internet. Place nodeos behind a reverse proxy, e.g. | ||
# https://github.com/eosdublin/cerberus for more details. | ||
# | ||
################################################################################ | ||
|
||
# Plugins | ||
plugin = eosio::net_plugin | ||
plugin = eosio::net_api_plugin | ||
plugin = eosio::db_size_api_plugin | ||
plugin = eosio::http_plugin | ||
plugin = eosio::chain_plugin | ||
plugin = eosio::chain_api_plugin | ||
plugin = eosio::producer_plugin | ||
plugin = eosio::producer_api_plugin | ||
|
||
################################################################################ | ||
# | ||
# - User Config - | ||
# Set the following parameters to suit your setup | ||
# | ||
################################################################################ | ||
|
||
# eosio::chain_plugin | ||
chain-state-db-size-mb = 16768 | ||
reversible-blocks-db-size-mb = 128 | ||
|
||
# eosio::http_plugin | ||
http-server-address = 0.0.0.0:8888 | ||
|
||
# eosio::net_plugin | ||
agent-name = "wax-testnet-api-1" | ||
|
||
# p2p peer addresses | ||
p2p-peer-address = testnet.waxsweden.org:59676 | ||
p2p-peer-address = testnet2.waxsweden.org:59676 | ||
p2p-peer-address = wax-testnet.eosphere.io:9815 | ||
p2p-peer-address = wax-test-p2p.eosdac.io:9811 | ||
p2p-peer-address = testnet.wax.pink.gg:9875 | ||
p2p-peer-address = peer.waxtest.alohaeos.com:9876 | ||
p2p-peer-address = waxtest.eosn.io:9876 | ||
p2p-peer-address = waxp2p-testnet.eoscafeblock.com:9050 | ||
p2p-peer-address = testnet.wax.eosrio.io:18032 | ||
p2p-peer-address = wax-test.eossweden.eu:9062 | ||
p2p-peer-address = wax.testnet.dublin.io:9876 | ||
p2p-peer-address = waxtestnet.greymass.com:45777 | ||
p2p-peer-address = wax-p2p.hkeos.com:59876 | ||
p2p-peer-address = p2p.waxtestnet.everstake.one:9876 | ||
p2p-peer-address = wax-testnet.dapplica.io:9877 | ||
|
||
################################################################################ | ||
# | ||
# - Advanced Configuration - | ||
# Curiouser and curiouser! | ||
# | ||
################################################################################ | ||
# | ||
# eosio::net_plugin | ||
# | ||
# The network plugin is required to connect to other nodes in order to receive blocks. | ||
# | ||
################################################################################ | ||
|
||
connection-cleanup-period = 10 | ||
sync-fetch-span = 150 | ||
p2p-max-nodes-per-host = 5 | ||
max-clients = 250 | ||
|
||
################################################################################ | ||
# | ||
# eosio::chain_api_plugin | ||
# eosio::chain_plugin | ||
# | ||
# The chain plugin and chain API plugin are required to store chain information and then | ||
# serve it up over HTTP | ||
################################################################################ | ||
|
||
abi-serializer-max-time-ms = 2000 | ||
wasm-runtime = wabt | ||
|
||
################################################################################ | ||
# | ||
# eosio::http_plugin | ||
# | ||
# The HTTP plugin allows nodeos to service HTTP requests, forwarding them on to the respective plugin. | ||
# The HTTP server should be assumed to be insecure and always run behind a reverse proxy. | ||
################################################################################ | ||
|
||
verbose-http-errors = true | ||
http-validate-host = false | ||
access-control-allow-origin = * | ||
access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept | ||
# Put yo config mjeh! |
11 changes: 0 additions & 11 deletions
11
...ig/nodeos/wax-testnet-api/protocol_features/BUILTIN-DISALLOW_EMPTY_PRODUCER_SCHEDULE.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-FIX_LINKAUTH_RESTRICTION.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-FORWARD_SETCODE.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-GET_SENDER.json
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-NO_DUPLICATE_DEFERRED_ID.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-ONLY_BILL_FIRST_AUTHORIZER.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...ig/nodeos/wax-testnet-api/protocol_features/BUILTIN-ONLY_LINK_TO_EXISTING_PERMISSION.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-PREACTIVATE_FEATURE.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-RAM_RESTRICTIONS.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-REPLACE_DEFERRED.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-api/protocol_features/BUILTIN-RESTRICT_ACTION_TO_SELF.json
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,16 @@ | ||
################################################################################ | ||
# | ||
# Created by @i-love-to-code from eosDublin for the WAX Netowrk | ||
# Visit https://github.com/wax-tools/nodes for details. | ||
# Created by Sam Noble for eosdublinwow https://eosdublin.com | ||
# Visit https://github.com/wax-tools for details. | ||
# | ||
# This file serves as the base configuration for an EOSIO node. | ||
# | ||
################################################################################# | ||
# | ||
# NOTE: An EOS node should not directly expose it's internal HTTP server to the | ||
# public internet. Place nodeos behind a reverse proxy | ||
# public internet. Place nodeos behind a reverse proxy, e.g. | ||
# https://github.com/eosdublin/cerberus for more details. | ||
# | ||
################################################################################ | ||
|
||
# Plugins | ||
plugin = eosio::net_plugin | ||
plugin = eosio::net_api_plugin | ||
plugin = eosio::db_size_api_plugin | ||
plugin = eosio::http_plugin | ||
plugin = eosio::chain_plugin | ||
plugin = eosio::chain_api_plugin | ||
plugin = eosio::producer_plugin | ||
plugin = eosio::producer_api_plugin | ||
|
||
################################################################################ | ||
# | ||
# - User Config - | ||
# Set the following parameters to suit your setup | ||
# | ||
################################################################################ | ||
|
||
# eosio::producer_plugin | ||
signature-provider = your_pub_key=KEY:your_private_key | ||
producer-name = your_producer_name | ||
last-block-time-offset-us = 0 | ||
max-transaction-time = 30 | ||
|
||
# eosio::chain_plugin | ||
chain-state-db-size-mb = 16768 | ||
reversible-blocks-db-size-mb = 128 | ||
|
||
# eosio::http_plugin | ||
http-server-address = 0.0.0.0:8888 | ||
|
||
# eosio::net_plugin | ||
agent-name = "wax-testnet-producer-1" | ||
|
||
# p2p peer addresses | ||
p2p-peer-address = wax-testnet-seed:9876 | ||
p2p-peer-address = wax-testnet-api:9876 | ||
|
||
################################################################################ | ||
# | ||
# - Advanced Configuration - | ||
# Curiouser and curiouser! | ||
# | ||
################################################################################ | ||
# | ||
# eosio::net_plugin | ||
# | ||
# The network plugin is required to connect to other nodes in order to receive blocks. | ||
# | ||
################################################################################ | ||
|
||
connection-cleanup-period = 10 | ||
sync-fetch-span = 150 | ||
p2p-max-nodes-per-host = 5 | ||
max-clients = 250 | ||
|
||
################################################################################ | ||
# | ||
# eosio::chain_api_plugin | ||
# eosio::chain_plugin | ||
# | ||
# The chain plugin and chain API plugin are required to store chain information and then | ||
# serve it up over HTTP | ||
################################################################################ | ||
|
||
abi-serializer-max-time-ms = 2000 | ||
wasm-runtime = wabt | ||
|
||
################################################################################ | ||
# | ||
# eosio::http_plugin | ||
# | ||
# The HTTP plugin allows nodeos to service HTTP requests, forwarding them on to the respective plugin. | ||
# The HTTP server should be assumed to be insecure and always run behind a reverse proxy. | ||
################################################################################ | ||
|
||
verbose-http-errors = true | ||
http-validate-host = false | ||
access-control-allow-origin = * | ||
access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept | ||
# Put yo config mjeh! |
11 changes: 0 additions & 11 deletions
11
...deos/wax-testnet-producer/protocol_features/BUILTIN-DISALLOW_EMPTY_PRODUCER_SCHEDULE.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
config/nodeos/wax-testnet-producer/protocol_features/BUILTIN-FIX_LINKAUTH_RESTRICTION.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.