Author Topic: Dry Run 2: The Real Deal  (Read 203407 times)

0 Members and 1 Guest are viewing this topic.

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Also seems like wallet_account_rename doesnt work =D
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
What does pay balance mean in delegate account info?

Code: [Select]
blockchain_get_account_record_by_id 81
{
  "id": 81,
  "name": "init-delegate-81",
  "public_data": null,
  "owner_key": "XTS6ATqGY8ynvL7cqHsxCJYuNYRLX7Nyv9X51qT6MivTADt6dPMRc",
  "active_key_history": [[
      "20140616T183634",
      "XTS6ATqGY8ynvL7cqHsxCJYuNYRLX7Nyv9X51qT6MivTADt6dPMRc"
    ]
  ],
  "delegate_info": {
    "votes_for": 87701418366,
    "votes_against": 0,
    "blocks_produced": 164,
    "blocks_missed": 103,
    "pay_balance": 12293597,
    "next_secret_hash": "7efcf506ea6a5704f19827fa023a7d0e8fa783b2",
    "last_block_num_produced": 14519
  },
  "registration_date": "20140601T000000",
  "last_update": "20140601T000000",
  "meta_data": null
}
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline xeroc

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

insufficient_funds: insufficient funds

I sent you some more

edit: after running 'wallet_rescan_blockchain' your balance should be correct again!

Offline networker

  • Sr. Member
  • ****
  • Posts: 322
    • View Profile
alt, puppy thanks for your puppylove and drinks :) Nice thing to wake up to.
networker let me know if you still having problems creating your assets, just catch up now with the thread.
Just now alt sent me 2 XTS and I use following command. Strange things happened, My XTS balance decrease everytime even I didn't creat my own asset successfully. Why ?

networker (unlocked) >>>  wallet_asset_create POR Power networker "Power Coin" null 1000000000000000 1000000         20011 insufficient_funds: insufficient funds

    {"required":"10.495701 XTS","available":"2.000000 XTS"}
    th_a  wallet.cpp:206 withdraw_to_transaction

    {"amount":10495701,"asset_id":0,"from_account_address":"XTSzeBJTaQEDcx6NffvuYW39qyt6gG91Rwj","trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTSPghsfhR7GSSW9bfPALY2n8FKDCL73sy5B","amount":2000000,"claim_input_data":""}}],"signatures":[]},"required_signatures":["XTS7g45Ah8dtfjVdUptKCg23RFiXzMMbXiz6","XTSzeBJTaQEDcx6NffvuYW39qyt6gG91Rwj"]}
    th_a  wallet.cpp:207 withdraw_to_transaction

    {"symbol":"POR","name":"Power","description":"Power Coin","issuer_account":"networker"}
    th_a  wallet.cpp:1729 create_asset

    {}
    th_a  common_api_client.cpp:562 wallet_asset_create

    {"command":"wallet_asset_create"}
    th_a  cli.cpp:547 execute_command
networker (unlocked) >>>  wallet_asset_create POR Power networker "Power Coin" null 1000000000000000 1000000
20011 insufficient_funds: insufficient funds

    {"required":"10.495701 XTS","available":"0.000000 XTS"}
    th_a  wallet.cpp:206 withdraw_to_transaction

It seems everytime I run wallet_asset_create command , my xts balance decrease no matter the asset is created successfully  or not?
Can someone send me 11 XTS for the creating asset test?

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Same here:

