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

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Mac users now have a test full node with gui available: https://github.com/cryptonomex/graphene/releases/download/test3/Graphene-Sept18-Testnet.dmg

Note that the web GUI included is in progress and has known issues (such as exchange tab missing and menu bar display issues). 

This is really more of a proof of concept full node release.
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 puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
I am getting a different return for get_object 1.13.46 depending upon what box I pull it from.  from my local box I get
Code: [Select]
get_object 1.13.46
[{
    "id": "1.13.46",
    "owner": "1.2.22388",
    "balance": {
      "amount": 255000000,
      "asset_id": "1.3.0"
    },
    "policy": [
      1,{
        "vesting_seconds": 86400,
        "start_claim": "1970-01-01T00:00:00",
        "coin_seconds_earned": "3100167000000",
        "coin_seconds_earned_last_update": "2015-09-21T19:57:21"
      }
    ]
  }
]
but my witness node shows amount as 311000000.  Everything else is the same except for coin seconds earned.  Both nodes show as being synced. What would cause this device to show up differently on different boxes?
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline Riverhead

riverhead, ihashfury, and bitcube are currently misbehaving (missing blocks) on the test network.

I screwed up one of the parameters. 127.192.168.1.11 is not a real IP address. Fixed and syncing fine.

Update: All good now  :D
« Last Edit: September 21, 2015, 06:09:36 pm by Riverhead »

iHashFury

  • Guest
witness delegate.ihashfury is on the latest master branch.

Thank you for the votes


I need to update ihashfury to the latest branch

Offline bytemaster

riverhead, ihashfury, and bitcube are currently misbehaving (missing blocks) on the test network. 
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 bytemaster


New witness_node crashed shortly after startup.

Code: [Select]
(gdb) run --rpc-endpoint "127.192.168.1.11:8090" -d test_net_3 -s "104.236.118.105:1776" --genesis-json sep-18-testnet-genesis.json --resync-blockchain
Starting program: /home/james/github/graphene/programs/witness_node/witness_node --rpc-endpoint "127.192.168.1.11:8090" -d test_net_3 -s "104.236.118.105:1776" --genesis-json sep-18-testnet-genesis.json --resync-blockchain
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
3104986ms th_a       witness.cpp:83                plugin_initialize    ] witness plugin:  plugin_initialize() begin
3104987ms th_a       witness.cpp:93                plugin_initialize    ] key_id_to_wif_pair: ["GPH6BJYGH.....","5....."]
3104987ms th_a       witness.cpp:111               plugin_initialize    ] witness plugin:  plugin_initialize() end
3104987ms th_a       db_management.cpp:95          wipe                 ] Wiping database
3104990ms th_a       object_database.cpp:82        wipe                 ] Wiping object_database.
3104991ms th_a       application.cpp:301           startup              ] Detected unclean shutdown. Replaying blockchain...
3104992ms th_a       application.cpp:242           operator()           ] Initializing database...
3131559ms th_a       db_management.cpp:42          reindex              ] reindexing blockchain
3131560ms th_a       db_management.cpp:95          wipe                 ] Wiping database
3131562ms th_a       object_database.cpp:82        wipe                 ] Wiping object_database.
3144646ms th_a       db_management.cpp:49          reindex              ] !no last block
3144647ms th_a       db_management.cpp:50          reindex              ] last_block:
3144682ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140737315571456
3144682ms ntp        ntp.cpp:77                    request_now          ] resolving... ["pool.ntp.org",123]
[New Thread 0x7ffff4135700 (LWP 13774)]
[New Thread 0x7ffff4936700 (LWP 13773)]
[New Thread 0x7ffff5137700 (LWP 13772)]
[New Thread 0x7ffff5b38700 (LWP 13771)]
3144691ms th_a       thread.cpp:95                 thread               ] name:p2p tid:140737296688896
3144723ms ntp        ntp.cpp:81                    request_now          ] sending request to 76.191.88.3:123
3144728ms th_a       application.cpp:122           reset_p2p_node       ] Adding seed node 104.236.118.105:1776
3144732ms th_a       application.cpp:134           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:60399
3144733ms th_a       application.cpp:184           reset_websocket_serv ] Configured websocket rpc to listen on 127.192.168.1.11:8090
3144735ms th_a       main.cpp:176                  main                 ] Exiting with error:
13 N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE: Invalid argument
Invalid argument: error converting string to IP endpoint
    {"what":"Invalid argument"}
    th_a  ip.cpp:84 from_string

    {}
    th_a  application.cpp:187 reset_websocket_server

    {}
    th_a  application.cpp:337 startup
3144808ms ntp        ntp.cpp:147                   read_loop            ] received ntp reply from 76.191.88.3:123
3144808ms ntp        ntp.cpp:161                   read_loop            ] ntp offset: -2899, round_trip_delay 80013
3144808ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to -2899
witness_node: /home/james/github/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff6979267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) trace
Tracepoint 1 at 0x7ffff6979267: file ../sysdeps/unix/sysv/linux/raise.c, line 55.
(gdb)

