forked from Blurt-Blockchain/blurt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move appbase_test to steemd. Misc cleanup. No wallet in this build st…
- Loading branch information
1 parent
a3c8e81
commit 4bbdcda
Showing
49 changed files
with
637 additions
and
944 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
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,115 +1,82 @@ | ||
# this will need to increase depending on which plugins/apis you use | ||
# 16 GB should be sufficient for a consensus node | ||
shared-file-size = 16G | ||
|
||
# Endpoint for P2P node to listen on | ||
# p2p-endpoint = | ||
|
||
# Maxmimum number of incoming connections on P2P endpoint | ||
# p2p-max-connections = | ||
# Console appender definition json: {"appender", "stream"} | ||
log-console-appender = {"appender":"stderr","stream":"std_err"} | ||
|
||
# P2P nodes to connect to on startup (may specify multiple times) | ||
# seed-node = | ||
# File appender definition json: {"appender", "file"} | ||
log-file-appender = {"appender":"p2p","file":"logs/p2p/p2p.log"} | ||
|
||
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints. | ||
# checkpoint = | ||
|
||
# Endpoint for websocket RPC to listen on | ||
# rpc-endpoint = | ||
# Logger definition json: {"name", "level", "appender"} | ||
log-logger = {"name":"default","level":"info","appender":"stderr"} {"name":"p2p","level":"info","appender":"stderr"} | ||
|
||
# Endpoint for TLS websocket RPC to listen on | ||
# rpc-tls-endpoint = | ||
|
||
# The TLS certificate file for this server | ||
# server-pem = | ||
# Plugin(s) to enable, may be specified multiple times | ||
plugin = witness | ||
|
||
# Password for this certificate | ||
# server-pem-password = | ||
plugin = database_api | ||
|
||
# Block signing key to use for init witnesses, overrides genesis file | ||
# dbg-init-key = | ||
# Defines a range of accounts to track as a json pair ["from","to"] [from,to] Can be specified multiple times | ||
# account-history-track-account-range = | ||
|
||
# API user specification, may be specified multiple times | ||
# api-user = | ||
# Defines a list of operations which will be explicitly logged. | ||
# account-history-whitelist-ops = | ||
|
||
# Set an API to be publicly available, may be specified multiple times | ||
public-api = database_api login_api | ||
# Defines a list of operations which will be explicitly ignored. | ||
# account-history-blacklist-ops = | ||
|
||
# Plugin(s) to enable, may be specified multiple times | ||
enable-plugin = witness | ||
# the location of the chain shared memory files (absolute path or relative to application data dir) | ||
shared-file-dir = "blockchain" | ||
|
||
# JSON list of [nblocks,nseconds] pairs, see doc/bcd-trigger.md | ||
bcd-trigger = [[0,10],[85,300]] | ||
# Size of the shared memory file. Default: 54G | ||
shared-file-size = 16G | ||
|
||
# Defines a range of accounts to track as a json pair ["from","to"] [from,to] | ||
# track-account-range = | ||
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints. | ||
# checkpoint = | ||
|
||
# Ignore posting operations, only track transfers and account updates | ||
# filter-posting-ops = | ||
# flush shared memory changes to disk every N blocks | ||
flush-state-interval = 0 | ||
|
||
# Database edits to apply on startup (may specify multiple times) | ||
# edit-script = | ||
|
||
# RPC endpoint of a trusted validating node (required) | ||
# trusted-node = | ||
# edit-script = | ||
|
||
# Set the maximum size of cached feed for an account | ||
follow-max-feed-size = 500 | ||
|
||
# Block time (in epoch seconds) when to start calculating feeds | ||
follow-start-feeds = 0 | ||
|
||
# Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers | ||
bucket-size = [15,60,300,3600,86400] | ||
market-history-bucket-size = [15,60,300,3600,86400] | ||
|
||
# How far back in time to track history for each bucket size, measured in the number of buckets (default: 5760) | ||
history-per-size = 5760 | ||
|
||
# Defines a range of accounts to private messages to/from as a json pair ["from","to"] [from,to) | ||
# pm-account-range = | ||
market-history-buckets-per-size = 5760 | ||
|
||
# Enable block production, even if the chain is stale. | ||
enable-stale-production = false | ||
# The local IP address and port to listen for incoming connections. | ||
# p2p-endpoint = | ||
|
||
# Percent of witnesses (0-99) that must be participating in order to produce blocks | ||
required-participation = false | ||
|
||
# name of witness controlled by this node (e.g. initwitness ) | ||
# witness = | ||
|
||
# name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] ) | ||
# miner = | ||
|
||
# Number of threads to use for proof of work mining | ||
# mining-threads = | ||
|
||
# WIF PRIVATE KEY to be used by one or more witnesses or miners | ||
# private-key = | ||
# Maxmimum number of incoming connections on P2P endpoint | ||
# p2p-max-connections = | ||
|
||
# Account creation fee to be voted on upon successful POW - Minimum fee is 100.000 STEEM (written as 100000) | ||
# miner-account-creation-fee = | ||
# The IP address and port of a remote peer to sync with. Deprecated in favor of p2p-seed-node. | ||
# seed-node = | ||
|
||
# Maximum block size (in bytes) to be voted on upon successful POW - Max block size must be between 128 KB and 750 MB | ||
# miner-maximum-block-size = | ||
# The IP address and port of a remote peer to sync with. | ||
# p2p-seed-node = | ||
|
||
# SBD interest rate to be vote on upon successful POW - Default interest rate is 10% (written as 1000) | ||
# miner-sbd-interest-rate = | ||
# User agent to advertise to peers | ||
p2p-user-agent = Graphene Reference Implementation | ||
|
||
# declare an appender named "stderr" that writes messages to the console | ||
[log.console_appender.stderr] | ||
stream=std_error | ||
# The local IP and port to listen for incoming http connections. | ||
# webserver-http-endpoint = | ||
|
||
# declare an appender named "p2p" that writes messages to p2p.log | ||
[log.file_appender.p2p] | ||
filename=logs/p2p/p2p.log | ||
# filename can be absolute or relative to this config file | ||
# The local IP and port to listen for incoming websocket connections. | ||
# webserver-ws-endpoint = | ||
|
||
# route any messages logged to the default logger to the "stderr" logger we | ||
# declared above, if they are info level are higher | ||
[logger.default] | ||
level=info | ||
appenders=stderr | ||
# Enable block production, even if the chain is stale. | ||
enable-stale-production = false | ||
|
||
# route messages sent to the "p2p" logger to stderr too | ||
[logger.p2p] | ||
level=info | ||
appenders=stderr | ||
# Percent of witnesses (0-99) that must be participating in order to produce blocks | ||
required-participation = false | ||
|
||
# name of witness controlled by this node (e.g. initwitness ) | ||
# witness = | ||
|
||
# WIF PRIVATE KEY to be used by one or more witnesses or miners | ||
# private-key = |
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
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
Oops, something went wrong.