Code: [Select]
  12029.0    2014-06-16T19:12:00 puppies             betax               puppy love                         10,000,000.000000 PPL        0.000000 XTS        1cca930e
  12911.0    2014-06-17T00:20:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        a7f1c1fe
  12919.0    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        0dd5c404
  12919.1    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        5bea9de8
  12923.0    2014-06-17T00:25:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        4070120d
  12927.0    2014-06-17T00:26:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3cb5c470
  12962.0    2014-06-17T00:38:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3c4916b0
  12977.0    2014-06-17T00:43:00 delegate-alt        betax               buy you a drink                     10,000.000000 DRINK        0.000000 XTS        0c9c4190
  12990.1    2014-06-17T00:47:45 delegate-alt        betax               buy you a drink                     10,000.000000 DRINK        0.000000 XTS        6685757e
  13000.0    2014-06-17T00:51:30 delegate-alt        betax               buy you a drink                     10,000.000000 DRINK        0.000000 XTS        a8923925
  13288.0    2014-06-17T02:27:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        30ee8dad
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile

//edit: a7f1c1fe seems to be a multipart tx with DREAMs:


The last one (30ee8dad) It seems similar but with POW

Code: [Select]
{
  "trx": {
    "expiration": null,
    "delegate_id": null,
    "operations": [{   
        "type": "withdraw_op_type",
        "data": {
          "balance_id": "XTSHswxSb1yoHgyoK3u7SqLUnHbkMRKBFgAk",
          "amount": 10000000,
          "claim_input_data": ""
        }
      },{
        "type": "withdraw_op_type",
        "data": {
          "balance_id": "XTS82KFS55P7RxQT2yGaHjhKNEqs9b8PuYSN",
          "amount": 495709,
          "claim_input_data": ""
        }
      },{
        "type": "create_asset_op_type",
        "data": {
          "symbol": "POW",
          "name": "power",
          "description": "Power Coin",
          "public_data": 100000000000,
          "issuer_account_id": 332,
          "maximum_share_supply": 1000000,
          "precision": 1000000
        }
      }
    ],
    "signatures": [
      "20c92066273109a6c3c2b424f97cabd0e771b9dbd39db0d356a8f8796d201fdf9f8fd25fc6e83517bb4d43e24d38c19cf6e59404cd49edf85893df743cfec69ca9",
      "1f2a2e085730d3cd6600b5cbd2a0e57816eed9a05e4903d7b1c7bade49c2d1e29bf1d9a11f2cc84cadc06360f7152446464ba0d09ae9c547295760ddbb0dc208e1",
      "1f4a276262d8a90bc3d90bd5f6561474a1f2091a2facb46af698005073826b998b15e5d499fc7bf5c363d6ebb9369ca6d111161454ee01e959bf0b7a44bab2563e"
    ]
  },
  "signed_keys": [
    "XTSKnJ3GsgVzcKnQUDUX3bZjFrR8cpz4Hgfp",
    "XTSC3Rrm5HHMmjJJpvXf5owhUvchPZduDXJ1",
    "XTSJ1uVkKwj6opxn1XpHtSH2Ku1B5gRRutbS",
    "XTSPAdo1Fx1JTuo438oKJxKbDdJXGjQMCQdJ",
    "XTSGfFUDNNT46A6v7uHU4nsrykAJpCtxo52M",
    "XTS4Akzyo6tNUbgdemtrpYaLwSxjqNctxRaM",
    "XTSCtGKAhg6pDbigyPf7EpapEkgBHXfeupDX",
    "XTSDJizuC5nqRDGYi5j2vChi9mYeaV8kxPhw",
    "XTSDbE5sTA2rGycqst17EXqUJ2nZswNnMY9M",
    "XTS2X2aCdRJX1HTGJ3JTZi7iJfm8fcaqhb17",
    "XTSzeBJTaQEDcx6NffvuYW39qyt6gG91Rwj",
    "XTSEGJzmcJsCmbKw4Goi8VBy5xK9HRtUvtd1",
    "XTS44N71Gpanrwm2ZAeBXJZ4S9p8nfYgzwAM",
    "XTSCjRYC1frZKt2edjheESDvrKsiLkMHTCH3",
    "XTS3mCdpG8RQ2uKRwAL36dfmE6UPynM4596f"
  ],
  "validation_error": null,
  "required_deposits": [],
  "provided_deposits": [],
  "deposits": [],
  "withdraws": [[
      0,{
        "amount": 10495709,
        "asset_id": 0 
      }
    ]
  ],
  "balance": [[
      0,
      10495709
    ]
  ],
  "net_delegate_votes": [[
      304,{
        "votes_for": -10000000,
        "votes_against": 0
      }
    ],[
      314,{
        "votes_for": -495709,
        "votes_against": 0
      }
    ]
  ],
  "chain_location": { 
    "block_num": 13288,
    "trx_num": 0
  }
}