Looks like a configuration error on the websocket server.
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 bytemaster

Congrats on 100% participation rate with the current 27 witnesses most of which are on separate /  unique machines :)
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 Riverhead


New witness_node crashed shortly after startup.

Code: [Select]
(gdb) run --rpc-endpoint "127.192.168.1.11:8090" -d test_net_3 -s "104.236.118.105:1776" --genesis-json sep-18-testnet-genesis.json --resync-blockchain
Starting program: /home/james/github/graphene/programs/witness_node/witness_node --rpc-endpoint "127.192.168.1.11:8090" -d test_net_3 -s "104.236.118.105:1776" --genesis-json sep-18-testnet-genesis.json --resync-blockchain
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
3104986ms th_a       witness.cpp:83                plugin_initialize    ] witness plugin:  plugin_initialize() begin
3104987ms th_a       witness.cpp:93                plugin_initialize    ] key_id_to_wif_pair: ["GPH6BJYGH.....","5....."]
3104987ms th_a       witness.cpp:111               plugin_initialize    ] witness plugin:  plugin_initialize() end
3104987ms th_a       db_management.cpp:95          wipe                 ] Wiping database
3104990ms th_a       object_database.cpp:82        wipe                 ] Wiping object_database.
3104991ms th_a       application.cpp:301           startup              ] Detected unclean shutdown. Replaying blockchain...
3104992ms th_a       application.cpp:242           operator()           ] Initializing database...
3131559ms th_a       db_management.cpp:42          reindex              ] reindexing blockchain
3131560ms th_a       db_management.cpp:95          wipe                 ] Wiping database
3131562ms th_a       object_database.cpp:82        wipe                 ] Wiping object_database.
3144646ms th_a       db_management.cpp:49          reindex              ] !no last block
3144647ms th_a       db_management.cpp:50          reindex              ] last_block:
3144682ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140737315571456
3144682ms ntp        ntp.cpp:77                    request_now          ] resolving... ["pool.ntp.org",123]
[New Thread 0x7ffff4135700 (LWP 13774)]
[New Thread 0x7ffff4936700 (LWP 13773)]
[New Thread 0x7ffff5137700 (LWP 13772)]
[New Thread 0x7ffff5b38700 (LWP 13771)]
3144691ms th_a       thread.cpp:95                 thread               ] name:p2p tid:140737296688896
3144723ms ntp        ntp.cpp:81                    request_now          ] sending request to 76.191.88.3:123
3144728ms th_a       application.cpp:122           reset_p2p_node       ] Adding seed node 104.236.118.105:1776
3144732ms th_a       application.cpp:134           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:60399
3144733ms th_a       application.cpp:184           reset_websocket_serv ] Configured websocket rpc to listen on 127.192.168.1.11:8090
3144735ms th_a       main.cpp:176                  main                 ] Exiting with error:
13 N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE: Invalid argument
Invalid argument: error converting string to IP endpoint
    {"what":"Invalid argument"}
    th_a  ip.cpp:84 from_string

    {}
    th_a  application.cpp:187 reset_websocket_server

    {}
    th_a  application.cpp:337 startup
3144808ms ntp        ntp.cpp:147                   read_loop            ] received ntp reply from 76.191.88.3:123
3144808ms ntp        ntp.cpp:161                   read_loop            ] ntp offset: -2899, round_trip_delay 80013
3144808ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to -2899
witness_node: /home/james/github/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff6979267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) trace
Tracepoint 1 at 0x7ffff6979267: file ../sysdeps/unix/sysv/linux/raise.c, line 55.
(gdb)

Offline bytemaster

Also seem to be having the same issue as ihashfury.
Code: [Select]
get_witness delegate-1.lafona
{
  "id": "1.6.1531",
  "witness_account": "1.2.22396",
  "last_aslot": 0,
  "signing_key": "GPH5DCL5nbhL13sXBh1mwQp5pUBSw7rmwjWeiiy5b2Z2UxuYf8spU",
  "vote_id": "1:1530",
  "total_votes": 0,
  "url": "",
  "total_missed": 0
}

I even voted for myself, so it should show some votes.

