Author Topic: October 5 Test Network  (Read 48304 times)

0 Members and 1 Guest are viewing this topic.

Offline triox

  • Full Member
  • ***
  • Posts: 170
    • View Profile
  • BitShares: triox
Re: October 5 Test Network
« Reply #195 on: October 06, 2015, 08:27:10 pm »
triox-delegate requesting core asset for registration.

4core/16GB/120GB SSD physical rig.

Offline Thom

Re: October 5 Test Network
« Reply #196 on: October 06, 2015, 08:32:14 pm »
I stopped the witness_node with ^C, waited for it to shut down, checked the config.ini and it was empty. I copied the correct one into the /home/admin/BitShares2 folder and restarted with the exact same cmd line. If failed. I restarted a second time, this time tacking on a --replay-blockchain. When it got to 96% complete it detected a black swan and died:

Quote
admin@seed06:~/.BitShares2_build/programs/witness_node$ ./witness_node --rpc-endpoint ""127.0.0.1:8090"  --genesis-json oct5-genesis.json -d /home/admin/BitShares2 -s "104.236.51.238:2005" --replay-blockchain
918602ms th_a       witness.cpp:83                plugin_initialize    ] witness plugin:  plugin_initialize(begin 918616ms th_a       witness.cpp:93                plugin_initialize    ] key_id_to_wif_pair: ["GPH6oUevPDj52$
K67E199jBAMBuh6CQBQGgkyLtoXKiAvTVCpvYU7","5KJQMshbWeKadB4uxpxtbH7qZL7nSgtLhsARUbciP13TLo4Enux"]
918617ms th_a       witness.cpp:111               plugin_initialize    ] witness plugin:  plugin_initialize(end
918619ms th_a       application.cpp:296           startup              ] Replaying blockchain on user reques.
918619ms th_a       application.cpp:242           operator()           ] Initializing database...
1018360ms th_a       db_management.cpp:45          reindex              ] reindexing blockchain
1018391ms th_a       db_management.cpp:98          wipe                 ] Wiping database
1018658ms th_a       object_database.cpp:81        wipe                 ] Wiping object_database.
1077220ms th_a       db_debug.cpp:79               debug_dump           ] total_balances[asset_id_type()].value: 14239376866944 core_asset_data.current_supply.value: 271289987694689
1077220ms th_a       db_debug.cpp:82               debug_dump           ] core_in_orders: 14239376866944 reported_core_in_orders: 14239376866944
1077336ms th_a       db_management.cpp:147         open                 ] last_block->id(): 000088fb03959ca7ebdcaf0b0063934b15bb64d last_block->block_num(): 35067
1077337ms th_a       db_management.cpp:59          reindex              ] Replaying blocks...
1078422ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 11 witness_count*2+1: 1
1079155ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 11 witness_count*2+1: 1
1080589ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 11 witness_count*2+1: 1
   5.70337%   2000 of 35067   
1082433ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 11 witness_count*2+1: 1
1084996ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 11 witness_count*2+1: 1
   11.4067%   4000 of 35067   
1086057ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 13 witness_count*2+1: 13
1087364ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 15 witness_count*2+1: 15
   17.1101%   6000 of 35067   
1195306ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 29 witness_count*2+1: 29

...

   96.9573%   34000 of 35067   
1195823ms th_a       db_update.cpp:241             check_for_blackswan  ] Black Swan detected:
   Least collateralized call: 759.92759999999998399  0.00131591483188662
   Settle Price:              0.00414700000000000  241.13817217265491877
   Max:                       0.00414700000000000   241.13817217265491877

1197847ms th_a       db_maint.cpp:153              update_active_witnes ] wits.size(): 31 witness_count*2+1: 31
1198184ms th_a       db_management.cpp:93          reindex              ] Done reindexing, elapsed time: 120.84660200000000430 sec
1198399ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140590755026688
1198400ms th_a       thread.cpp:95                 thread               ] name:p2p tid:140590736144128
1198649ms th_a       application.cpp:122           reset_p2p_node       ] Adding seed node 104.236.51.238:2005
1198680ms th_a       application.cpp:122           reset_p2p_node       ] Adding seed node 104.236.51.238:2005
1198688ms th_a       application.cpp:337           startup              ] 90003 already_connected_to_requested_peer: already connected to requested peer

Trying to figure out out why it won't restart...
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab
Re: October 5 Test Network
« Reply #197 on: October 06, 2015, 08:36:29 pm »
I just added you a second before you checked :)   Wait 20 minutes for the next vote counting.

Can you add bitshares-argentina?  "id": "1.6.37".
Thanks.
« Last Edit: October 06, 2015, 08:38:41 pm by rnglab »

Offline Thom

Re: October 5 Test Network
« Reply #198 on: October 06, 2015, 08:37:31 pm »
get_witness delegate.verbaltech shows missed blocks?

have you started the witness with --witness-id '"your_id"' --private-key '["signing_key","private_key"]' ?