wallet_account_set_approval spartako

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Thanks for puppy love and drinks! :)
It is strange that I have also a lot of UNKNOW transactions:

Code: [Select]
12029.1    2014-06-16T19:12:00 puppies             spartako            puppy love                         10,000,000.000000 PPL        0.000000 XTS        4d00acba
  12911.0    2014-06-17T00:20:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        a7f1c1fe
  12919.1    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        5bea9de8
  12919.0    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        0dd5c404
  12923.0    2014-06-17T00:25:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        4070120d
  12927.0    2014-06-17T00:26:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3cb5c470
  12962.0    2014-06-17T00:38:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3c4916b0
  12977.1    2014-06-17T00:43:00 delegate-alt        spartako            buy you a drink                     10,000.000000 DRINK        0.000000 XTS        605101ed
  13009.6    2014-06-17T00:55:15 delegate-alt        spartako            buy you a drink                     10,000.000000 DRINK        0.000000 XTS        d0211a26
  13288.0    2014-06-17T02:27:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        30ee8dad

dito

Quote
  12911.0    2014-06-17T00:20:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        a7f1c1fe
  12919.0    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        0dd5c404
  12919.1    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        5bea9de8
  12923.0    2014-06-17T00:25:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        4070120d
  12927.0    2014-06-17T00:26:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3cb5c470
  12962.0    2014-06-17T00:38:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3c4916b0
  13288.0    2014-06-17T02:27:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        30ee8dad

//edit: a7f1c1fe seems to be a multipart tx with DREAMs:

