[Steem on Rpi] Updates - Retry and get different errors

in Steemit Dev Group2 years ago

Now I am running a witness node on PC I know more about running a node. So I tried to run a witness node on RPi4 again! I have not given up yet.

Oh by the way, if you have not voted for me as a witness, please vote.
https://steemitwallet.com/~witnesses. @etainclub
(I am ranked at 46).

History of Steem on Rpi


I downloaded the recent block data from @ety001's https://files.steem.fans/data on a separate storage.

Then, unzipped the data in RPi'4. It took several hours for unzipping.

This time I know that I need to execute `./run.sh start``

Then I've got good messages since there was no the same error before.

The full logs are in the bottom.

Errors

The error is related to NAI (Numerial Asset Identifier)
https://github.com/steemit/steem/pull/1577
What is NAI? Do we need NAI? It seems related to SMT.

The following is the snipper:

block_log.cpp:264 read_block_helper
1145617ms block_log.cpp:264             read_block_helper    ] 10 assert_exception: Assert Exception
(nai_data_digits >= SMT_MIN_NAI) & (nai_data_digits <= SMT_MAX_NAI) & (nai_1bit == SMT_ASSET_NUM_CONTROL_MASK) & (nai_decimal_places <= STEEM_ASSET_MAX_DECIMALS): Cannot determine space for asset 1668577381
    {"n":1668577381}
    asset.cpp:249 validate
Error unpacking field symbol
    {"field":"symbol"}
    raw.hpp:337 operator()
error unpacking steem::protocol::asset
    {"type":"steem::protocol::asset"}
    raw.hpp:624 unpack

Anyone knows about this message?
@steemchiller
@ety001
@starlord28

Full Logs

1015200ms p2p_plugin.cpp:621            plugin_initialize    ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
    {"message":"Host not found (authoritative)"}
    asio.cpp:88 resolve_handler

    {}
    asio.cpp:168 resolve

    {"endpoint_string":"seed-central.steemit.com:2001"}
    p2p_plugin.cpp:73 resolve_string_to_ip_endpoints while adding seed node seed-central.steemit.com:2001
1020989ms p2p_plugin.cpp:621            plugin_initialize    ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
    {"message":"Host not found (authoritative)"}
    asio.cpp:88 resolve_handler

    {}
    asio.cpp:168 resolve

    {"endpoint_string":"seed-west.steemit.com:2001"}
    p2p_plugin.cpp:73 resolve_string_to_ip_endpoints while adding seed node seed-west.steemit.com:2001
1065233ms p2p_plugin.cpp:621            plugin_initialize    ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
    {"message":"Host not found (authoritative)"}
    asio.cpp:88 resolve_handler

    {}
    asio.cpp:168 resolve

    {"endpoint_string":"steem-seed.urbanpedia.com:2001"}
    p2p_plugin.cpp:73 resolve_string_to_ip_endpoints while adding seed node steem-seed.urbanpedia.com:2001
1080920ms p2p_plugin.cpp:621            plugin_initialize    ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
    {"message":"Host not found (authoritative)"}
    asio.cpp:88 resolve_handler

    {}
    asio.cpp:168 resolve

    {"endpoint_string":"seed.steemhunt.com:2001"}
    p2p_plugin.cpp:73 resolve_string_to_ip_endpoints while adding seed node seed.steemhunt.com:2001
1096324ms p2p_plugin.cpp:621            plugin_initialize    ] caught exception 0 exception: unspecified
process exited with: Host not found (authoritative)
    {"message":"Host not found (authoritative)"}
    asio.cpp:88 resolve_handler

    {}
    asio.cpp:168 resolve

    {"endpoint_string":"seed.steemer.app:2001"}
    p2p_plugin.cpp:73 resolve_string_to_ip_endpoints while adding seed node seed.steemer.app:2001
1106814ms rc_plugin.cpp:1122            plugin_initialize    ] Initializing resource credit plugin
1106821ms rc_plugin.cpp:1190            plugin_initialize    ] RC's will be computed starting at block 26256743
1106821ms witness_plugin.cpp:479        plugin_initialize    ] Initializing witness plugin
1106883ms account_by_key_plugin.cpp:241 plugin_initialize    ] Initializing account_by_key plugin
1106883ms webserver_plugin.cpp:433      plugin_initialize    ] configured with 32 thread pool size
1106888ms webserver_plugin.cpp:473      plugin_initialize    ] configured http to listen on 127.0.0.1:8090
1106888ms webserver_plugin.cpp:479      plugin_initialize    ] configured ws to listen on 127.0.0.1:8090
------------------------------------------------------

            STARTING STEEM NETWORK

------------------------------------------------------
initminer public key: STM8GC13uCZbP44HzMLV6zPZGwVQ8Nt4Kji8PapsPiNq1BK153XTX
chain id: 0000000000000000000000000000000000000000000000000000000000000000
blockchain version: 0.23.0
------------------------------------------------------
1106916ms chain_plugin.cpp:468          plugin_startup       ] Starting chain with shared_file_size: 8589934592 bytes
1106917ms chain_plugin.cpp:599          plugin_startup       ] Opening shared memory from /steem/witness_node_data_dir/blockchain
1121481ms block_log.cpp:142             open                 ] Log is nonempty
1121497ms block_log.cpp:151             open                 ] Index is nonempty
1121510ms chain_plugin.cpp:616          plugin_startup       ] Started on blockchain with 58208214 blocks
1121521ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 52.207.85.82:2001
1121524ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 47.240.10.133:2001
1121526ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 47.240.23.89:2001
1121528ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 149.129.127.186:2001
1121529ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 47.240.24.48:2001
1121531ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 47.240.24.191:2001
1121533ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 149.129.105.175:2001
1121534ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 62.171.166.34:2001
1121535ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 209.145.50.169:2001
1121536ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 116.202.214.122:2001
1121537ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 5.189.136.20:2001
1121539ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 38.91.107.51:2001
1121540ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 136.243.218.198:2001
1121541ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 34.82.146.106:2001
1121542ms p2p_plugin.cpp:659            operator()           ] P2P adding seed node 3.142.148.91:2001
1121547ms p2p_plugin.cpp:686            operator()           ] P2P node listening at 0.0.0.0:1776
1121547ms p2p_plugin.cpp:688            plugin_startup       ] P2P Plugin started
1121547ms witness_plugin.cpp:527        plugin_startup       ] witness plugin:  plugin_startup() begin
1121547ms witness_plugin.cpp:532        plugin_startup       ] Launching block production for 1 witnesses.
1121547ms witness_plugin.cpp:543        plugin_startup       ] witness plugin:  plugin_startup() end
1121558ms webserver_plugin.cpp:161      operator()           ] start processing ws thread
1121558ms webserver_plugin.cpp:174      operator()           ] start listening for http requests
1121558ms webserver_plugin.cpp:177      operator()           ] start listening for ws requests
1123713ms block_log.cpp:264             read_block_helper    ] 10 assert_exception: Assert Exception
(nai_data_digits >= SMT_MIN_NAI) & (nai_data_digits <= SMT_MAX_NAI) & (nai_1bit == SMT_ASSET_NUM_CONTROL_MASK) & (nai_decimal_places <= STEEM_ASSET_MAX_DECIMALS): Cannot determine space for asset 1668577381
    {"n":1668577381}
    asset.cpp:249 validate
Error unpacking field symbol
    {"field":"symbol"}
    raw.hpp:337 operator()
error unpacking steem::protocol::asset
    {"type":"steem::protocol::asset"}
    raw.hpp:624 unpack
Error unpacking field max_accepted_payout
    {"field":"max_accepted_payout"}
    raw.hpp:337 operator()
error unpacking steem::protocol::comment_options_operation
    {"type":"steem::protocol::comment_options_operation"}
    raw.hpp:624 unpack
Error unpacking field operations
    {"field":"operations"}
    raw.hpp:337 operator()
error unpacking steem::protocol::signed_transaction
    {"type":"steem::protocol::signed_transaction"}
    raw.hpp:624 unpack
Error unpacking field transactions
    {"field":"transactions"}
    raw.hpp:337 operator()
error unpacking steem::protocol::signed_block
    {"type":"steem::protocol::signed_block"}
    raw.hpp:624 unpack
1123723ms block_log.cpp:287             read_block_by_num    ] 10 assert_exception: Assert Exception
(nai_data_digits >= SMT_MIN_NAI) & (nai_data_digits <= SMT_MAX_NAI) & (nai_1bit == SMT_ASSET_NUM_CONTROL_MASK) & (nai_decimal_places <= STEEM_ASSET_MAX_DECIMALS): Cannot determine space for asset 1668577381
    {"n":1668577381}
    asset.cpp:249 validate
Error unpacking field symbol
    {"field":"symbol"}
    raw.hpp:337 operator()
error unpacking steem::protocol::asset
    {"type":"steem::protocol::asset"}
    raw.hpp:624 unpack
Error unpacking field max_accepted_payout
    {"field":"max_accepted_payout"}
    raw.hpp:337 operator()
error unpacking steem::protocol::comment_options_operation
    {"type":"steem::protocol::comment_options_operation"}
    raw.hpp:624 unpack
Error unpacking field operations
    {"field":"operations"}
    raw.hpp:337 operator()
error unpacking steem::protocol::signed_transaction
    {"type":"steem::protocol::signed_transaction"}
    raw.hpp:624 unpack
Error unpacking field transactions
    {"field":"transactions"}
    raw.hpp:337 operator()
error unpacking steem::protocol::signed_block
    {"type":"steem::protocol::signed_block"}
    raw.hpp:624 unpack
rethrow
    {}
    block_log.cpp:264 read_block_helper
1145617ms block_log.cpp:264             read_block_helper    ] 10 assert_exception: Assert Exception
(nai_data_digits >= SMT_MIN_NAI) & (nai_data_digits <= SMT_MAX_NAI) & (nai_1bit == SMT_ASSET_NUM_CONTROL_MASK) & (nai_decimal_places <= STEEM_ASSET_MAX_DECIMALS): Cannot determine space for asset 1668577381
    {"n":1668577381}
    asset.cpp:249 validate
Error unpacking field symbol
    {"field":"symbol"}
    raw.hpp:337 operator()
error unpacking steem::protocol::asset
    {"type":"steem::protocol::asset"}
    raw.hpp:624 unpack
Error unpacking field max_accepted_payout
    {"field":"max_accepted_payout"}
    raw.hpp:337 operator()
error unpacking steem::protocol::comment_options_operation
    {"type":"steem::protocol::comment_options_operation"}
    raw.hpp:624 unpack
Error unpacking field operations
    {"field":"operations"}
    raw.hpp:337 operator()
error unpacking steem::protocol::signed_transaction
    {"type":"steem::protocol::signed_transaction"}
    raw.hpp:624 unpack
Error unpacking field transactions
    {"field":"transactions"}
    raw.hpp:337 operator()
error unpacking steem::protocol::signed_block
    {"type":"steem::protocol::signed_block"}
    raw.hpp:624 unpack
1145617ms block_log.cpp:287             read_block_by_num    ] 10 assert_exception: Assert Exception
(nai_data_digits >= SMT_MIN_NAI) & (nai_data_digits <= SMT_MAX_NAI) & (nai_1bit == SMT_ASSET_NUM_CONTROL_MASK) & (nai_decimal_places <= STEEM_ASSET_MAX_DECIMALS): Cannot determine space for asset 1668577381
    {"n":1668577381}
    asset.cpp:249 validate
Error unpacking field symbol
    {"field":"symbol"}
    raw.hpp:337 operator()
error unpacking steem::protocol::asset
    {"type":"steem::protocol::asset"}
    raw.hpp:624 unpack
Error unpacking field max_accepted_payout
    {"field":"max_accepted_payout"}
    raw.hpp:337 operator()
error unpacking steem::protocol::comment_options_operation
    {"type":"steem::protocol::comment_options_operation"}
    raw.hpp:624 unpack
Error unpacking field operations
    {"field":"operations"}
    raw.hpp:337 operator()

Thank you for your support

@steemcurator01

Sort:  

Upvoted! Thank you for supporting witness @jswit.
default.jpg

라즈베리 파이... ㅎㅎ
감사합니다. ^^

Hey. I am looking at the transactional side of Steemd for some other reason. This doesn't seem to be from that region. When I do stumble upon this assert, I willlet you know.

PS: Not entirely sure why we haven't gone with if-else instead. Probably will understand that once I know more about Steemd.

I hunted this down and found the code in the steeem source code.
I removed the assertion code there but the same error message appeared. Probably my mistake.

It takes so long time to build the steem source on arm (not on rpi but on x86 pc with docker buildx).

The code that I commented out is this:

// /libraries/protocol/asset.cpp
void asset::validate()const
{
//   symbol.validate();
   FC_ASSERT( amount.value >= 0 );
   FC_ASSERT( amount.value <= STEEM_MAX_SATOSHIS );
}

Thank you for your comment.

Coin Marketplace

STEEM 0.35
TRX 0.12
JST 0.040
BTC 70753.86
ETH 3589.34
USDT 1.00
SBD 4.75