I put as many parameters in the config.ini as I can. I used the exact same command line as before, when there was an empty config.ini, which explains why I was missing blocks.

I will try to restart, this time removing the cmd line params (like seed node) which are in the config.  The witness_node apparently doesn't need a chainID, only the cli_wallet?

Looks like I'm producing blocks now. I guess the witness_node got confused with duplicate parameters on the command line AND in the config.ini file.

So my command line is simply: ./witness_node -d /home/admin/BitShares2
« Last Edit: October 06, 2015, 08:44:35 pm by Thom »
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline Bhuz

  • Committee member
  • Sr. Member
  • *
  • Posts: 464
    • View Profile
  • BitShares: bhuz
Re: October 5 Test Network
« Reply #199 on: October 06, 2015, 08:55:07 pm »
  The witness_node apparently doesn't need a chainID, only the cli_wallet?

witness_node needs --jenesis-json
cli_wallet needs --chain-id

Offline Spectral

Re: October 5 Test Network
« Reply #200 on: October 06, 2015, 08:57:48 pm »
triox-delegate requesting core asset for registration.

4core/16GB/120GB SSD physical rig.

Code: [Select]
transfer spectral triox-delegate 20000 CORE "nice specs" true
{
  "ref_block_num": 35854,


For some reason a subsequent call to the 'get_account_history' function returns some errors concerning the memo... is this normal?

Code: [Select]
get_account_history spectral 100
3353392ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2314 operator()
3353410ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2314 operator()
3353416ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2314 operator()
3353443ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2314 operator()
Vote for BTS-2 witness: spectral (1.6.30)
0.9 DVS delegate: dvs1.bitspace
Stay tuned for bitspace-clains worker!

Offline bytemaster

Re: October 5 Test Network
« Reply #201 on: October 06, 2015, 09:08:19 pm »
Is your wallet unlocked when you make those calls?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

jakub

  • Guest
Re: October 5 Test Network
« Reply #202 on: October 06, 2015, 09:44:04 pm »
Participation has dropped to 50% and all init witnesses stopped producing blocks.

Offline Bhuz

  • Committee member
  • Sr. Member
  • *
  • Posts: 464
    • View Profile
  • BitShares: bhuz
Re: October 5 Test Network
« Reply #203 on: October 06, 2015, 09:46:12 pm »
Is normal that publishing feeds consist in 4 asset_publish_feed_operation ?
Why 4?

Offline Spectral

Re: October 5 Test Network
« Reply #204 on: October 06, 2015, 09:47:04 pm »
Is your wallet unlocked when you make those calls?
Good question. I think it must have been unlocked, because I made the call right after the transfer, otherwise I would get an error message on the transfer call?

It seems that the issue is repeatable, I am making the call right now and getting the same output:

Code: [Select]
unlocked >>> get_account_history spectral 100
get_account_history spectral 100
2174484ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2314 operator()
2174502ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2314 operator()
2174515ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2314 operator()
2174545ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2314 operator()
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T20:51:09 Transfer 20000 CORE from spectral to triox-delegate -- could not decrypt memo   (Fee: 20.89843 CORE)

It would be interesting to know if the transfer went through, and the account history from triox-delegate. Maybe I've messed up something...

I made a test transfer to you Dan, with the following output:

Code: [Select]
transfer spectral dan 10 CORE "testmessage" true
{
  "ref_block_num": 36654,
  "ref_block_prefix": 724632219,

and the same problem in the account history, I can't decrypt the memo.

Code: [Select]
get_account_history spectral 100
2535952ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8JvEXv853AzosCgJEpHLDreNG3pDwr9uxYeA86cL587ooKLmJG not in this wallet.
    {"k":"GPH8JvEXv853AzosCgJEpHLDreNG3pDwr9uxYeA86cL587ooKLmJG"}
    th_a  wallet.cpp:2314 operator()
2535956ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2314 operator()
2535972ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2314 operator()
2535981ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8JvEXv853AzosCgJEpHLDreNG3pDwr9uxYeA86cL587ooKLmJG not in this wallet.
    {"k":"GPH8JvEXv853AzosCgJEpHLDreNG3pDwr9uxYeA86cL587ooKLmJG"}
    th_a  wallet.cpp:2314 operator()
2535987ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2314 operator()
2536015ms th_a       wallet.cpp:2321               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2314 operator()
2015-10-06T21:41:36 Transfer 10 CORE from spectral to dan -- could not decrypt memo   (Fee: 20.89843 CORE)
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T21:24:00 asset_publish_feed_operation spectral fee: 1 CORE
2015-10-06T20:51:09 Transfer 20000 CORE from spectral to triox-delegate -- could not decrypt memo   (Fee: 20.89843 CORE)

Additional information: I also tried publishing a price feed through xeroc's script and that returned no error message.

And witness shows no missed blocks.
« Last Edit: October 06, 2015, 09:49:28 pm by Spectral »
Vote for BTS-2 witness: spectral (1.6.30)
0.9 DVS delegate: dvs1.bitspace
Stay tuned for bitspace-clains worker!

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Re: October 5 Test Network
« Reply #205 on: October 06, 2015, 09:56:55 pm »
My witness started to missing blocks and give this errors....resyncing

Code: [Select]
3291849ms th_a       fork_database.cpp:57          push_block           ] Pushing block to fork database that failed to link: 00008eb6eadbeb4a8ddf3f411786e9e7750c9d0b,
36534
3291850ms th_a       fork_database.cpp:58          push_block           ] Head: 36713, 00008f69e3262839ea3e10cdda6e40e0f2286dcc
3291850ms th_a       application.cpp:416           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    th_a  fork_database.cpp:79 _push_block

    {"new_block":{"previous":"00008eb5f524cc47c58abeb93f70252edf73e288","timestamp":"2015-10-06T21:28:09","witness":"1.6.33","transaction_merkle_root":"0f95eeb9a1b32e56
1ca3b3212f438f0e9b0377cc","extensions":[],"witness_signature":"1f27a9b5176289037cd61d42f071b7e35a0a89abf8e5e524c876dd7e22e4486be73ec05247429c38578b4907f8fd4d5695d1590e2
1fb9aaeea0470b6a1cc9ba841","transactions":[{"ref_block_num":36528,"ref_block_prefix":3755663456,"expiration":"2015-10-06T21:28:12","operations":[[33,{"fee":{"amount":10
0000,"asset_id":"1.3.0"},"vesting_balance":"1.13.13","owner":"1.2.17269","amount":{"amount":"40000000000","asset_id":"1.3.0"}}]],"extensions":[],"signatures":["1f2c7956
9ddd9f2c819fef84d04722eb59e958ad5e3f7d91fdcdbe8ec2329a0eb52896e1817deb0b414e79bd83f33a17d7afdc9e45da89d5f04a1f365cfeb33517"],"operation_results":[[0,{}]]}]}}
    th_a  db_block.cpp:195 _push_block

wallet_account_set_approval spartako

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Re: October 5 Test Network
« Reply #206 on: October 06, 2015, 09:58:21 pm »
I'm in sync now even if I see this error:
Code: [Select]
3456827ms th_a       application.cpp:419           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
item->num > std::max<int64_t>( 0, int64_t(_head->num) - (_max_size) ): attempting to push a block that is too old
    {"item->num":36717,"head":36876,"max_size":33}
    th_a  fork_database.cpp:71 _push_block

    {"new_block":{"previous":"00008f6c7b1e63e5645dc3ea16cdc146c87a53ae","timestamp":"2015-10-06T21:57:36","witness":"1.6.12","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"204d32a97bff59567fcc5b585ae7ef777115f245fbb6fa9e28e8a475c705cf0e8b17d942f9065ff9d262afead638e8bc77f7bc732f0e3fc1f618193ce16928ea66","transactions":[]}}
    th_a  db_block.cpp:195 _push_block

wallet_account_set_approval spartako

Offline Bhuz

  • Committee member
  • Sr. Member
  • *
  • Posts: 464
    • View Profile
  • BitShares: bhuz
Re: October 5 Test Network
« Reply #207 on: October 06, 2015, 10:03:50 pm »
Code: [Select]
3456827ms th_a       application.cpp:419           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
item->num > std::max<int64_t>( 0, int64_t(_head->num) - (_max_size) ): attempting to push a block that is too old
    {"item->num":36717,"head":36876,"max_size":33}
    th_a  fork_database.cpp:71 _push_block

    {"new_block":{"previous":"00008f6c7b1e63e5645dc3ea16cdc146c87a53ae","timestamp":"2015-10-06T21:57:36","witness":"1.6.12","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"204d32a97bff59567fcc5b585ae7ef777115f245fbb6fa9e28e8a475c705cf0e8b17d942f9065ff9d262afead638e8bc77f7bc732f0e3fc1f618193ce16928ea66","transactions":[]}}
    th_a  db_block.cpp:195 _push_block


Got that error too

Getting also some Switching to fork like
546364ms th_a       db_block.cpp:134              _push_block          ] Switching to fork: 000090d3acad2d699b38e6f161be0ad42c3c4a99
« Last Edit: October 06, 2015, 10:10:10 pm by Bhuz »

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Re: October 5 Test Network
« Reply #208 on: October 06, 2015, 10:11:25 pm »
Next small test in 15 min (22:25 UTC). 30 TPS for 1 hour.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: October 5 Test Network
« Reply #209 on: October 06, 2015, 10:17:57 pm »
I have been borrowing assets starting with 1000 CORE as collateral but then lowering till 0 and finally a blackswan event triggered.

borrow_asset delmoro 1 CNY 0.0000 true
(This actually works)

787848ms th_a       db_update.cpp:241             check_for_blackswan  ] Black Swan detected:
   Least collateralized call: 0.10109393536387817  9.89179020878545856
   Settle Price:              0.00316518505364101  315.93729372937292510
   Max:                       0.00316518505364101   315.93729372937292510

@bytemaster