Quote
{
  "trx": {
    "expiration": null,
    "delegate_id": null,
    "operations": [{
        "type": "withdraw_op_type",
        "data": {
          "balance_id": "XTSPF4tqwJcBofobTYvk1LTnS8mBhHL8PEdB",
          "amount": 7940000,
          "claim_input_data": ""
        }
      },{
        "type": "withdraw_op_type",
        "data": {
          "balance_id": "XTS23evqoPUn1gMuokexXW4o4EZbfJgf4gvb",
          "amount": 2555709,
          "claim_input_data": ""
        }
      },{
        "type": "create_asset_op_type",
        "data": {
          "symbol": "DREAM",
          "name": "Dream",
          "description": "I have a dream",
          "public_data": 1000000000000000,
          "issuer_account_id": 301,
          "maximum_share_supply": 1000000,
          "precision": 1000000
        }
      }
    ],
    "signatures": [
      "206eaf4bd8a8528807e117753bc1f5b4aa923f887a0d636dc5f548d681bd8550186516465b5468eaa98a9c8b4f336b2a183e031fb91dda5429f026eaa4aa033b57",
      "205eda2650f123b6026bd0858d1729ee16a79ff1b036d566f54fdcc5995be6d5738890675364f872fe4ec8854921f112fd1aa4e57214aedda7c501534af0b35a41",
      "20450f00a0d4f3d4e2a873cc128ba221b8818ea2aa1d85687ce4d36903e86867ee11b17ccd42fc1ae930d4dc49e7c66e9987e754e4990d48a10a1df2c90378aac7"
    ]
  },
  "signed_keys": [
    "XTSHb9T6vgwTVdHCZnpxAQsJhrfv6ZUaMibR",
    "XTSAbYQ9EzqcyqUZVDcyi8NcmiXabREMSc9i",
    "XTSGcMVUFwPodBeYqGcHyiBdPjdzfGvDXH8u",
    "XTSAPRnTisVPnXqcchGBYHkvTi1R9oECG5mY",
    "XTSPF4Kh1amQW1i8s37fcyFPrvkhhqQ4ufZr",
    "XTS9Wc6HcsXdsp15yf68YtJRLNsPHuDEeCW3",
    "XTSGGB7WWy5HHutJY8XdBrrUoCwL9V83Dtj4",
    "XTS9XgtsQAAmJsz6uC5T7B1HUTC1Fipw4KV",
    "XTSE4pN4RxYKssJ82Xiz3HhBjKEJ1mR5CYV2",
    "XTSNp4uA8HF5wB2ErkZE4DmsBeLnnsqsPkre",
    "XTSCHbgH3adAvPecgSp4LPqPC46hWfckfWBK",
    "XTS3JNsHvPqg4X28h81dVsCdDwJSxyatKKw3",
    "XTS4jPV6cGF97NueDDku334QeWrgNwnctqyV",
    "XTSnBo4NdUn1PkiDpQGTvkmfgdYyaTxVWPs",
    "XTS7ZiXFgXgQByRtvpX6wZxZMsktxZbAuRG3"
  ],
  "validation_error": null,
  "required_deposits": [],
  "provided_deposits": [],
  "deposits": [],
  "withdraws": [[
      0,{
        "amount": 10495709,
        "asset_id": 0
      }
    ]
  ],
  "balance": [[
      0,
      10495709
    ]
  ],
  "net_delegate_votes": [[
      307,{
        "votes_for": -7940000,
        "votes_against": 0
      }
    ],[
      302,{
        "votes_for": -2555709,
        "votes_against": 0
      }
    ]
  ],
  "chain_location": {
    "block_num": 12911,
    "trx_num": 0
  }
}
« Last Edit: June 17, 2014, 08:29:15 am by xeroc »

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Thanks for puppy love and drinks! :)
It is strange that I have also a lot of UNKNOW transactions:

Code: [Select]
12029.1    2014-06-16T19:12:00 puppies             spartako            puppy love                         10,000,000.000000 PPL        0.000000 XTS        4d00acba
  12911.0    2014-06-17T00:20:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        a7f1c1fe
  12919.1    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        5bea9de8
  12919.0    2014-06-17T00:23:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        0dd5c404
  12923.0    2014-06-17T00:25:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        4070120d
  12927.0    2014-06-17T00:26:45 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3cb5c470
  12962.0    2014-06-17T00:38:00 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        3c4916b0
  12977.1    2014-06-17T00:43:00 delegate-alt        spartako            buy you a drink                     10,000.000000 DRINK        0.000000 XTS        605101ed
  13009.6    2014-06-17T00:55:15 delegate-alt        spartako            buy you a drink                     10,000.000000 DRINK        0.000000 XTS        d0211a26
  13288.0    2014-06-17T02:27:30 UNKNOWN             UNKNOWN                                                        0.000000 XTS        0.000000 XTS        30ee8dad
wallet_account_set_approval spartako

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
alt, puppy thanks for your puppylove and drinks :) Nice thing to wake up to.
networker let me know if you still having problems creating your assets, just catch up now with the thread.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
anyway to dump list_errors output to file.

