Author Topic: Test Net for Advanced Users  (Read 263562 times)

0 Members and 1 Guest are viewing this topic.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Any new nodes ? I have deleted the database, and try to sync, but after a few hours (just checked) still nothing.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
"head_block_num": 314814,
  "head_block_id": "0004cdbe86f24753a0133e23c6e26ebd3c05bf9e",
  "head_block_age": "6 hours old",
  "next_maintenance_time": "6 hours ago",
  "chain_id": "0f8b631d7a9dfebf16d6776fab96b629a14429762bf9c3eb95db1e4e4af637a4",


While replaying the blockchain
Code: [Select]

   90.212%   284000 of 314814                                                                                                                                       

1858849ms th_a       db_block.cpp:263              push_proposal        ] e
1858850ms th_a       db_update.cpp:140             clear_expired_propos ] Failed to apply proposed transaction on its expiration. Deleting it.
{"id":"1.10.1","expiration_time":"2015-09-29T05:15:00","review_period_time":"2015-09-29T04:15:00","proposed_transaction":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"
2015-09-29T05:15:00","operations":[[31,{"fee":{"amount":1000000,"asset_id":"1.3.0"},"new_parameters":{"current_fees":{"parameters":[[0,{"fee":2000000,"price_per_kbyte":1000000
}],[1,{"fee":500000}],[2,{"fee":0}],[3,{"fee":2000000}],[4,{}],[5,{"basic_fee":0,"premium_fee":200000000,"price_per_kbyte":100000}],[6,{"fee":2000000,"price_per_kbyte":100000}
],[7,{"fee":300000}],[8,{"membership_annual_fee":200000000,"membership_lifetime_fee":1000000000}],[9,{"fee":50000000}],[10,{"symbol3":"50000000000","symbol4":"30000000000","lo
ng_symbol":500000000,"price_per_kbyte":10}],[11,{"fee":50000000,"price_per_kbyte":10}],[12,{"fee":50000000}],[13,{"fee":50000000}],[14,{"fee":2000000,"price_per_kbyte":100000}
],[15,{"fee":2000000}],[16,{"fee":100000}],[17,{"fee":10000000}],[18,{"fee":50000000}],[19,{"fee":100000}],[20,{"fee":500000000}],[21,{"fee":2000000}],[22,{"fee":2000000,"pric
e_per_kbyte":10}],[23,{"fee":100000,"price_per_kbyte":10}],[24,{"fee":100000}],[25,{"fee":100000}],[26,{"fee":2000000}],[27,{"fee":0,"price_per_kbyte":10}],[28,{"fee":50000000
0}],[29,{"fee":100000}],[30,{"fee":100000}],[31,{"fee":2000000}],[32,{"fee":500000000}],[33,{"fee":100000}],[34,{"fee":100000}],[35,{"fee":100000,"price_per_kbyte":10}],[36,{"
fee":2000000}],[37,{}],[38,{"fee":500000,"price_per_kbyte":10}],[39,{"fee":500000,"price_per_output":500000}]],"scale":5000},"block_interval":3,"maintenance_interval":5400,"ma
intenance_skip_slots":4,"committee_proposal_review_period":300,"maximum_transaction_size":65536,"maximum_block_size":10485760,"maximum_time_until_expiration":86400,"maximum_pr
oposal_lifetime":2419200,"maximum_asset_whitelist_authorities":10,"maximum_asset_feed_publishers":10,"maximum_witness_count":1001,"maximum_committee_count":1001,"maximum_autho
rity_membership":10,"reserve_percent_of_fee":2000,"network_percent_of_fee":2000,"lifetime_referrer_percent_of_fee":3000,"cashback_vesting_period_seconds":7776000,"cashback_ves
ting_threshold":10000000,"count_non_member_votes":true,"allow_non_member_whitelists":false,"witness_pay_per_block":500000,"worker_budget_per_day":"50000000000","max_predicate_
opcode":1,"fee_liquidation_threshold":10000000,"accounts_per_fee_scale":1000,"account_fee_scale_bitshifts":4,"max_authority_depth":2,"extensions":[]}}]],"extensions":[]},"requ
ired_active_approvals":["1.2.0"],"available_active_approvals":["1.2.102","1.2.103","1.2.104","1.2.105","1.2.106","1.2.107","1.2.108","1.2.109","1.2.110"],"required_owner_appro
vals":[],"available_owner_approvals":[],"available_key_approvals":[]}
10 assert_exception: Assert Exception
itr->get_balance() >= -delta: Insufficient Balance: committee-account's balance of 0 CORE is less than required 10 CORE
    {"a":"committee-account","b":"0 CORE","r":"10 CORE"}
    th_a  db_balance.cpp:67 adjust_balance

    {"account":"1.2.0","delta":{"amount":-1000000,"asset_id":"1.3.0"}}
    th_a  db_balance.cpp:73 adjust_balance

    {}
    th_a  evaluator.cpp:42 start_evaluate

intenance_skip_slots":4,"committee_proposal_review_period":300,"maximum_transaction_size":65536,"maximum_block_size":10485760,"maximum_time_until_expiration":86400,"[540/1909]
oposal_lifetime":2419200,"maximum_asset_whitelist_authorities":10,"maximum_asset_feed_publishers":10,"maximum_witness_count":1001,"maximum_committee_count":1001,"maximum_autho
rity_membership":10,"reserve_percent_of_fee":2000,"network_percent_of_fee":2000,"lifetime_referrer_percent_of_fee":3000,"cashback_vesting_period_seconds":7776000,"cashback_ves
ting_threshold":10000000,"count_non_member_votes":true,"allow_non_member_whitelists":false,"witness_pay_per_block":500000,"worker_budget_per_day":"50000000000","max_predicate_
opcode":1,"fee_liquidation_threshold":10000000,"accounts_per_fee_scale":1000,"account_fee_scale_bitshifts":4,"max_authority_depth":2,"extensions":[]}}]],"extensions":[]},"requ
ired_active_approvals":["1.2.0"],"available_active_approvals":["1.2.102","1.2.103","1.2.104","1.2.105","1.2.106","1.2.107","1.2.108","1.2.109","1.2.110"],"required_owner_appro
vals":[],"available_owner_approvals":[],"available_key_approvals":[]}
10 assert_exception: Assert Exception
itr->get_balance() >= -delta: Insufficient Balance: committee-account's balance of 0 CORE is less than required 10 CORE
    {"a":"committee-account","b":"0 CORE","r":"10 CORE"}
    th_a  db_balance.cpp:67 adjust_balance

    {"account":"1.2.0","delta":{"amount":-1000000,"asset_id":"1.3.0"}}
    th_a  db_balance.cpp:73 adjust_balance

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:621 apply_operation

    {"proposal":{"id":"1.10.1","expiration_time":"2015-09-29T05:15:00","review_period_time":"2015-09-29T04:15:00","proposed_transaction":{"ref_block_num":0,"ref_block_prefix":
0,"expiration":"2015-09-29T05:15:00","operations":[[31,{"fee":{"amount":1000000,"asset_id":"1.3.0"},"new_parameters":{"current_fees":{"parameters":[[0,{"fee":2000000,"price_pe
r_kbyte":1000000}],[1,{"fee":500000}],[2,{"fee":0}],[3,{"fee":2000000}],[4,{}],[5,{"basic_fee":0,"premium_fee":200000000,"price_per_kbyte":100000}],[6,{"fee":2000000,"price_pe
r_kbyte":100000}],[7,{"fee":300000}],[8,{"membership_annual_fee":200000000,"membership_lifetime_fee":1000000000}],[9,{"fee":50000000}],[10,{"symbol3":"50000000000","symbol4":"
30000000000","long_symbol":500000000,"price_per_kbyte":10}],[11,{"fee":50000000,"price_per_kbyte":10}],[12,{"fee":50000000}],[13,{"fee":50000000}],[14,{"fee":2000000,"price_pe
r_kbyte":100000}],[15,{"fee":2000000}],[16,{"fee":100000}],[17,{"fee":10000000}],[18,{"fee":50000000}],[19,{"fee":100000}],[20,{"fee":500000000}],[21,{"fee":2000000}],[22,{"fe
e":2000000,"price_per_kbyte":10}],[23,{"fee":100000,"price_per_kbyte":10}],[24,{"fee":100000}],[25,{"fee":100000}],[26,{"fee":2000000}],[27,{"fee":0,"price_per_kbyte":10}],[28
,{"fee":500000000}],[29,{"fee":100000}],[30,{"fee":100000}],[31,{"fee":2000000}],[32,{"fee":500000000}],[33,{"fee":100000}],[34,{"fee":100000}],[35,{"fee":100000,"price_per_kb
yte":10}],[36,{"fee":2000000}],[37,{}],[38,{"fee":500000,"price_per_kbyte":10}],[39,{"fee":500000,"price_per_output":500000}]],"scale":5000},"block_interval":3,"maintenance_in
terval":5400,"maintenance_skip_slots":4,"committee_proposal_review_period":300,"maximum_transaction_size":65536,"maximum_block_size":10485760,"maximum_time_until_expiration":8
6400,"maximum_proposal_lifetime":2419200,"maximum_asset_whitelist_authorities":10,"maximum_asset_feed_publishers":10,"maximum_witness_count":1001,"maximum_committee_count":100
1,"maximum_authority_membership":10,"reserve_percent_of_fee":2000,"network_percent_of_fee":2000,"lifetime_referrer_percent_of_fee":3000,"cashback_vesting_period_seconds":77760
00,"cashback_vesting_threshold":10000000,"count_non_member_votes":true,"allow_non_member_whitelists":false,"witness_pay_per_block":500000,"worker_budget_per_day":"50000000000"
,"max_predicate_opcode":1,"fee_liquidation_threshold":10000000,"accounts_per_fee_scale":1000,"account_fee_scale_bitshifts":4,"max_authority_depth":2,"extensions":[]}}]],"exten
sions":[]},"required_active_approvals":["1.2.0"],"available_active_approvals":["1.2.102","1.2.103","1.2.104","1.2.105","1.2.106","1.2.107","1.2.108","1.2.109","1.2.110"],"requ
ired_owner_approvals":[],"available_owner_approvals":[],"available_key_approvals":[]}}
    th_a  db_block.cpp:269 push_proposal

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
Debug built witness crashed. It is restarting from block 0.

Edit: Resyn failed with the same 'fill order' error.
« Last Edit: September 30, 2015, 02:37:53 pm by cube »
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline wuyanren

  • Hero Member
  • *****
  • Posts: 589
    • View Profile
Sounds like progress ..

We are getting closer by the minute
You seem to comfort me

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Sounds like progress ..

We are getting closer by the minute

Offline bytemaster

Upon looking closer here is what I have found:

1. If you were in debug build your witness crashed because of an assert we had to perform sanity checks
2. If you were in release build your witness didn't crash but went on to fill a force settlement request when the collateral in the call order is less than what was received by the force settle (printing CORE).

The crash appears to be the result of a call order which lacks sufficient collateral at the force settlement price. 

As a result of this the network forked and all debug builds stopped producing.   

The good news is that I can reproduce this particular issue on demand and can get to the root cause of it.   

To prevent debug vs release forks in the future we will be converting all assert(...) calls to FC_ASSERT so that the code behaves the same in both builds and shouldn't "crash" in the future. 
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.

iHashFury

  • Guest
info
{
  "head_block_num": 314814,
  "head_block_id": "0004cdbe86f24753a0133e23c6e26ebd3c05bf9e",
  "head_block_age": "4 hours old",
  "next_maintenance_time": "4 hours ago",

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
This is my last info command before the witness crash (and the wallet exit after):

Code: [Select]
  "head_block_num": 313187,
  "head_block_id": "0004c763d993633488acb5fdd6ec362112aae9b9",
  "head_block_age": "6 hours old",
 

Code: [Select]
Server has disconnected us.
9 canceled_exception: Canceled
cancellation reason: [none given]
    {"reason":"[none given]"}
    th_a  thread_d.hpp:463 start_next_fiber
wallet_account_set_approval spartako

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
All of my nodes were hung when I came in this morning.  Looks like a major issue was discovered and we are looking into the cause. 

Based upon the crash reports it looks like someone attempted a force settle.

I was testing force settlement.
I forced bitUSD, bitCNY, bitSILVER and bitGOLD to force settle, i don't remember the exact settlement date but was something like 8:00 AM GMT Sep 30 (need to double check)

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Code: [Select]
  "head_block_num": 314814,
  "head_block_id": "0004cdbe86f24753a0133e23c6e26ebd3c05bf9e",
  "head_block_age": "4 hours old",
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Code: [Select]
last_block->id(): 0004cdbde932bd1fbe5e160b4dd22b1a9b1f8135 last_block->block_num(): 314813

  "head_block_num": 314836,
  "head_block_id": "0004cdd471f6d83da5ddcfc8d93b65262538643a",
  "head_block_age": "4 hours old"

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
Here's how my observer node ended:

Code: [Select]
1179254ms th_a       application.cpp:388           handle_block         ] Got block #314806 with time 2015-09-30T08:19:39 from network with latency of 255 ms from delegate-dev3.btsnow
1179486ms th_a       application.cpp:518           get_item             ] Serving up block #314806
1182227ms th_a       application.cpp:388           handle_block         ] Got block #314807 with time 2015-09-30T08:19:42 from network with latency of 227 ms from init6
1182462ms th_a       application.cpp:518           get_item             ] Serving up block #314807
1185107ms th_a       application.cpp:388           handle_block         ] Got block #314808 with time 2015-09-30T08:19:45 from network with latency of 108 ms from init11
1185338ms th_a       application.cpp:518           get_item             ] Serving up block #314808
1188176ms th_a       application.cpp:388           handle_block         ] Got block #314809 with time 2015-09-30T08:19:48 from network with latency of 177 ms from init1
1188411ms th_a       application.cpp:518           get_item             ] Serving up block #314809
1191249ms th_a       application.cpp:388           handle_block         ] Got block #314810 with time 2015-09-30T08:19:51 from network with latency of 250 ms from init2
1194378ms th_a       application.cpp:388           handle_block         ] Got block #314811 with time 2015-09-30T08:19:54 from network with latency of 379 ms from delegate-clayop
1197207ms th_a       application.cpp:388           handle_block         ] Got block #314812 with time 2015-09-30T08:19:57 from network with latency of 207 ms from wackou
1200221ms th_a       application.cpp:388           handle_block         ] Got block #314813 with time 2015-09-30T08:20:00 from network with latency of 222 ms from init4
1200461ms th_a       application.cpp:518           get_item             ] Serving up block #314813
1203250ms th_a       application.cpp:388           handle_block         ] Got block #314814 with time 2015-09-30T08:20:03 from network with latency of 251 ms from init3
1207182ms th_a       application.cpp:388           handle_block         ] Got block #314814 with time 2015-09-30T08:20:06 from network with latency of 1182 ms from mr.agsexplorer
2209930ms th_a       application.cpp:699           get_blockchain_synop ] synopsis: ["0004cdb3d2d7eb80189f83633c4cb9edfa428ca8","0004cdb90bdf86f48dd2d6695fe8f5edb3322e67","0004cdbcecb0901e9e26dabd0c5610f648a14108","0004cdbe86f24753a0133e23c6e26ebd3c05bf9e"]
...
Code: [Select]
890491ms th_a       application.cpp:518           get_item             ] Serving up block #314811
890491ms th_a       application.cpp:518           get_item             ] Serving up block #314812
890491ms th_a       application.cpp:518           get_item             ] Serving up block #314813
890491ms th_a       application.cpp:518           get_item             ] Serving up block #314814
898941ms th_a       application.cpp:699           get_blockchain_synop ] synopsis: ["0004cdb4a094bb65e4ddf13138fca35a9c5b4141","0004cdbab1c582f8ccc1e6396f0d62cb9c047323","0004cdbde932bd1fbe5e160b4dd22b1a9b1f8135","0004cdbe86f24753a0133e23c6e26ebd3c05bf9e"]
witness_node: /home/daniel/Crypto/graphene/libraries/chain/db_market.cpp:290: bool graphene::chain::database::fill_order(const graphene::chain::call_order_object&, const graphene::chain::asset&, const graphene::chain::asset&): Assertion `order.get_collateral() >= pays' failed.
./run_node: line 1:  1063 Aborted                 (core dumped)

EDIT: The synopsis is just the last 4 blocks, right?
« Last Edit: September 30, 2015, 12:45:31 pm by Troglodactyl »

Xeldal

  • Guest
"head_block_num": 314814,
  "head_block_id": "0004cdbe86f24753a0133e23c6e26ebd3c05bf9e",
  "head_block_age": "4 hours old",

Offline Riverhead


No useful info here I'm afraid. I tried to reload with a new chain but the network was already dead.

Code: [Select]
  "head_block_num": 0,
  "head_block_id": "0000000000000000000000000000000000000000",
  "head_block_age": "12 days old",
  "next_maintenance_time": "45 years ago",
  "chain_id": "0f8b631d7a9dfebf16d6776fab96b629a14429762bf9c3eb95db1e4e4af637a4",
  "participation": "100.00000000000000000",


Offline bytemaster

  "head_block_num": 314836,
  "head_block_id": "0004cdd471f6d83da5ddcfc8d93b65262538643a",
  "head_block_age": "4 hours old"
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.