Code: [Select]
vote_for_witness delegate-1.lafona delegate-1.lafona true true
{
  "ref_block_num": 12218,
  "ref_block_prefix": 4139592174,
  "expiration": "2015-09-21T16:48:51",
  "operations": [[
      6,{
        "fee": {
          "amount": 1002929,
          "asset_id": "1.3.0"
        },
        "account": "1.2.22396",
        "new_options": {
          "memo_key": "GPH5DCL5nbhL13sXBh1mwQp5pUBSw7rmwjWeiiy5b2Z2UxuYf8spU",
          "voting_account": "1.2.5",
          "num_witness": 0,
          "num_committee": 0,
          "votes": [
            "1:1530"
          ],
          "extensions": []
        },
        "extensions": []
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "1f7e93d12f8eea0d4844aa4a804fd41b387cecad8344224e7f8d46acda96880f2b372027a57468750770e909eedf7fda3f4af14c59e66cafd38f76589241999396"
  ]
}


I'm up-dating to latest master to see if it helps

Votes are only updated once every hour.  Wait 11 minutes and you should see your votes.
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 Riverhead

bitcube and riverhead are not producing blocks... any particular reason?

Must have gotten on a fork. Rebuilding with your most recent submit and should be back online in a few minutes.

iHashFury

  • Guest
Also seem to be having the same issue as ihashfury.
Code: [Select]
get_witness delegate-1.lafona
{
  "id": "1.6.1531",
  "witness_account": "1.2.22396",
  "last_aslot": 0,
  "signing_key": "GPH5DCL5nbhL13sXBh1mwQp5pUBSw7rmwjWeiiy5b2Z2UxuYf8spU",
  "vote_id": "1:1530",
  "total_votes": 0,
  "url": "",
  "total_missed": 0
}

I even voted for myself, so it should show some votes.

Code: [Select]
vote_for_witness delegate-1.lafona delegate-1.lafona true true
{
  "ref_block_num": 12218,
  "ref_block_prefix": 4139592174,
  "expiration": "2015-09-21T16:48:51",
  "operations": [[
      6,{
        "fee": {
          "amount": 1002929,
          "asset_id": "1.3.0"
        },
        "account": "1.2.22396",
        "new_options": {
          "memo_key": "GPH5DCL5nbhL13sXBh1mwQp5pUBSw7rmwjWeiiy5b2Z2UxuYf8spU",
          "voting_account": "1.2.5",
          "num_witness": 0,
          "num_committee": 0,
          "votes": [
            "1:1530"
          ],
          "extensions": []
        },
        "extensions": []
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "1f7e93d12f8eea0d4844aa4a804fd41b387cecad8344224e7f8d46acda96880f2b372027a57468750770e909eedf7fda3f4af14c59e66cafd38f76589241999396"
  ]
}


I'm up-dating to latest master to see if it helps

Offline CalabiYau

calabiyau still up & running, waiting for some votes:

"id": "1.6.1063",
  "witness_account": "1.2.14634"

Offline lafona

  • Sr. Member
  • ****
  • Posts: 231
    • View Profile
  • BitShares: lafona
Also seem to be having the same issue as ihashfury.
Code: [Select]
get_witness delegate-1.lafona
{
  "id": "1.6.1531",
  "witness_account": "1.2.22396",
  "last_aslot": 0,
  "signing_key": "GPH5DCL5nbhL13sXBh1mwQp5pUBSw7rmwjWeiiy5b2Z2UxuYf8spU",
  "vote_id": "1:1530",
  "total_votes": 0,
  "url": "",
  "total_missed": 0
}

I even voted for myself, so it should show some votes.

Code: [Select]
vote_for_witness delegate-1.lafona delegate-1.lafona true true
{
  "ref_block_num": 12218,
  "ref_block_prefix": 4139592174,
  "expiration": "2015-09-21T16:48:51",
  "operations": [[
      6,{
        "fee": {
          "amount": 1002929,
          "asset_id": "1.3.0"
        },
        "account": "1.2.22396",
        "new_options": {
          "memo_key": "GPH5DCL5nbhL13sXBh1mwQp5pUBSw7rmwjWeiiy5b2Z2UxuYf8spU",
          "voting_account": "1.2.5",
          "num_witness": 0,
          "num_committee": 0,
          "votes": [
            "1:1530"
          ],
          "extensions": []
        },
        "extensions": []
      }
    ]
  ],
  "extensions": [],
  "signatures": [
    "1f7e93d12f8eea0d4844aa4a804fd41b387cecad8344224e7f8d46acda96880f2b372027a57468750770e909eedf7fda3f4af14c59e66cafd38f76589241999396"
  ]
}

BTS Witnesses: delegate-1.lafona     Witness Thread: https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911
MUSE Witness: lafona

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Since are are only brave members in this thread, I'll just drop this here and ask those that run an active witness to publish feeds if possible:
https://github.com/xeroc/python-graphenelib/blob/develop/scripts/pricefeeds.py
Run this script once every hour or 30 minutes .. I will improve it over time ..

If you run into trouble you can post here or in the other thread: https://bitsharestalk.org/index.php/topic,18382.new.html#new

Good luck :)

PS. IIRC it only publishes feeds for USD EUR and CNY if I am not mistaken .. if you want to pimp it on your own, please send a pull request ..
Great work  +5%
I believe there was a bug which prevents prices be feed into USD and other pre-defined bitAssets, but it's possible with user-issued pegged assets, for example ABITUSDA.
See https://github.com/cryptonomex/graphene/issues/328
BitShares committee member: abit
BitShares witness: in.abit

Offline roadscape

Please vote for roadscape!

Code: [Select]
get_witness roadscape
{
  "id": "1.6.5249",
  "witness_account": "1.2.67429"
http://cryptofresh.com  |  witness: roadscape