xtar
8 лет назадРегистрация witness'а в Голосе - Видео [HD]
Данное видео поможет новичкам настроить Witness ноду. Уже протестировано, одному человеку помогло.
Текст для copy-paste:
./golosd --replay-blockchain &
./cli_wallet --server-rpc-endpoint="ws://127.0.0.1:9090"
set_password "asdasd"
unlock asdasd
import_key PRIVATE_ACTIVE_KEY_FROM_GOLOS
suggest_brain_key
update_witness "xtar" "https://test.golos.io/@xtar" PUBLIC_BRAIN_KEY {"account_creation_fee":"3.000 GOLOS", "maximum_block_size":65536, "sbd_interest_rate":1000} true
Потом идем в config.ini и прописываем там :
witness = "xtar"
private-key = PRIVATE_BRAIN_KEY
Пример рабочего конфига config.ini:
# Endpoint for P2P node to listen on
p2p-endpoint = 0.0.0.0:4243
# Maxmimum number of incoming connections on P2P endpoint
# p2p-max-connections =
# P2P nodes to connect to on startup (may specify multiple times)
seed-node = 95.85.13.229:4243
seed-node = 146.185.148.114:4243
seed-node = 95.85.33.35:4243
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =
# Endpoint for websocket RPC to listen on
rpc-endpoint = 127.0.0.1:9090
# Endpoint for TLS websocket RPC to listen on
# rpc-tls-endpoint =
# The TLS certificate file for this server
# server-pem =
# Password for this certificate
# server-pem-password =
# API user specification, may be specified multiple times
# api-user =
# Set an API to be publicly available, may be specified multiple times
public-api = database_api login_api network_broadcast_api follow_api market_history_api tag_api
# Plugin(s) to enable, may be specified multiple times
enable-plugin = witness account_history tags follow market_history
# Maximum age of head block when broadcasting tx via API
max-block-age = 200
# Defines a range of accounts to track as a json pair ["from","to"] [from,to]
# track-account-range =
# Ignore posting operations, only track transfers and account updates
# filter-posting-ops =
# Track account statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
account-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
# How far back in time to track history for each bucker size, measured in the number of buckets (default: 100)
account-stats-history-per-bucket = 100
# Which accounts to track the statistics of. Empty list tracks all accounts.
account-stats-tracked-accounts = []
# Track blockchain statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
chain-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
# How far back in time to track history for each bucket size, measured in the number of buckets (default: 100)
chain-stats-history-per-bucket = 100
# Database edits to apply on startup (may specify multiple times)
# edit-script =
# RPC endpoint of a trusted validating node (required)
# trusted-node =
# Set the maximum size of cached feed for an account
follow-max-feed-size = 500
# Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
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)
market-history-buckets-per-size = 5760
# Defines a range of accounts to private messages to/from as a json pair ["from","to"] [from,to)
# pm-account-range =
# Enable block production, even if the chain is stale.
enable-stale-production = true
# 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 = "xtar"
# 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 = 2
# WIF PRIVATE KEY to be used by one or more witnesses or miners
# private-key = 5JMinxLkX8rPqUdooYmKs9Er1MEPJFQ2CLNg69QHwhr9DsbfiCZ
# Account creation fee to be voted on upon successful POW - Minimum fee is 100.000 STEEM (written as 100000)
miner-account-creation-fee = 3000
# 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 =
# SBD interest rate to be vote on upon successful POW - Default interest rate is 10% (written as 1000)
# miner-sbd-interest-rate =
# declare an appender named "stderr" that writes messages to the console
[log.console_appender.stderr]
stream=std_error
# 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
# 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=warn
appenders=stderr
# route messages sent to the "p2p" logger to the p2p appender declared above
[logger.p2p]
level=warn
appenders=p2p
Если видео вам помогло, либо если вы хотите выразить благодарность автору, поддержите моего кандидата-делегата, ник xtar. Заранее благодарю! =)