Steemit mining/node hangs on "Started witness node on a chain with 0 blocks"
mining·@sealtech·
0.000 HBDSteemit mining/node hangs on "Started witness node on a chain with 0 blocks"
I found several posts re this but they all seemed to be related to an issue in the config file with the endpoint ip not being set properly and mine seems to be the two files (blocks and index)in \steem\witness_node_data_dir\blockchain\database\block_num_to_block\ remain at 0kb Thanks when i run steemd.exe or steemd.exe --replay I get the following ``` 431216ms th_a main.cpp:119 main ] Error parsing logging config from config file C:\steem\witness_node_data_dir\config.ini, using default config 431216ms th_a main.cpp:158 main ] parsing options 431217ms th_a main.cpp:160 main ] initializing node 431218ms th_a main.cpp:162 main ] initializing plugins 431218ms th_a application.cpp:1014 initialize_plugins ] Initializing plugin account_history 431219ms th_a application.cpp:1014 initialize_plugins ] Initializing plugin witness 431221ms th_a witness.cpp:98 plugin_initialize ] witness plugin: plugin_initialize() begin 431223ms th_a witness.cpp:101 plugin_initialize ] _witnesses: ["sealtech"] 431223ms th_a witness.cpp:109 plugin_initialize ] m: ["sealtech","left this out on purpose"] 431240ms th_a thread.cpp:95 thread ] name: tid:388 431241ms th_a thread.cpp:95 thread ] name: tid:420 431241ms th_a thread.cpp:95 thread ] name: tid:380 431242ms th_a thread.cpp:95 thread ] name: tid:448 431243ms th_a thread.cpp:95 thread ] name: tid:468 431244ms th_a thread.cpp:95 thread ] name: tid:488 431244ms th_a thread.cpp:95 thread ] name: tid:508 431245ms th_a thread.cpp:95 thread ] name: tid:528 431245ms th_a witness.cpp:167 plugin_initialize ] witness plugin: plugin_initialize() end 431246ms th_a main.cpp:165 main ] starting node 431247ms th_a application.hpp:102 register_api_factory ] name: login_api 431247ms th_a application.hpp:102 register_api_factory ] name: database_api 431247ms th_a application.hpp:102 register_api_factory ] name: network_node_api 431248ms th_a application.hpp:102 register_api_factory ] name: network_broadcast_api 431248ms th_a application.cpp:261 startup ] Replaying blockchain on user request. 431248ms th_a database.cpp:121 reindex ] reindexing blockchain 431251ms th_a database.cpp:209 wipe ] Wiping database 431252ms th_a object_database.cpp:87 wipe ] Wiping object database... 431252ms th_a object_database.cpp:89 wipe ] Done wiping object databse. 431254ms th_a database.cpp:130 reindex ] !no last block 431255ms th_a database.cpp:131 reindex ] last_block: 431256ms th_a thread.cpp:95 thread ] name:ntp tid:548 431256ms th_a application.cpp:347 startup ] API database_api enabled publicly 431256ms th_a application.cpp:347 startup ] API login_api enabled publicly 431257ms th_a thread.cpp:95 thread ] name:p2p tid:608 431264ms ntp ntp.cpp:177 read_loop ] ntp_delta_time updated to -1463535 us 431400ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 144.76.136.211:2001 431401ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 85.10.227.254:2001 431402ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 176.31.126.187:2001 431402ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 162.213.199.171:34191 431403ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 85.10.227.250:2001 431403ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 144.217.88.191:2001 431404ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 78.46.95.157:2001 431404ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 52.74.152.79:2001 431405ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 192.187.117.138:2001 431405ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 142.4.212.42:2001 431405ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 104.199.118.92:2001 431406ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 158.69.193.94:2001 431432ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 94.130.57.0:2001 431433ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 109.74.206.93:2001 431434ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 51.254.67.207:2001 431434ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 213.167.243.223:2001 431434ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 104.155.204.208:2001 431435ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 5.9.18.213:2001 431435ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 212.47.249.84:40696 431483ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 185.183.182.147:2016 431513ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 54.206.104.234:2001 431514ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 129.232.204.82:2001 431582ms th_a application.cpp:103 reset_p2p_node ] Adding seed node 149.56.17.159:2001 431584ms th_a application.cpp:125 reset_p2p_node ] Configured p2p node to listen on 0.0.0.0:2001 431585ms th_a main.cpp:167 main ] starting plugins 431585ms th_a witness.cpp:172 plugin_startup ] witness plugin: plugin_startup() begin 431586ms th_a witness.cpp:179 plugin_startup ] Launching block production for 1 witnesses. 431586ms th_a witness.cpp:192 plugin_startup ] Starting mining... 431587ms th_a witness.cpp:199 plugin_startup ] witness plugin: plugin_startup() end 431587ms th_a main.cpp:182 main ] Started witness node on a chain with 0 blocks. ``` Here is my config.ini ``` # Endpoint for P2P node to listen on p2p-endpoint = 0.0.0.0:2001 # Maxmimum number of incoming connections on P2P endpoint p2p-max-connections = 5 # P2P nodes to connect to on startup (may specify multiple times) seed-node = steemd.pharesim.me:2001 seed-node = 85.10.227.254:2001 seed-node = 176.31.126.187:2001 seed-node = seed.steemd.com:34191 seed-node = steem-seed.lukestokes.info:2001 seed-node = anyx.co:2001 seed-node = 78.46.95.157:2001 seed-node = 52.74.152.79:2001 seed-node = seed.rossco99.com:2001 seed-node = steem-id.altexplorer.xyz:2001 seed-node = 104.199.118.92:2001 seed-node = seed.bitcoiner.me:2001 seed-node = steem.global:2001 seed-node = steem.clawmap.com:2001 seed-node = gtg.steem.house:2001 seed-node = seed.bhuz.info:2001 seed-node = seed.steemfeeder.com:2001 seed-node = 5.9.18.213:2001 seed-node = 212.47.249.84:40696 seed-node = seed.liondani.com:2016 seed-node = steem-seed1.abit-more.com:2001 seed-node = seed.thecryptodrive.com:2001 seed-node = seed.roelandp.nl:2001 # Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints. # checkpoint = # Endpoint for websocket RPC to listen on # rpc-endpoint = # 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 = # Block signing key to use for init witnesses, overrides genesis file # dbg-init-key = # 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 # Plugin(s) to enable, may be specified multiple times enable-plugin = witness account_history # JSON list of [nblocks,nseconds] pairs, see doc/bcd-trigger.md bcd-trigger = [[0,10],[85,300]] # 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 = # 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 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 = # Enable block production, even if the chain is stale. enable-stale-production = false # 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 = "sealtech" # name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] ) miner = ["sealtech","my private key"] # Number of threads to use for proof of work mining mining-threads = 8 # WIF PRIVATE KEY to be used by one or more witnesses or miners # private-key = # Account creation fee to be voted on upon successful POW - Minimum fee is 100.000 STEEM (written as 100000) # miner-account-creation-fee = # 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 ```