Code: [Select]
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054339.859860"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054340.860556",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054340.860518"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054341.861192",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054341.861155"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054342.861835",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054342.861796"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054343.862502",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054343.862464"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054344.863197",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054344.863158"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054345.863795",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054345.863757"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054346.864391",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054346.864352"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054515.892444",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054515.892406"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054516.893131",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054516.893093"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054517.893783",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054517.893745"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054518.894431",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054518.894393"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054519.895103",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054519.895064"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054520.895757",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054520.895718"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054521.896418",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054521.896380"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054522.897074",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054522.897035"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054523.897730",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054523.897690"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054524.898392",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054524.898352"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054525.899062",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054525.899024"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054526.899880",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054526.899841"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054527.900685",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054527.900647"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054528.901329",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054528.901291"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054529.902077",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054529.902039"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054530.902672",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054530.902634"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ],[
    "20140617T054531.903464",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 438,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140617T054531.903423"
          },
          "format": "network_get_connection_count() >= BTS_MIN_DELEGATE_CONNECTION_COUNT: Client must have ${count} connections before you may produce blocks",
          "data": {
            "count": 5
          }
        }
      ]
    }
  ]




Here is the list of blocks known to the seed where forks occurred thus far:

Code: [Select]
[
  6249,  10008,  12290, 12804,  13346,  13095,  13102, 10251,  12014
]

Based upon the latest graphvis rendering it appears we had a 3-way fork going on for a while.  One reason the chains may not converge is because once a fork is marked invalid it doesn't matter how long it gets.  In the event that the majority chain ends up 'in the future' (ie: your local clock is ahead) then you will never join.  That said the server is reporting that the forks were in the future, and therefore they should consider our 'longer chain' the valid chain and switch over to it.   

If you are a delegate on a minority fork then please provide me the result of 'list_errors', I am working on a version that is prettier than the current dump.   You may have to open the image in a new tab to scroll right to see the whole fork tree.


微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline bytemaster

Here is the list of blocks known to the seed where forks occurred thus far:

Code: [Select]
[
  6249,  10008,  12290, 12804,  13346,  13095,  13102, 10251,  12014
]

Based upon the latest graphvis rendering it appears we had a 3-way fork going on for a while.  One reason the chains may not converge is because once a fork is marked invalid it doesn't matter how long it gets.  In the event that the majority chain ends up 'in the future' (ie: your local clock is ahead) then you will never join.  That said the server is reporting that the forks were in the future, and therefore they should consider our 'longer chain' the valid chain and switch over to it.   

If you are a delegate on a minority fork then please provide me the result of 'list_errors', I am working on a version that is prettier than the current dump.   You may have to open the image in a new tab to scroll right to see the whole fork tree.



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.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
BM , do you mean that i can keep all my four spots <grin> ?

BTW , do i need to set up NTP on my linux and how?

Code: [Select]
sudo apt-get install NTP
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ntp is already the newest version.

   Thanks again for everyone helping us test and debug this code.  You are earning your spot as future delegates and leaders and it should pay you well.
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline bytemaster

As a protocol DPOS is very reliant on time synchronization to prevent forks.  This shouldn't be a problem but is something that I would love to find a way to make more robust.

That said while the latest fix should prevent forks in the first place, there is apparently still a bug that is preventing the minority fork from rejoining the majority fork in a timely manner.  I am going to investigate this further. 

The good news is that delegate participation has stayed above 70% for a long time now and despite the problems and bug fixes we have managed to keep the chain going.  I would say that we are on a solid trajectory toward a releasable DPOS baseline.    Thanks again for everyone helping us test and debug this code.  You are earning your spot as future delegates and leaders and it should pay you well.
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.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
send you 2 XTS just now
You are right. Digital makes the problem.
Now:
networker (unlocked) >>>  wallet_asset_create POR Power networker "Power Coin" null 1000000000000000 1000000         
20011 insufficient_funds: insufficient funds

    {"required":"10.495701 XTS","available":"10.464290 XTS"}
    th_a  wallet.cpp:206 withdraw_to_transaction

Can someone send me more XTS for the test?


Offline bytemaster

  To get a proper NTP sync delegates should install NTP and set it to track as closely as possible to minimize drift. 


I am running a VPS server on OpenVZ and manual time updates are not possible as this is a shared-kernel setup.

With the latest code it shouldn't matter too much.  Real NTP is just improving things in the sub second range.  You should be able to operate just fine now.
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.