BitShares Forum

Main => General Discussion => Topic started by: xeroc on January 19, 2016, 10:54:35 am

Title: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 19, 2016, 10:54:35 am
Hello there,

let me start with thanking @Riverhead for providing a machine the machine for this! Please give him some +5% or even better, some BROWNIE.PTS

Anyway, @puppies brought up the idea of constructing a public testnet and I took the idea and used it to also document the steps necessary to deploy a graphene-based blockchain.
This is the result:

- http://testnet.bitshares.eu
- http://docs.bitshares.eu/testnet/

Since I also installed a faucet, if you register an account in the web wallet, you will be donated 10k TEST so you can play around.

I planned to have three MPAs on that chain of which only two are currently "running" (price feeds). The third one got globally settled already due to a bug in one of my scripts.

Backend Code:
Please clone https://github.com/bitshares/bitshares-core, checkout "testnet" branch or latest tag starts with "test".


Have fun!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: bitacer on January 19, 2016, 11:07:43 am
This could have saved me around 200k BTS .  :D
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: cube on January 19, 2016, 02:49:31 pm
 +5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: valzav on January 19, 2016, 04:02:15 pm
 +5%
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: karnal on January 19, 2016, 04:07:02 pm
+5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?

Come on now. Not everything has to be monetized.. the various electrum-{dash,btc,ltc} operators run their servers for free, and accept donations.

Imo that's more than enough.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: Riverhead on January 19, 2016, 04:09:26 pm
+5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?
Thank you but the server is still useful to me for its intended purpose - perhaps even more useful now with a testnet running on it. Nevertheless I've been too busy with non-crypto life type stuff to really dig in and get involved with the various Bitshares efforts and projects. In lieu of time I can donate resources.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: cube on January 19, 2016, 04:21:59 pm
+5%

But he should really be compensated for the cost of running and maintaining it.  How about a worker proposal for it?
Thank you but the server is still useful to me for its intended purpose - perhaps even more useful now with a testnet running on it. Nevertheless I've been too busy with non-crypto life type stuff to really dig in and get involved with the various Bitshares efforts and projects. In lieu of time I can donate resources.

Thanks for your kind generousity. Appreciate it.  :)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 19, 2016, 05:41:44 pm
This is the result:
- http://testnet.bitshares.eu
- http://docs.bitshares.eu/testnet/

@xeroc , I can see that you've updated the docs and removed this description about setting up a private network:
https://github.com/BitSharesEurope/docs.bitshares.eu/blob/3ea1f3f4d3cf222a421362efff0bb8b2db1dafb2/source/testnet/Private.rst

Does it mean that the removed chapters are no longer needed because your current description refers to both private and public networks?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 19, 2016, 06:07:57 pm
This is the result:
- http://testnet.bitshares.eu
- http://docs.bitshares.eu/testnet/

@xeroc , I can see that you've updated the docs and removed this description about setting up a private network:
https://github.com/BitSharesEurope/docs.bitshares.eu/blob/3ea1f3f4d3cf222a421362efff0bb8b2db1dafb2/source/testnet/Private.rst

Does it mean that the removed chapters are no longer needed because your current description refers to both private and public networks?
Effectively therr is no difference between private and public chains except maybe for
- who may connect to the seed node
- who may connect to the p2p network
- who controls the committee
- who controls the witnesses

The only thing i still want to add is a tutorial about how to run a local (temporary) graphene blockchain for development
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 19, 2016, 06:30:30 pm
The only thing i still want to add is a tutorial about how to run a local (temporary) graphene blockchain for development

While you are at it, would you clarify what you meant here:
Quote
For testing purposes, the --dbg-init-key option will allow you to quickly create a new chain against any genesis file, by replacing the witnesses' block production keys.
Which command uses this option?
And what is the output of this command when used with this option?

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 19, 2016, 10:50:16 pm
I have connected my CLI client to ws://testnet.bitshares.eu:11011

When I try to execute this command :
Code: [Select]
unlocked >>> import_key neura-sx 5JMVW3catu7r2pza1yhDpVmocbJckL8jUdzpsy8THSuW6sFh3XS
I get this error:
Code: [Select]
10 assert_exception: Assert Exception
base58str.substr( 0, prefix_len ) == prefix:
    {"base58str":"TEST4xx4dqbdPAbjPbGi3YJbURdXGYMYxRzow3Po4ioS4qiWK4Hqbb"}
    th_a  types.cpp:57 graphene::chain::public_key_type::public_key_type

Does anybody know what reason is?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 19, 2016, 11:05:16 pm
@xeroc
You a have typo here http://docs.bitshares.eu/testnet/4-cli-wallet.html
The get_private_key command allows us to obtain the public private key corresponding to the block signing key
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 19, 2016, 11:17:27 pm
@xeroc
I've gone through your docs related to testnet but I could not find any information how and at which stage you set up the TEST core currency.
I guess you've done by editing the my-genesis.json file but you gave no details how it's done.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on January 20, 2016, 12:48:40 am
I have connected my CLI client to ws://testnet.bitshares.eu:11011

When I try to execute this command :
Code: [Select]
unlocked >>> import_key neura-sx 5JMVW3catu7r2pza1yhDpVmocbJckL8jUdzpsy8THSuW6sFh3XS
If this is a private key which you're using in the real network, change it now.

Quote
I get this error:
Code: [Select]
10 assert_exception: Assert Exception
base58str.substr( 0, prefix_len ) == prefix:
    {"base58str":"TEST4xx4dqbdPAbjPbGi3YJbURdXGYMYxRzow3Po4ioS4qiWK4Hqbb"}
    th_a  types.cpp:57 graphene::chain::public_key_type::public_key_type

Does anybody know what reason is?
You need to modify libraries/chain/include/graphene/chain/config.hpp to set the prefix and/or other values to "TEST".
And maybe need to modify libraries/chain/protocol/types.cpp
Same for the quoted question below.
@xeroc
I've gone through your docs related to testnet but I could not find any information how and at which stage you set up the TEST core currency.
I guess you've done by editing the my-genesis.json file but you gave no details how it's done.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 01:46:37 am
If this is a private key which you're using in the real network, change it now.
The key I pasted is a private key from the testnet so it's all safe (thank you anyway).
I was trying to import a testnet account from the GUI into the CLI.
I copied the private key from the GUI and wanted to use it in the import_key command in the CLI but it failed.

Quote
You need to modify libraries/chain/include/graphene/chain/config.hpp to set the prefix and/or other values to "TEST".
And maybe need to modify libraries/chain/protocol/types.cpp

Would it mean I need to recompile the CLI to be able to access the testnet?
I hope there is a more practical solution - I'm sure xeroc will shed some light on this.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: merivercap on January 20, 2016, 04:56:00 am
 +5%

Great job @xeroc!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 07:11:59 am
While you are at it, would you clarify what you meant here:
Quote
For testing purposes, the --dbg-init-key option will allow you to quickly create a new chain against any genesis file, by replacing the witnesses' block production keys.
Which command uses this option?
And what is the output of this command when used with this option?
Sorry about that .. that is nonsense at this point and I will remove it ..
the purpose of this thing (afaik) is to use any predefined genesis and simply replace the block producers to some you own .. then you don't need to fiddle around with the genesis file
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 07:14:48 am
I have connected my CLI client to ws://testnet.bitshares.eu:11011

When I try to execute this command :
Code: [Select]
unlocked >>> import_key neura-sx 5JMVW3catu7r2pza1yhDpVmocbJckL8jUdzpsy8THSuW6sFh3XS
I get this error:
Code: [Select]
10 assert_exception: Assert Exception
base58str.substr( 0, prefix_len ) == prefix:
    {"base58str":"TEST4xx4dqbdPAbjPbGi3YJbURdXGYMYxRzow3Po4ioS4qiWK4Hqbb"}
    th_a  types.cpp:57 graphene::chain::public_key_type::public_key_type

Does anybody know what reason is?
you can't use the testnet with your BTS cli-wallet .. you need to compile the graphene-testnet sources from the github/bitshareseurope repository

@xeroc
You a have typo here http://docs.bitshares.eu/testnet/4-cli-wallet.html
The get_private_key command allows us to obtain the public private key corresponding to the block signing key
thanks .. fixed

@xeroc
I've gone through your docs related to testnet but I could not find any information how and at which stage you set up the TEST core currency.
I guess you've done by editing the my-genesis.json file but you gave no details how it's done.
you need to define those in the config.hpp .. the initial distribution is part of the genesis block
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 10:39:26 am
you can't use the testnet with your BTS cli-wallet .. you need to compile the graphene-testnet sources from the github/bitshareseurope repository

Just to make sure I understand it correctly - I could also stick to the official repository and make these changes in config.hpp:
Code: [Select]
+#define GRAPHENE_SYMBOL "TEST"
+#define GRAPHENE_ADDRESS_PREFIX "TEST"
and recompile the cli-wallet to be able to use it for testnet.
Is this correct?

And two "stupid questions":
(1) Is this the only change you've made after you've cloned your repository from https://github.com/cryptonomex/graphene?
https://github.com/BitSharesEurope/graphene-testnet/commit/7250a5d99a9af47ed7d6cf937908c036703f4a9a

(2) You say in your docs that you've "forked CNX’s code base".
But https://github.com/BitSharesEurope/graphene-testnet is not labelled as  "forked from cryptonomex/graphene" on github. Why is that?

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 10:43:45 am
you can't use the testnet with your BTS cli-wallet .. you need to compile the graphene-testnet sources from the github/bitshareseurope repository

Just to make sure I understand it correctly - I could also stick to the official repository and make these changes in config.hpp:
Code: [Select]
+#define GRAPHENE_SYMBOL "TEST"
+#define GRAPHENE_ADDRESS_PREFIX "TEST"
and recompile the cli-wallet to be able to use it for testnet.
Is this correct?

Nop .. you also need the genesis block which I fogot to include in the
graphene-testnet repository ... Only then will you be able to connect
your witness ndoe to the testnet.
I am currently testing this my own and will update the repo shortly

Quote

And two "stupid questions":
(1) Is this the only change you've made after you've cloned your repository from https://github.com/cryptonomex/graphene?
https://github.com/BitSharesEurope/graphene-testnet/commit/7250a5d99a9af47ed7d6cf937908c036703f4a9a
Those ... plus the genesis block that will be added to the repo shortly.
Yes

Quote
(2) You say in your docs that you've "forked CNX’s code base".
But https://github.com/BitSharesEurope/graphene-testnet is not labelled as  "forked from cryptonomex/graphene" on github. Why is that?
Very good question ..
Maybe I should have forked using the github fork button.
But I cloned CNX and changed gits origin .. let me try to fix that
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 11:01:56 am
Only then will you be able to connect your witness ndoe to the testnet.
But I only meant connecting the CLI-wallet to testnet.bitshares.eu.
I assume the CLI does not care about the genesis block so I guess changing the config.hpp and recompiling the cli-wallet should suffice. Correct?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 11:04:27 am
Only then will you be able to connect your witness ndoe to the testnet.
But I only meant connecting the CLI-wallet to testnet.bitshares.eu.
I assume the CLI does not care about the genesis block so I guess changing the config.hpp and recompiling the cli-wallet should suffice. Correct?
I fixed the repo in the bitshareseurope account ..
and to answer your question .. you will need to define a --chain-id then ..
it is
Code: [Select]
39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 12:12:56 pm
and to answer your question .. you will need to define a --chain-id then ..
it is
Code: [Select]
39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447

Yes, I use this command to run it:
Code: [Select]
cli_wallet --wallet-file my-wallet.json --chain-id 39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447 --server-rpc-endpoint ws://testnet.bitshares.eu:11011
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: betax on January 20, 2016, 12:46:43 pm
Fantastic :) Great for demos.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: roadscape on January 20, 2016, 04:07:26 pm
Thank you for this effort!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 04:39:52 pm
Great for testing bots:
http://testnet.bitshares.eu/#/market/PEG.RANDOM_TEST
http://testnet.bitshares.eu/#/market/PEG.PARITY_TEST
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 05:24:46 pm
After recompiling the CLI (with config.hpp appropriately modified) I've managed to import a private key (for my testnet account neura-sx) from the testnet GUI to the testnet CLI.
Prior to importing the key this account has been upgraded to LTM.

However when I try to register a new account called zajac in the CLI:
Code: [Select]
register_account zajac TEST652Ynn6QAP518Po2GM7t8Ws5gJGTyFYBsfyvNr9KjzH2pgJZaT TEST652Ynn6QAP518Po2GM7t8Ws5gJGTyFYBsfyvNr9KjzH2pgJZaT neura-sx neura-sx 0 true
I get this error:
Code: [Select]
3030001 tx_missing_active_auth: missing required active authority
What might be the reason?

EDIT: I get the same error when I try to create an account using the brian key:
Code: [Select]
create_account_with_brain_key "CYANIDE PAROECY PUB ..." zajac neura-sx neura-sx true
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on January 20, 2016, 06:06:58 pm
However when I try to register a new account called zajac in the CLI:
Code: [Select]
register_account zajac TEST652Ynn6QAP518Po2GM7t8Ws5gJGTyFYBsfyvNr9KjzH2pgJZaT TEST652Ynn6QAP518Po2GM7t8Ws5gJGTyFYBsfyvNr9KjzH2pgJZaT neura-sx neura-sx 0 true
Looks like you need to import the active key of neura-sx.

//Update:
Yes I checked it's the reason. Although I don't know why the API still need active_key when you already have owner_key. Will check when have time.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 06:23:40 pm
However when I try to register a new account called zajac in the CLI:
Code: [Select]
register_account zajac TEST652Ynn6QAP518Po2GM7t8Ws5gJGTyFYBsfyvNr9KjzH2pgJZaT TEST652Ynn6QAP518Po2GM7t8Ws5gJGTyFYBsfyvNr9KjzH2pgJZaT neura-sx neura-sx 0 true
Looks like you need to import the active key of neura-sx.

//Update:
Yes I checked it's the reason. Although I don't know why the API still need active_key when you already have owner_key. Will check when have time.

Thanks @abit , you are right, I forgot about the active private key.
After importing it everything works fine.

I'll prepare another round of FAQs and publish them together with answers I got so far from xeroc, abit and others.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 07:30:49 pm
So 
I learned something in the progress of launching a graphene chain...

Namely to read the given documentation carefully. It turns out that I made a mistake when launching the chains such that I cannot provide you a genesis file that you can use to build your own witness node for that network ..
I fixed the documentation accordingly:  https://github.com/BitSharesEurope/docs.bitshares.eu/commit/830a3e0bbfd2a8a126220b0ed80f4c7adeae1260

Since I want others to join block production in the test network, I need to restart the network from scratch

Fortunatelly, it is not so old, not many accounts have been created and certainly no one managed to run a witness node against the test network. With test network 2, thing can only get better :)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 08:22:26 pm
@xeroc
What is the meaning of the number 10 here?
Code: [Select]
--genesis-timestamp 10
Could it be a different number or does it have to be 10?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 08:26:55 pm
@xeroc
What is the meaning of the number 10 here?
Code: [Select]
--genesis-timestamp 10
Could it be a different number or does it have to be 10?
can be anything any positiv number .. it sets the timestamp of the genesisblock at now()+x
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 20, 2016, 08:37:34 pm
This note is unclear to me:
Quote
Unless no other witness produces blocks and witness participation is high enough, subsequent runs which connect to an existing witness node over the p2p network, or which get blockchain state from an existing data directory, need not have the --enable-stale-production flag.

Does it mean that if I have a private testnet on a single computer, I need to use this flag at all times when I run the witness node or just for the very first run of the witness node when the first block gets produced?

Also you effectively say that if the witness participation is high enough I need this flag to be on - which makes little sense to me. Shouldn't it be the other way round?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 20, 2016, 09:13:21 pm
This note is unclear to me:
Quote
Unless no other witness produces blocks and witness participation is high enough, subsequent runs which connect to an existing witness node over the p2p network, or which get blockchain state from an existing data directory, need not have the --enable-stale-production flag.

Does it mean that if I have a private testnet on a single computer, I need to use this flag at all times when I run the witness node or just for the very first run of the witness node when the first block gets produced?

Yes .. this flag ensures that blocks are generated even if the
blockchain has been stuck due to a server crash or something similar

Quote
Also you effectively say that if the witness participation is
high enough I need this flag to be on - which makes little sense
to me. Shouldn't it be the other way round?
Woops .. double negation
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: betax on January 21, 2016, 01:35:37 pm
Any chance of using another port for the web sockets? I requested and unblocked the testnet.bitshares.eu from a generic corporate proxy. But port 11011 is not use.

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 21, 2016, 01:44:06 pm
Any chance of using another port for the web sockets? I requested and unblocked the testnet.bitshares.eu from a generic corporate proxy. But port 11011 is not use.
what port do you prefer?
Maybe I can even setup a proxy redirect similar to openledger and have it accessible via /ws
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: betax on January 22, 2016, 03:30:42 pm
OpenLedger works behind the corporate firewall, so that would be good :)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 22, 2016, 03:32:08 pm
Ok .. I'll try to work this one out ..

//edit: fixed it .. if you refresh it should probably use another connection URL (ending with /ws) .. otherwise you can put this url into your connection manually:
http://testnet.bitshares.eu/ws
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 25, 2016, 09:32:26 am
So 
I learned something in the progress of launching a graphene chain...

Namely to read the given documentation carefully. It turns out that I made a mistake when launching the chains such that I cannot provide you a genesis file that you can use to build your own witness node for that network ..
I fixed the documentation accordingly:  https://github.com/BitSharesEurope/docs.bitshares.eu/commit/830a3e0bbfd2a8a126220b0ed80f4c7adeae1260

Since I want others to join block production in the test network, I need to restart the network from scratch

Fortunatelly, it is not so old, not many accounts have been created and certainly no one managed to run a witness node against the test network. With test network 2, thing can only get better :)



I just figured this out, fixed the documentation and have the genesis.json added to the repo. Everyone compiling from
https://github.com/BitSharesEurope/graphene-testnet
should be able to connect to the seed node. I will add the default seed node stuff today

https://github.com/BitSharesEurope/graphene-testnet/commit/94f0a95be6f80cb5a7926ba6cc920dd795eb3a19
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 26, 2016, 04:49:04 pm
I just figured this out, fixed the documentation and have the genesis.json added to the repo. Everyone compiling from
https://github.com/BitSharesEurope/graphene-testnet
should be able to connect to the seed node. I will add the default seed node stuff today

https://github.com/BitSharesEurope/graphene-testnet/commit/94f0a95be6f80cb5a7926ba6cc920dd795eb3a19

@xeroc
Does it mean you've managed to re-launch the testnet without changing its id?
Code: [Select]
39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 26, 2016, 04:57:57 pm
I have not relaunched the testnet ..
I just figured out what needs to be done to have the default repository be able to connect to the testnet ..

The issues I had have been that anytime I tried to connect my witnesses to the seed node, the chain id was wrong ... and the reason was that I didn't include the genesis file properly ..
that is all now done and documented in the tutorial

give it a try.. if you recompile the latest master cleanly .. you should autoconnect to the seed node and the testnetwork
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: hrossik on January 28, 2016, 02:21:38 pm
I've been trying to build graphene from source on ubuntu 15.10 and am stuck at this point of the documentation (https://github.com/cryptonomex/graphene/wiki/build-ubuntu):

Quote
To actually run cmake we now need the following parameters:
Code: [Select]
cmake -DCMAKE_PREFIX_PATH="$QT_ROOT" -DCMAKE_MODULE_PATH="$QT_ROOT/lib/cmake/Qt5Core" -DQT_QMAKE_EXECUTABLE="$QT_ROOT/bin/qmake" -DBUILD_QT_GUI=TRUE \
      -DGRAPHENE_EGENESIS_JSON="$GENESIS_JSON" -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Debug .

It says "CMake Error: The source directory "/home/***/qt-everywhere-opensource-src-5.5.0" does not appear to contain CMakeLists.txt." Is it correct to try this line in the /home/***/qt-everywhere-opensource-src-5.5.0 directory?

Anybody knows what the problem is?

Edit: Ahh, I see, it's probably configuration of cmake for building graphene.. so it should be executed in graphene folder.. right?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 28, 2016, 05:05:04 pm
@xeroc
After compiling from your testnet repository (https://github.com/BitSharesEurope/graphene-testnet), when I try to run the witness node (without any parameters):
Code: [Select]
witness_node
I get this:
Code: [Select]
2499229ms th_a       witness.cpp:86                plugin_initialize    ] witness plugin:  plugin_initialize() begin
2499231ms th_a       witness.cpp:96                plugin_initialize    ] key_id_to_wif_pair: ["TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1Jiws
ST4cqQzDeyXtP79zkvFD3"]
2499234ms th_a       witness.cpp:114               plugin_initialize    ] witness plugin:  plugin_initialize() end
2499236ms th_a       object_database.cpp:91        open                 ] Opening object database from D:/Program Files/BitShares 2/bin64t/witness_node_data_dir/blockchain ...
2499273ms th_a       object_database.cpp:97        open                 ] Done opening object database.
2499275ms th_a       thread.cpp:95                 thread               ] name:ntp tid:388
2499276ms th_a       thread.cpp:95                 thread               ] name:p2p tid:412
2499366ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to 229455 us
2499375ms th_a       application.cpp:144           reset_p2p_node       ] Adding seed node 46.101.188.80:11010
2499377ms th_a       application.cpp:155           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:54055
2499380ms th_a       witness.cpp:119               plugin_startup       ] witness plugin:  plugin_startup() begin
2499381ms th_a       witness.cpp:136               plugin_startup       ] No witnesses configured! Please add witness IDs and private keys to configuration.
2499383ms th_a       witness.cpp:137               plugin_startup       ] witness plugin:  plugin_startup() end
2499384ms th_a       main.cpp:176                  main                 ] Started witness node on a chain with 0 blocks.
2499385ms th_a       main.cpp:177                  main                 ] Chain ID is 1f3e7fde05994c55443606e2c4186f6e7943d2333c6db139c42031eff1d19a38

... and it gets stuck at this point.

The chain ID is clearly different than it should be:
I have:
Code: [Select]
1f3e7fde05994c55443606e2c4186f6e7943d2333c6db139c42031eff1d19a38instead of this which I got :
Code: [Select]
39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447which I believe is the testnet's blockchain id.

I did not modify the genesis.json file or add any seed nodes. Should I?

----------------------------------------------

EDIT: After further investigation, I've come to the conclusion that this problem stems from the genesis.json file:
When I download the repository from graphene-testnet (https://github.com/BitSharesEurope/graphene-testnet) as a zip file and use the genesis.json file extracted from the zip, everything works fine and I get the correct blockchain id (i.e. compatible with the testnet).
However when I clone the repository from graphene-testnet (https://github.com/BitSharesEurope/graphene-testnet) and use the genesis.json file from the cloned copy, I get some strange blockchain id (i.e. incompatible with the testnet).

I've checked it several times, so there is very little chance that I've made a mistake.
It's very strange, as there is no apparent difference between the content of those files.
But this might be some Windows-related issue.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 28, 2016, 08:28:38 pm
What is the reason all newly created accounts on the testnet have committee-account as their proxy?
Is it a bug?

(http://i.imgur.com/uptTWLz.png)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 29, 2016, 08:46:12 am
I've been trying to build graphene from source on ubuntu 15.10 and am stuck at this point of the documentation (https://github.com/cryptonomex/graphene/wiki/build-ubuntu):

Quote
To actually run cmake we now need the following parameters:
Code: [Select]
cmake -DCMAKE_PREFIX_PATH="$QT_ROOT" -DCMAKE_MODULE_PATH="$QT_ROOT/lib/cmake/Qt5Core" -DQT_QMAKE_EXECUTABLE="$QT_ROOT/bin/qmake" -DBUILD_QT_GUI=TRUE \
      -DGRAPHENE_EGENESIS_JSON="$GENESIS_JSON" -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Debug .

It says "CMake Error: The source directory "/home/***/qt-everywhere-opensource-src-5.5.0" does not appear to contain CMakeLists.txt." Is it correct to try this line in the /home/***/qt-everywhere-opensource-src-5.5.0 directory?

Anybody knows what the problem is?

Edit: Ahh, I see, it's probably configuration of cmake for building graphene.. so it should be executed in graphene folder.. right?
The QT part has been abandoned.
Use this tutorial instead:
http://docs.bitshares.eu/bitshares/installation/Build.html
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 29, 2016, 08:48:20 am
I've checked it several times, so there is very little chance that I've made a mistake.
It's very strange, as there is no apparent difference between the content of those files.
But this might be some Windows-related issue.
I had these kind of issues as well .. do you have a CLEAN repository? Cmake creates some temporary files that WILL screw things up.

make clean
find . -name "CMakeCache.txt" | xargs rm -f
find . -name "CMakeFiles" | xargs rm -Rf
cmake -DCMAKE_BUILD_TYPE=Release .
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 29, 2016, 08:49:26 am
What is the reason all newly created accounts on the testnet have committee-account as their proxy?
Is it a bug?
It certainly was not on purpose ..
No idea what the reason for this is .. and since this is a clone of the official repository, I assume it's the same behavior on the real network
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on January 29, 2016, 09:33:09 am
What is the reason all newly created accounts on the testnet have committee-account as their proxy?
Is it a bug?
It's a whatever "feature". I don't know why it's designed like this though.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 29, 2016, 09:34:21 am
I've checked it several times, so there is very little chance that I've made a mistake.
It's very strange, as there is no apparent difference between the content of those files.
But this might be some Windows-related issue.
I had these kind of issues as well .. do you have a CLEAN repository? Cmake creates some temporary files that WILL screw things up.

make clean
find . -name "CMakeCache.txt" | xargs rm -f
find . -name "CMakeFiles" | xargs rm -Rf
cmake -DCMAKE_BUILD_TYPE=Release .

I'll try with "make clean".
But the symptoms I have, do not indicate that Cmake is the culprit:

(a) When I clear the witness folders (i.e. witness_node_data_dir & object_database) and run:
Code: [Select]
witness_node --genesis-json zip-genesis.json(where the zip-genesis.json file originates from the github zip)
everything is fine, I get the correct blockchain id.

(b) When I clear the witness folders (i.e. witness_node_data_dir & object_database) and run the same witness:
Code: [Select]
witness_node --genesis-json git-genesis.json(where the git-genesis.json file originates from cloning the github repo)
I get a different blockchain id.

So I use the same compilation of witness node, just "different" genesis.json files (though their content is the same) and, as a result, the blockchain ids are different.
There must be some difference between those files but I'm not able to determine this difference.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 29, 2016, 11:26:47 am
(a) When I clear the witness folders (i.e. witness_node_data_dir & object_database) and run:
Code: [Select]
witness_node --genesis-json zip-genesis.json(where the zip-genesis.json file originates from the github zip)
everything is fine, I get the correct blockchain id.

I though that the genesis.json is automatically added to the
witness_node but it seems the compile process should be differently.
This is my observation from a fresh checkout:

Code: [Select]
git clone github:BitSharesEurope/graphene-testnet
cd graphene-testnet
git submodule update --init --recursive
cmake -DCMAKE_BUILD_TYPE=Release .
make
programs/witness_node/witness_node
# Turned out with the wrong chain id

programs/witness_node/witness_node --genesis-json genesis.json
# turned out out with correct chain id and connected
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 29, 2016, 12:03:07 pm
What is the reason all newly created accounts on the testnet have committee-account as their proxy?
Is it a bug?
It's a whatever "feature". I don't know why it's designed like this though.
I've added it as a potential issue on github:
https://github.com/cryptonomex/graphene/issues/543
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 29, 2016, 02:04:25 pm
(a) When I clear the witness folders (i.e. witness_node_data_dir & object_database) and run:
Code: [Select]
witness_node --genesis-json zip-genesis.json(where the zip-genesis.json file originates from the github zip)
everything is fine, I get the correct blockchain id.

I though that the genesis.json is automatically added to the
witness_node but it seems the compile process should be differently.
This is my observation from a fresh checkout:

Code: [Select]
git clone github:BitSharesEurope/graphene-testnet
cd graphene-testnet
git submodule update --init --recursive
cmake -DCMAKE_BUILD_TYPE=Release .
make
programs/witness_node/witness_node
# Turned out with the wrong chain id

programs/witness_node/witness_node --genesis-json genesis.json
# turned out out with correct chain id and connected

I might have discovered something interesting.
Look at the binary representations of these two files:

This is the genesis.json file that you receive when you clone the repo:
(http://i.imgur.com/czlJntn.png)
The above file produces the "wrong" blockchain id.

Whereas this is the genesis.json file that you receive when you download a zipped version of the repo:
(http://i.imgur.com/HP0yyEH.png)
The above file produces the "correct" blockchain id.

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 29, 2016, 02:27:35 pm
wow .. that is weird
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on January 29, 2016, 04:35:34 pm
This is the genesis.json file that you receive when you clone the repo:
The above file produces the "wrong" blockchain id.

Whereas this is the genesis.json file that you receive when you download a zipped version of the repo:
The above file produces the "correct" blockchain id.
Differences are the carriage returns (CR) aka "\r" or 0D in hex.
The first one is in windows text file format, which has both "\r"s and "\n"s, or 0D 0A in hex.
The second one is in linux text file format, which has only "\n"s, or 0A in hex.

So the difference may come from:
* editor settings
* git repo settings
* git client settings
* zip tool settings

Thoughts?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on January 29, 2016, 04:42:20 pm
This is the genesis.json file that you receive when you clone the repo:
The above file produces the "wrong" blockchain id.

Whereas this is the genesis.json file that you receive when you download a zipped version of the repo:
The above file produces the "correct" blockchain id.
Differences are the line feeds aka "\r" or 0D in hex.
The first one is in windows text file format, which has both "\r"s and "\n"s, or 0D 0A in hex.
The second one is in linux text file format, which has only "\n"s, or 0A in hex.

So the difference may come from:
* editor settings
* git repo settings
* git client settings
* zip tool settings

Thoughts?

The thing is, those slight differences produce different behavior of the witness node.
The process of calculating the blockchain id seems to depend on those small differences.
And xeroc seems to have similar issues on Linux.

IMO, it's a bug.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on January 31, 2016, 09:02:58 pm
@xeroc please correct me if am wrong, but I think right now there is no possibility to create USD in testnet, because borrowing is possible only for assets which has price feed.

Could you run a price feed for all bitAssets which has price feed in real network? Could you add a documentation how to run such price feed for all assets for testnetwork? 
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on January 31, 2016, 09:06:56 pm
There is a PEG.FAKEUSD for that purpose and it should have a price feed.

I will not use USD to make clear the those tokens are worthless
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: merivercap on January 31, 2016, 09:10:36 pm
@xeroc please correct me if am wrong, but I think right now there is no possibility to create USD in testnet, because borrowing is possible only for assets which has price feed.

Could you run a price feed for all bitAssets which has price feed in real network? Could you add a documentation how to run such price feed for all assets for testnetwork?

@noisy BTW feel free to play around with PEG.FAKEUSD if you are ok with some parameter tweaks... it uses one price-feed from Poloniex.   
(Note:  Parameters are: MSSR: 100.1%, MCR: 175%, forced settlement at 90%)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on January 31, 2016, 09:43:49 pm
There is a PEG.FAKEUSD for that purpose and it should have a price feed.

I will not use USD to make clear the those tokens are worthless

Testnet in my opinion should looks like ideal place to trade assets. USD:BTC exchange should behave like a real exchange. All assets like USD, BTC, EUR, GOLD, SILVER should have price feeds. Ours bots should provide a liquidity for those markets :)

In my opinion we should just add the reminder about fact, that this is just a test network to footer of wallet. We already emphasize that with URL address. Additional information (more elaborated) could be in deposit-withdraw section.

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 01, 2016, 08:40:40 am
There is a PEG.FAKEUSD for that purpose and it should have a price feed.

I will not use USD to make clear the those tokens are worthless

Testnet in my opinion should looks like ideal place to trade assets. USD:BTC exchange should behave like a real exchange. All assets like USD, BTC, EUR, GOLD, SILVER should have price feeds. Ours bots should provide a liquidity for those markets :)

In my opinion we should just add the reminder about fact, that this is just a test network to footer of wallet. We already emphasize that with URL address. Additional information (more elaborated) could be in deposit-withdraw section.
I completely removed the deposit-withdraw section from the account settings, so that shouldn't be a big deal.
My thinking is that we need to make as clear as possible that this is a testnet and it's tokens are worthless. Calling them USD and pegging them similar to BTS:USD is counterproductive imho ..
But I certainly agree that everyone should put a bot into PEG.FAKEUSD:TEST
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 01, 2016, 08:57:45 am
My thinking is that we need to make as clear as possible that this is a testnet and it's tokens are worthless.

I agree. But I would like to treat a testnet like a staging environment, where things should be as close as possible to real network. Maybe an alert/reminder after loading a page would be enough?

Calling them USD and pegging them similar to BTS:USD is counterproductive imho ..

In my opinion we have too many assets, what is very confusing for new users. For example, we have BTC, openBTC, metaBTC, etc. now we are going to have even more assets in the testnet, like PEG.FAKEBTC, because without making a pegged assets there is no possibility of creating those assets by collateral. Am I right?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 01, 2016, 01:46:03 pm
I've managed to add a witness node to the testnet.
It's called neura-sx and it runs on a Ubuntu server.

There were no issues while setting up the witness, expect for this one: the embedded version of the genesis.json file did not work for me as it generated a wrong blockchain ID.

The workaround is simple: apply the genesis.json file manually like this:
Code: [Select]
graphene-testnet/programs/witness_node/witness_node --genesis-json graphene-testnet/genesis.json --witness-id '"<your-witness-id>"' --private-key '["<your-witness-public-key>","<your-witness-private-key>"]'
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 01, 2016, 01:55:45 pm
Yes, i noticed that too and there is a bug report about whatever went wrong with the embedded genesis block.

I'll let vote you in asap
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 01, 2016, 11:50:22 pm
@xeroc
I think you haven't copied some js widgets for the testnet web GUI.
As a result, some features are malfunctioning e.g. the settings pop-up for the price history chart does not work.

Compare:
https://bitshares.openledger.info/widgets/1/w.js
with the missing file here:
http://testnet.bitshares.eu/widgets/1/w.js
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 02, 2016, 09:40:26 am
My thinking is that we need to make as clear as possible that this is a testnet and it's tokens are worthless.

I agree. But I would like to treat a testnet like a staging environment, where things should be as close as possible to real network. Maybe an alert/reminder after loading a page would be enough?

Calling them USD and pegging them similar to BTS:USD is counterproductive imho ..

In my opinion we have too many assets, what is very confusing for new users. For example, we have BTC, openBTC, metaBTC, etc. now we are going to have even more assets in the testnet, like PEG.FAKEBTC, because without making a pegged assets there is no possibility of creating those assets by collateral. Am I right?
You can create those assets by yourself if they're currently not available. Ask xeroc for funds. Ask xeroc for electing your witnesses so that you can publish price feeds.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 02, 2016, 10:03:10 am
Ask xeroc for funds. Ask xeroc for electing your witnesses so that you can publish price feeds.
Those two can be done even without xeroc's help - each new account in the web GUI is well funded by default.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 02, 2016, 10:21:34 am
@xeroc
I think you haven't copied some js widgets for the testnet web GUI.
As a result, some features are malfunctioning e.g. the settings pop-up for the price history chart does not work.

Compare:
https://bitshares.openledger.info/widgets/1/w.js
with the missing file here:
http://testnet.bitshares.eu/widgets/1/w.js
Interesting. I though those would be installed automatically by `npm` .. @svk: do you know more?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 02, 2016, 10:31:06 am
Ask xeroc for funds. Ask xeroc for electing your witnesses so that you can publish price feeds.
Those two can be done even without xeroc's help - each new account in the web GUI is well funded by default.
Not enough.
Xeroc votes with 9.8 billion for his own witnesses (from the faucet account). Every new account get funded with 1 million only. Unless you create 10K accounts and all vote for your witness. You can try create 5K accounts (with a script maybe) so your combined voting power will be higher than faucet.
Or maybe you only need to vote for all current active witnesses + your witness, so the total number of active witnesses will increase by 1, so you're voted in?

//Update: init9 is voted in with 0 votes, so there is at least one witness position available in testnet. However I think it's best if at least 3 witnesses provide price feeds to a MPA.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 02, 2016, 10:51:07 am
I think I added witness called "issuer", but it is not appear on http://testnet.bitshares.eu/#/explorer/witnesses, but I still have Votes: 0.

Should I do something more or a committee member has to vote for this witness?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 02, 2016, 10:52:31 am
Ask xeroc for funds. Ask xeroc for electing your witnesses so that you can publish price feeds.
Those two can be done even without xeroc's help - each new account in the web GUI is well funded by default.
Not enough.
Xeroc votes with 9.8 billion for his own witnesses (from the faucet account). Every new account get funded with 1 million only. Unless you create 10K accounts and all vote for your witness. You can try create 5K accounts (with a script maybe) so your combined voting power will be higher than faucet.
Or maybe you only need to vote for all current active witnesses + your witness, so the total number of active witnesses will increase by 1, so you're voted in?

//Update: init9 is voted in with 0 votes, so there is at least one witness position available in testnet. However I think it's best if at least 3 witnesses provide price feeds to a MPA.
you don't need witnesses to run feeds .. you can do this with privatized bitassets as well ..
https://github.com/BitSharesEurope/testnet-pythonscripts/blob/master/create_mpa.py
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 02, 2016, 11:34:13 am
@xeroc
I think you haven't copied some js widgets for the testnet web GUI.
As a result, some features are malfunctioning e.g. the settings pop-up for the price history chart does not work.

Compare:
https://bitshares.openledger.info/widgets/1/w.js
with the missing file here:
http://testnet.bitshares.eu/widgets/1/w.js
Interesting. I though those would be installed automatically by `npm` .. @svk: do you know more?

That would also explain my general impression that the testnet GUI gets stuck due to unhandled exceptions (and needs reloading) much more frequently than the live one.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 02, 2016, 11:40:38 am
I think I added witness called "issuer", but it is not appear on http://testnet.bitshares.eu/#/explorer/witnesses, but I still have Votes: 0.

Should I do something more or a committee member has to vote for this witness?

The witnesses can be voted in by anybody, no committee member needs to be involved.
Next vote update is in 12 hours, we need to wait till then to see the votes supporting your witness applied.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: svk on February 02, 2016, 12:24:57 pm
@xeroc
I think you haven't copied some js widgets for the testnet web GUI.
As a result, some features are malfunctioning e.g. the settings pop-up for the price history chart does not work.

Compare:
https://bitshares.openledger.info/widgets/1/w.js
with the missing file here:
http://testnet.bitshares.eu/widgets/1/w.js
Interesting. I though those would be installed automatically by `npm` .. @svk: do you know more?

I'm not sure what that widget is for but it seems to be related to the Electron build, so it's no problem that it's missing.

I assume you're building with "npm run build" and hosting with nginx or Apache? Shouldn't need to do anything other than that.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 02, 2016, 12:33:33 pm
I assume you're building with "npm run build" and hosting with nginx or Apache? Shouldn't need to do anything other than that.
exactly that .. (with nginx/passenger and ruby for faucet)

Here, the testnet works almost flawlessly. The only issue I see is that the equivalent price is not shown and the fee schedule in the explorer is "empty"
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 02, 2016, 01:00:19 pm
Identified testnet GUI problems:
- the Settings pop-up does not work (see the screen-shot for details)
- ugly scroll bars on the DEX page (even in Chrome) 

(http://i.imgur.com/b87qrPB.png)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 02, 2016, 05:05:49 pm
Ask xeroc for funds. Ask xeroc for electing your witnesses so that you can publish price feeds.
Those two can be done even without xeroc's help - each new account in the web GUI is well funded by default.
Not enough.
Xeroc votes with 9.8 billion for his own witnesses (from the faucet account). Every new account get funded with 1 million only. Unless you create 10K accounts and all vote for your witness. You can try create 5K accounts (with a script maybe) so your combined voting power will be higher than faucet.
Or maybe you only need to vote for all current active witnesses + your witness, so the total number of active witnesses will increase by 1, so you're voted in?

//Update: init9 is voted in with 0 votes, so there is at least one witness position available in testnet. However I think it's best if at least 3 witnesses provide price feeds to a MPA.
you don't need witnesses to run feeds .. you can do this with privatized bitassets as well ..
https://github.com/BitSharesEurope/testnet-pythonscripts/blob/master/create_mpa.py
In my testnet I created a privatized bitasset and transferred it to committee-account, so it become a public smart coin. I think this is what @noisy wants -- let the testnet look more like the real one.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 03, 2016, 12:33:08 am
OK, me witness appear in among witnesses:

(http://i.imgur.com/uK8T1pN.png)

however it seems, that it is not producing any blocks.

(http://i.imgur.com/ZQSOXC7.png)

any suggestions? Previously I had a lot of information in my logs, that other witnesses produced new block. Right now my witness seems to be stuck :(
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 03, 2016, 12:46:47 am
OK, me witness appear in among witnesses:

(http://i.imgur.com/uK8T1pN.png)

however it seems, that it is not producing any blocks.

(http://i.imgur.com/ZQSOXC7.png)

any suggestions? Previously I had a lot of information in my logs, that other witnesses produced new block. Right now my witness seems to be stuck :(

* Don't use "--enable-stale-production"
* You need to either set signing key and witness id in config.ini, or add them as parameters of startup command. See http://docs.bitshares.eu/testnet/private-testnet.html
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 03, 2016, 01:00:22 am
* You need to either set signing key and witness id in config.ini, or add them as parameters of startup command. See http://docs.bitshares.eu/testnet/private-testnet.html
I think I have already did that:

(http://i.imgur.com/WNJR4Ya.png)


* Don't use "--enable-stale-production"

Ok, now I have something like that. Is it downloading old blocks or what exactly is happening?

(http://i.imgur.com/ygCRmUc.png)

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 03, 2016, 01:11:41 am
* You need to either set signing key and witness id in config.ini, or add them as parameters of startup command. See http://docs.bitshares.eu/testnet/private-testnet.html
I think I have already did that:



* Don't use "--enable-stale-production"

Ok, now I have something like that. Is it downloading old blocks or what exactly is happening?


Connect a CLI wallet to it and you can check the status by command "info".
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 03, 2016, 01:21:51 am
Connect a CLI wallet to it and you can check the status by command "info".

Code: [Select]
bitshares@tardis:~/graphene-testnet$ programs/cli_wallet/cli_wallet --wallet-file my-wallet.json -s ws://127.0.0.1:11011 -H 127.0.0.1:8090 -r 127.0.0.1:8099
Logging RPC to file: logs/rpc/rpc.log
1083490ms th_a       main.cpp:117                  main                 ] key_to_wif( committee_private_key ): 5KCBDTcyDqzsqehcb52tW5nU6pXife6V2rX9Yf7c3saYSzbDZ5W
1083490ms th_a       main.cpp:121                  main                 ] nathan_pub_key: TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
1083490ms th_a       main.cpp:122                  main                 ] key_to_wif( nathan_private_key ): 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
1083491ms th_a       main.cpp:169                  main                 ] wdata.ws_server: ws://127.0.0.1:11011
1083492ms th_a       main.cpp:174                  main                 ] wdata.ws_user:  wdata.ws_password: 
1083496ms th_a       wallet.cpp:752                load_wallet_file     ] Could not find account 1.2.143 : "issuer" does not exist on the chain!
1083496ms th_a       main.cpp:215                  main                 ] Listening for incoming RPC requests on 127.0.0.1:8099
1083496ms th_a       main.cpp:240                  main                 ] Listening for incoming HTTP RPC requests on 127.0.0.1:8090
1083496ms th_a       thread.cpp:95                 thread               ] name:getline tid:140593050920704
unlocked >>> info
info
{
  "head_block_num": 0,
  "head_block_id": "0000000000000000000000000000000000000000",
  "head_block_age": "16 days old",
  "next_maintenance_time": "46 years ago",
  "chain_id": "39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447",
  "participation": "100.00000000000000000",
  "active_witnesses": [
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.5",
    "1.6.6",
    "1.6.7",
    "1.6.8",
    "1.6.9",
    "1.6.10",
    "1.6.11"
  ],
  "active_committee_members": []
}

my witness id is 1.6.13, which is not available here... but if I use ws://testnet.bitshares.eu:11011

Code: [Select]
bitshares@tardis:~/graphene-testnet$ programs/cli_wallet/cli_wallet --wallet-file my-wallet.json -s ws://testnet.bitshares.eu:11011 -H 127.0.0.1:8090 -r 127.0.0.1:8099
Logging RPC to file: logs/rpc/rpc.log
1134303ms th_a       main.cpp:117                  main                 ] key_to_wif( committee_private_key ): 5KCBDTcyDqzsqehcb52tW5nU6pXife6V2rX9Yf7c3saYSzbDZ5W
1134303ms th_a       main.cpp:121                  main                 ] nathan_pub_key: TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
1134303ms th_a       main.cpp:122                  main                 ] key_to_wif( nathan_private_key ): 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
1134303ms th_a       main.cpp:169                  main                 ] wdata.ws_server: ws://testnet.bitshares.eu:11011
1134322ms th_a       main.cpp:174                  main                 ] wdata.ws_user:  wdata.ws_password: 
1134389ms th_a       wallet.cpp:761                load_wallet_file     ] Account 1.2.143 : "issuer" updated on chain
1134389ms th_a       main.cpp:215                  main                 ] Listening for incoming RPC requests on 127.0.0.1:8099
1134389ms th_a       main.cpp:240                  main                 ] Listening for incoming HTTP RPC requests on 127.0.0.1:8090
1134390ms th_a       thread.cpp:95                 thread               ] name:getline tid:139910882080512
unlocked >>> info
info
{
  "head_block_num": 247953,
  "head_block_id": "0003c891857b50cfc639183eb1fa285dcfd0f82e",
  "head_block_age": "3 seconds in the future",
  "next_maintenance_time": "23 hours in the future",
  "chain_id": "39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447",
  "participation": "90.62500000000000000",
  "active_witnesses": [
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.5",
    "1.6.6",
    "1.6.7",
    "1.6.8",
    "1.6.9",
    "1.6.12",
    "1.6.13"
  ],
  "active_committee_members": [
    "1.5.11",
    "1.5.12",
    "1.5.13",
    "1.5.14",
    "1.5.15",
    "1.5.16",
    "1.5.17",
    "1.5.18",
    "1.5.19",
    "1.5.20",
    "1.5.0"
  ]
}

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 03, 2016, 01:25:38 am
Check p2p.log.
Looks like you haven't connected to other nodes.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 03, 2016, 01:40:36 am
Code: [Select]
.
.
.
2016-02-03T01:38:29 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 46.101.188.80:11010's last block the delegate has seen is now 000007cfd012949b26c8a6c40d593a3f623d91f4 (actual block #1999)                   node.cpp:2581
2016-02-03T01:38:29 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 46.101.188.80:11010's last block the delegate has seen is now 000007d067a7b54a67501e3427d50dbfbc1ed227 (actual block #2000)                   node.cpp:2581
2016-02-03T01:38:29 p2p:message read_loop on_blockchain_item_i ] after removing all items we have already seen, item_hashes_received.size() = 0                 node.cpp:2585
2016-02-03T01:38:29 p2p:message read_loop            read_loop ] message transmission failed 10 assert_exception: Assert Exception
e.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)
    {}
    th_a  block_database.cpp:141 fetch_block_id

    {"block_num":0}
    th_a  db_block.cpp:54 get_block_id_for_num

    {}
    th_a  application.cpp:790 get_blockchain_synopsis                   message_oriented_connection.cpp:185
2016-02-03T01:38:29 p2p:message read_loop            read_loop ] disconnected 10 assert_exception: Assert Exception
e.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)
    {}
    th_a  block_database.cpp:141 fetch_block_id

    {"block_num":0}
    th_a  db_block.cpp:54 get_block_id_for_num

    {}
    th_a  application.cpp:790 get_blockchain_synopsis                   message_oriented_connection.cpp:202
2016-02-03T01:38:29 p2p:message read_loop on_connection_closed ] Remote peer 46.101.188.80:11010 closed their connection to us                  node.cpp:2957
2016-02-03T01:38:29 p2p:message read_loop display_current_conn ] Currently have 1 of [20/200] connections                       node.cpp:1728
2016-02-03T01:38:29 p2p:message read_loop display_current_conn ]    my id is c59d2ae291d36a09cc5727cf4412debfd535948fc6928f2faf3e0a7d398e73e823                 node.cpp:1729
2016-02-03T01:38:29 p2p:message read_loop display_current_conn ]    handshaking: 149.202.50.152:43304 with 000000000000000000000000000000000000000000000000000000000000000000  [outbound]                       node.cpp:1743
2016-02-03T01:38:29 p2p:message read_loop trigger_p2p_network_ ] Triggering connect loop now                    node.cpp:985
2016-02-03T01:38:29 p2p:message read_loop schedule_peer_for_de ] scheduling peer for deletion: 46.101.188.80:11010 (this will not block)                        node.cpp:1637
2016-02-03T01:38:29 p2p:message read_loop schedule_peer_for_de ] asyncing delayed_peer_deletion_task to delete 1 peers                  node.cpp:1642
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task delayed_peer_deletio ] beginning an iteration of delayed_peer_deletion_task with 1 in queue                  node.cpp:1601
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task              destroy ] calling close_connection()                    peer_connection.cpp:124
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task              destroy ] close_connection completed normally                   peer_connection.cpp:126
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task              destroy ] canceling _send_queued_messages task                  peer_connection.cpp:139
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task              destroy ] cancel_and_wait completed normally                    peer_connection.cpp:141
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task              destroy ] canceling accept_or_connect_task                      peer_connection.cpp:154
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task              destroy ] accept_or_connect_task completed normally                     peer_connection.cpp:156
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task   destroy_connection ] in destroy_connection() for                   message_oriented_connection.cpp:283
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task   destroy_connection ] Exception thrown while canceling message_oriented_connection's read_loop, ignoring: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":204,"method":"read_loop","hostname":"","thread_name":"p2p","timestamp":"2016-02-03T01:38:29"},"format":"disconnected: ${e}","data":{"e":"10 assert_exception: Assert Exception\ne.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)\n    {}\n    th_a  block_database.cpp:141 fetch_block_id\n\n    {\"block_num\":0}\n    th_a  db_block.cpp:54 get_block_id_for_num\n\n    {}\n    th_a  application.cpp:790 get_blockchain_synopsis"}}]}                 message_oriented_connection.cpp:296
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task   destroy_connection ] in destroy_connection() for                   message_oriented_connection.cpp:283
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task   destroy_connection ] Exception thrown while canceling message_oriented_connection's read_loop, ignoring: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":204,"method":"read_loop","hostname":"","thread_name":"p2p","timestamp":"2016-02-03T01:38:29"},"format":"disconnected: ${e}","data":{"e":"10 assert_exception: Assert Exception\ne.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)\n    {}\n    th_a  block_database.cpp:141 fetch_block_id\n\n    {\"block_num\":0}\n    th_a  db_block.cpp:54 get_block_id_for_num\n\n    {}\n    th_a  application.cpp:790 get_blockchain_synopsis"}}]}                 message_oriented_connection.cpp:296
2016-02-03T01:38:29 p2p:delayed_peer_deletion_task delayed_peer_deletio ] leaving delayed_peer_deletion_task                    node.cpp:1604
2016-02-03T01:38:32   p2p:connect_to_task           connect_to ] established outbound connection to 149.202.50.152:43304                        peer_connection.cpp:253
2016-02-03T01:38:32   p2p:connect_to_task      connect_to_task ] Sent "hello" to peer 149.202.50.152:43304                      node.cpp:4336
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message hello_message_type ecf06255dd4c9559ac60ed8f40f14d1de1ae101e size 528 from peer 149.202.50.152:43304                   node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop     on_hello_message ] Received a hello_message from peer 149.202.50.152:43304, sending reply to accept connection                    node.cpp:2070
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message connection_accepted_message_type 9c1185a5c5e9fc54612808977ee8f548b2258d31 size 0 from peer 149.202.50.152:43304                       node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop on_connection_accept ] Received a connection_accepted in response to my "hello" from 149.202.50.152:43304                     node.cpp:2095
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message address_request_message_type 9c1185a5c5e9fc54612808977ee8f548b2258d31 size 0 from peer 149.202.50.152:43304                   node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop on_address_request_m ] Received an address request message                    node.cpp:2152
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message address_message_type c8cdb333919f75f861da5c27eacb0e490dd5f8db size 54 from peer 149.202.50.152:43304                  node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop   on_address_message ] Received an address message containing 1 addresses                     node.cpp:2181
2016-02-03T01:38:32 p2p:message read_loop   on_address_message ]     46.101.188.80:11010 last seen 2016-02-03T01:38:36                  node.cpp:2184
2016-02-03T01:38:32 p2p:message read_loop trigger_p2p_network_ ] Triggering connect loop now                    node.cpp:985
2016-02-03T01:38:32 p2p:message read_loop fetch_next_batch_of_ ] sync: sending a request for the next items after 0000000000000000000000000000000000000000 to peer 149.202.50.152:43304, (full request is [])                   node.cpp:2424
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message current_time_request_message_type a9c590e7455b934f7057ef7d2eb0d5294de2bf1f size 8 from peer 149.202.50.152:43304                      node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message fetch_blockchain_item_ids_message_type caab587a9bffc5b3698c2e05cfc7a77fe605b078 size 85 from peer 149.202.50.152:43304                        node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop on_fetch_blockchain_ ] sync: received a request for item ids after 0003c963c3e2e40ded830a81cc300ab6475ec6bb from peer 149.202.50.152:43304 (full request: ["0003c958adc42cc3efe4e7e57350e4d2fb623d10","0003c95e7a05007b148a20e31bf00d0b91648042","0003c961cc3af8cf1322ef1c5ea9835fd8d0c314","0003c963c3e2e40ded830a81cc300ab6475ec6bb"])                      node.cpp:2241
2016-02-03T01:38:32 p2p:message read_loop on_fetch_blockchain_ ] reply_message: {"total_remaining_item_count":0,"item_type":1001,"item_hashes_available":[]} fetch_blockchain_item_ids_message_received.blockchain_synopsis: ["0003c958adc42cc3efe4e7e57350e4d2fb623d10","0003c95e7a05007b148a20e31bf00d0b91648042","0003c961cc3af8cf1322ef1c5ea9835fd8d0c314","0003c963c3e2e40ded830a81cc300ab6475ec6bb"]                      node.cpp:2264
2016-02-03T01:38:32 p2p:message read_loop on_fetch_blockchain_ ] sync: peer is already in sync with us                  node.cpp:2283
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message current_time_reply_message_type 255e5eb2ff190c918061df46907837e02510699f size 24 from peer 149.202.50.152:43304                       node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop           on_message ] handling message blockchain_item_ids_inventory_message_type 90fe7a7919709a8bb314ab8a071304bd22654e04 size 40010 from peer 149.202.50.152:43304                 node.cpp:1754
2016-02-03T01:38:32 p2p:message read_loop on_blockchain_item_i ] sync: received a list of 2000 available items from 149.202.50.152:43304                        node.cpp:2522
2016-02-03T01:38:32 p2p:message read_loop on_blockchain_item_i ] is_first_item_for_other_peer: false.  item_hashes_received.size() = 2000                       node.cpp:2568
2016-02-03T01:38:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000000019f4f403a2cffd9026f2fa6387cf4cf2f (actual block #1)                     node.cpp:2581
2016-02-03T01:38:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 00000002a506a79b3549404d85beb5c418476a0d (actual block #2)                     node.cpp:2581
2016-02-03T01:38:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 0000000319c00c322ce18137b7c2d948ff75c5e1 (actual block #3)                     node.cpp:2581

.
.
.

2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000007caa321ebb49d677fbcf4d8afe384c7b00b (actual block #1994)               node.cpp:2581
2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000007cbc491a6f7d747983b11e9126652d18f04 (actual block #1995)               node.cpp:2581
2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000007ccc3d140a6faf1e011b50fbaf940e4d89d (actual block #1996)               node.cpp:2581
2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000007cda8361738f0dcff6ca291eb66a109ea6a (actual block #1997)               node.cpp:2581
2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000007ce9c370aaf8ccf5dd7d71a4b9eec4df13a (actual block #1998)               node.cpp:2581
2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000007cfd012949b26c8a6c40d593a3f623d91f4 (actual block #1999)               node.cpp:2581
2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] popping item because delegate has already seen it.  peer 149.202.50.152:43304's last block the delegate has seen is now 000007d067a7b54a67501e3427d50dbfbc1ed227 (actual block #2000)               node.cpp:2581
2016-02-03T01:36:32 p2p:message read_loop on_blockchain_item_i ] after removing all items we have already seen, item_hashes_received.size() = 0                 node.cpp:2585
2016-02-03T01:36:32 p2p:message read_loop            read_loop ] message transmission failed 10 assert_exception: Assert Exception
e.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)
    {}
    th_a  block_database.cpp:141 fetch_block_id

    {"block_num":0}
    th_a  db_block.cpp:54 get_block_id_for_num

    {}
    th_a  application.cpp:790 get_blockchain_synopsis                   message_oriented_connection.cpp:185
2016-02-03T01:36:32 p2p:message read_loop            read_loop ] disconnected 10 assert_exception: Assert Exception
e.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)
    {}
    th_a  block_database.cpp:141 fetch_block_id

    {"block_num":0}
    th_a  db_block.cpp:54 get_block_id_for_num

    {}
    th_a  application.cpp:790 get_blockchain_synopsis                   message_oriented_connection.cpp:202
2016-02-03T01:36:32 p2p:message read_loop on_connection_closed ] Remote peer 149.202.50.152:43304 closed their connection to us                 node.cpp:2957
2016-02-03T01:36:32 p2p:message read_loop display_current_conn ] Currently have 0 of [20/200] connections                       node.cpp:1728
2016-02-03T01:36:32 p2p:message read_loop display_current_conn ]    my id is c59d2ae291d36a09cc5727cf4412debfd535948fc6928f2faf3e0a7d398e73e823                 node.cpp:1729
2016-02-03T01:36:32 p2p:message read_loop trigger_p2p_network_ ] Triggering connect loop now                    node.cpp:985
2016-02-03T01:36:32 p2p:message read_loop schedule_peer_for_de ] scheduling peer for deletion: 149.202.50.152:43304 (this will not block)                       node.cpp:1637
2016-02-03T01:36:32 p2p:message read_loop schedule_peer_for_de ] asyncing delayed_peer_deletion_task to delete 1 peers                  node.cpp:1642
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task delayed_peer_deletio ] beginning an iteration of delayed_peer_deletion_task with 1 in queue                  node.cpp:1601
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task              destroy ] calling close_connection()                    peer_connection.cpp:124
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task              destroy ] close_connection completed normally                   peer_connection.cpp:126
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task              destroy ] canceling _send_queued_messages task                  peer_connection.cpp:139
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task              destroy ] cancel_and_wait completed normally                    peer_connection.cpp:141
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task              destroy ] canceling accept_or_connect_task                      peer_connection.cpp:154
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task              destroy ] accept_or_connect_task completed normally                     peer_connection.cpp:156
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task   destroy_connection ] in destroy_connection() for                   message_oriented_connection.cpp:283
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task   destroy_connection ] Exception thrown while canceling message_oriented_connection's read_loop, ignoring: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":204,"method":"read_loop","hostname":"","thread_name":"p2p","timestamp":"2016-02-03T01:36:32"},"format":"disconnected: ${e}","data":{"e":"10 assert_exception: Assert Exception\ne.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)\n    {}\n    th_a  block_database.cpp:141 fetch_block_id\n\n    {\"block_num\":0}\n    th_a  db_block.cpp:54 get_block_id_for_num\n\n    {}\n    th_a  application.cpp:790 get_blockchain_synopsis"}}]}                     message_oriented_connection.cpp:296
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task   destroy_connection ] in destroy_connection() for                   message_oriented_connection.cpp:283
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task   destroy_connection ] Exception thrown while canceling message_oriented_connection's read_loop, ignoring: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":204,"method":"read_loop","hostname":"","thread_name":"p2p","timestamp":"2016-02-03T01:36:32"},"format":"disconnected: ${e}","data":{"e":"10 assert_exception: Assert Exception\ne.block_id != block_id_type(): Empty block_id in block_database (maybe corrupt on disk?)\n    {}\n    th_a  block_database.cpp:141 fetch_block_id\n\n    {\"block_num\":0}\n    th_a  db_block.cpp:54 get_block_id_for_num\n\n    {}\n    th_a  application.cpp:790 get_blockchain_synopsis"}}]}                     message_oriented_connection.cpp:296
2016-02-03T01:36:32 p2p:delayed_peer_deletion_task delayed_peer_deletio ] leaving delayed_peer_deletion_task                    node.cpp:1604



I have a problem with interpratation of that, however I doubt that this is because disk corruption, like logs suggest.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 03, 2016, 08:37:09 am
I have a problem with interpretation of that, however I doubt that this is because disk corruption, like logs suggest.
Maybe not enough space on disk?

Try this: remove the witness_node_data_dir and object_database folders and start over.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 03, 2016, 10:35:50 am
It just came to my attention that I made an error when deploying the last wallet wgich makes the testnet connect to the real net if you have a new wallet
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 03, 2016, 11:11:20 am
It just came to my attention that I made an error when deploying the last wallet wgich makes the testnet connect to the real net if you have a new wallet
That's too bad if a test network witness_node connect to real network. Fixed?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 03, 2016, 11:56:21 am
It just came to my attention that I made an error when deploying the last wallet wgich makes the testnet connect to the real net if you have a new wallet
That's too bad if a test network witness_node connect to real network. Fixed?
I was not precise. Only the GUI was wrongly deployed. I fixed it by now .. the backend is still running ...

However, the currently centralized network server will have to reboot sometime tomorrow. I will try my best to keep block production going in the meantime ..
Hoefully we can improve decentralization eventually ..
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 04, 2016, 08:28:35 am
There will be a downtime of the frontend of the testnet for maintenance reasons ..
Blockchain itselve is still producing blocks and I will do my best to keep it that way until the machine is back to operational ..
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 04, 2016, 11:50:37 am
Testnet GUI back up
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: hcf27 on February 04, 2016, 01:37:43 pm
Testnet GUI back up

Its down for me :(
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 04, 2016, 01:43:44 pm
Testnet GUI back up

Its down for me :(
its up here .. what does "down" mean for you?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: hcf27 on February 04, 2016, 06:06:45 pm
Testnet GUI back up

Its down for me :(
its up here .. what does "down" mean for you?

Its up and running now, sorry..
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 04, 2016, 08:11:06 pm
@xeroc  @jakub

I have tried one more time, and I think I succeeded. But I am not sure.

(http://i.imgur.com/DppBtzj.png)

and..

(http://i.imgur.com/0ELhgUF.png)

This time my witness name is noisy. So far is not listed on http://testnet.bitshares.eu/#/explorer/witnesses, but I assume that I have to wait exactly like previously.

Is that ok? What next should be done, to produce blocks? I has to have enough votes, right? Could I ask for committees votes?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 04, 2016, 08:16:53 pm
I thought your witness is "issuer"..
Vote for yourself and you'll be listed.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 04, 2016, 08:26:42 pm
I thought your witness is "issuer"..
Vote for yourself and you'll be listed.

Yes, the first one, but I didn't know what I did wrong, so I created another one ;)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: jakub on February 04, 2016, 09:24:01 pm
I thought your witness is "issuer"..
Vote for yourself and you'll be listed.

Yes, the first one, but I didn't know what I did wrong, so I created another one ;)

It's good you've changed the name, as the previous one could be quite confusing for non-advanced users.
I've voted for your witness (and removed my vote for "issuer") so in 3 hours you should be on the list.

In the GUI (http://testnet.bitshares.eu/#/explorer/witnesses):
Code: [Select]
Next vote update: in 3 hours
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 06, 2016, 12:19:15 am
Success!!! :)

(http://i.imgur.com/fqeR4iO.png)

(http://i.imgur.com/dXfF6cb.png)

I would like to thanks for your help, especially for @jakub :)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: noisy on February 09, 2016, 02:11:06 pm
@xeroc I seems that I was voted out, and right now `noisy` is no longer a witness, `necklace` is. Could I ask for the votes of the committee-members? I think it will be better to have better distribution of nodes.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 09, 2016, 02:26:11 pm
@xeroc I seems that I was voted out, and right now `noisy` is no longer a witness, `necklace` is. Could I ask for the votes of the committee-members? I think it will be better to have better distribution of nodes.
done .. I removed some more init delegates so that we can start decentralizing the testnet
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 11, 2016, 11:48:42 pm
@xeroc I seems that I was voted out, and right now `noisy` is no longer a witness, `necklace` is. Could I ask for the votes of the committee-members? I think it will be better to have better distribution of nodes.
done .. I removed some more init delegates so that we can start decentralizing the testnet
It seems not the case..
Confirmed. Maintenance interval is so long.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 12, 2016, 09:26:30 am
How about 6h? or would you prefer 3h?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on February 12, 2016, 09:36:05 am
How about 6h? or would you prefer 3h?
I set it to 5 minutes in my own testnet.  ;)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on March 01, 2016, 01:50:24 am
@xeroc it seems that current GUI is compatible with new back-end (with BSIP10 implemented)?

Just want to let you know that I've finished refactoring BSIP 10 code, new code is here (https://github.com/abitmore/bitshares-2/tree/dev-transfer-fee) which can be merged to latest develop branch. And this branch (https://github.com/abitmore/bitshares-2/tree/dev-free-trx) contains BSIP10 + free transaction feature. Wish you have time to merge them to test network. Thanks! 8)

Pinging @jakub by the way.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on March 01, 2016, 08:33:19 am
@xeroc it seems that current GUI is compatible with new back-end (with BSIP10 implemented)?

Just want to let you know that I've finished refactoring BSIP 10 code, new code is here (https://github.com/abitmore/bitshares-2/tree/dev-transfer-fee) which can be merged to latest develop branch. And this branch (https://github.com/abitmore/bitshares-2/tree/dev-free-trx) contains BSIP10 + free transaction feature. Wish you have time to merge them to test network. Thanks! 8)

Pinging @jakub by the way.
CNX is currently testing STEALTH on the testnet .. for that reason I don't want to upgrade the testnetwork just yet ..
I also need to look into the hard forking stuff to understand what I am doing before planning for a hard fork ..
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on March 01, 2016, 09:13:05 am
@xeroc it seems that current GUI is compatible with new back-end (with BSIP10 implemented)?

Just want to let you know that I've finished refactoring BSIP 10 code, new code is here (https://github.com/abitmore/bitshares-2/tree/dev-transfer-fee) which can be merged to latest develop branch. And this branch (https://github.com/abitmore/bitshares-2/tree/dev-free-trx) contains BSIP10 + free transaction feature. Wish you have time to merge them to test network. Thanks! 8)

Pinging @jakub by the way.
CNX is currently testing STEALTH on the testnet .. for that reason I don't want to upgrade the testnetwork just yet ..
I also need to look into the hard forking stuff to understand what I am doing before planning for a hard fork ..
OK, good to know that. I'll contact svk.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on March 17, 2016, 11:10:45 am
Notice

I have hard forked the testnet network. Please upgrade your code and resync/reply the blockchain!


Please pull the most recent version and upgrade your node!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on March 24, 2016, 11:29:22 am
@abit made me aware of an issue with the latest hardfork, which made me update the code.
There is going to be another hardfork at
Thu Mar 24 22:13:59 CET 2016

Please update your block producers!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: Thom on March 24, 2016, 05:05:28 pm
@abit made me aware of an issue with the latest hardfork, which made me update the code.
There is going to be another hardfork at
Thu Mar 24 22:13:59 CET 2016

Please update your block producers!

I presume, based on the title of this thread, you are referring only to the testnet.

Is that correct?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on March 24, 2016, 05:13:46 pm
@abit made me aware of an issue with the latest hardfork, which made me update the code.
There is going to be another hardfork at
Thu Mar 24 22:13:59 CET 2016

Please update your block producers!

I presume, based on the title of this thread, you are referring only to the testnet.

Is that correct?
Yes, testnet only. By the way it still need a bit more changes to make it right.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: valerian on March 26, 2016, 04:54:45 pm
Hey all. New kid on the block. Surprisingly I have been able to setup a witness node and account on the main net and was advised that most start on the testnet before campaigning for witness votes.

So, I am trying to get onto the testnet and I cannot seem to make it passed an internal c++ error when compiling graphene-testnet. I have tried g++4.8 and g++4.9 on 14.04 ubuntu. Anyone else ran into this issue?

It's a memory issue. Had to stop the main net witness node from hogging all the resources.

+Valerian

Code: [Select]

Linking CXX executable cat-parts
[ 54%] Built target cat-parts
Scanning dependencies of target build_hardfork_hpp
File "/opt/graphene-testnet/libraries/chain/include/graphene/chain/hardfork.hpp" up-to-date with .d directory
[ 54%] Built target build_hardfork_hpp
Scanning dependencies of target graphene_chain
[ 55%] Building CXX object libraries/chain/CMakeFiles/graphene_chain.dir/database.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
make[2]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/database.cpp.o] Error 4
make[1]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/all] Error 2
make: *** [all] Error 2
root@valerian7:/opt/graphene-testnet#
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on March 26, 2016, 06:02:57 pm
Hey all. New kid on the block. Surprisingly I have been able to setup a witness node and account on the main net and was advised that most start on the testnet before campaigning for witness votes.

So, I am trying to get onto the testnet and I cannot seem to make it passed an internal c++ error when compiling graphene-testnet. I have tried g++4.8 and g++4.9 on 14.04 ubuntu. Anyone else ran into this issue?

It's a memory issue. Had to stop the main net witness node from hogging all the resources.

+Valerian

Code: [Select]

Linking CXX executable cat-parts
[ 54%] Built target cat-parts
Scanning dependencies of target build_hardfork_hpp
File "/opt/graphene-testnet/libraries/chain/include/graphene/chain/hardfork.hpp" up-to-date with .d directory
[ 54%] Built target build_hardfork_hpp
Scanning dependencies of target graphene_chain
[ 55%] Building CXX object libraries/chain/CMakeFiles/graphene_chain.dir/database.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
make[2]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/database.cpp.o] Error 4
make[1]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/all] Error 2
make: *** [all] Error 2
root@valerian7:/opt/graphene-testnet#
Good to know that. Looking forward to hearing more progresses from you.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: valerian on March 26, 2016, 07:42:29 pm
Ok. My testnet witness is "test-3" "salvation-2016".

Next vote update 4 hours ... :-\ . Need more votes please :-) Thanks.

+Valerian
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on March 26, 2016, 10:24:31 pm
Ok. My testnet witness is "test-3".

Next vote update 4 hours ... :-\ . Need more votes please :-) Thanks.

+Valerian
Try create more accounts and vote for yourself ;)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on March 27, 2016, 09:17:24 pm
I can vote you up in a few days .. be patient until i am back at the office please ..
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: valerian on March 28, 2016, 01:19:51 am
Quote
I can vote you up in a few days .. be patient until i am back at the office please ..

(http://imgur.com/I9HM3Gv.png)

Great! I am on the board now. The new witness is "salvation-2016" . Would like to stay on the board :-).

Thanks.

+Valerian
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on March 28, 2016, 01:29:44 am
Quote
I can vote you up in a few days .. be patient until i am back at the office please ..

(http://imgur.com/I9HM3Gv.png)

Great! I am on the board now. The new witness is "salvation-2016" . Would like to stay on the board :-).

Thanks.

+Valerian

The time "in 1 second" looks strange. Perhaps your local time is not accurate. Using a ntp daemon?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: valerian on March 28, 2016, 03:26:26 am
Quote
Hello,

Do you run an NTP server to keep the time synchronized?

I have an ntp server running but it seems to be 35 seconds off.

Hi,

Yes I use an ntp daemon. However I have noticed that there is an offset of 35 seconds. I am in a virtual container so I am wondering if the server I am on is not running a daemon.

+V

Code: [Select]
root@valerian7:/var/log# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*clock.xmission. .GPS.            1 u   47   64  177   24.965  35405.4   3.276
+fairy.mattnordh 200.98.196.212   2 u   59   64  177   89.176  35403.2   5.121
+198.60.73.8     .ACTS.           1 u   54   64  177   38.902  35404.1   2.995
+colonialone.pqx 216.218.254.202  2 u   58   64  177   22.820  35406.2   2.963
-golem.canonical 193.79.237.14    2 u   61   64  177  138.847  35409.3   3.182
root@valerian7:/var/log# 
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on March 29, 2016, 08:22:31 am
just added salvation-2016 to my set of witnesses
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: valerian on March 30, 2016, 12:25:23 am
Quote
just added salvation-2016 to my set of witnesses

Nice!

+V
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: fractalnode on November 03, 2016, 02:07:49 am
what do we need, to restart testnet?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on November 03, 2016, 11:05:38 am
what do we need, to restart testnet?
why would we?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: fractalnode on November 03, 2016, 12:02:06 pm
what do we need, to restart testnet?
why would we?
when I told restart testnet I mean restart project because I thought that did not work for some time.
For me still doesn't work as a web page.
but today I added new  API connection  wss://testnet.bitshares.eu/ws to my wallet and now works fine i that way.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on February 05, 2017, 04:17:10 pm
@all witness nodes on the *TESTNET*: please add the following checkpoint to your config.ini:

Code: [Select]
checkpoint = [6188623,005e6e4f7f47ace64ff6f5c83ebddb68ae14f235]

I messed with the testnet too much and kicked out all the other witnesses. My fault, shouldn't happen again.
Regards!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on June 27, 2017, 01:49:20 pm
@everyone: Please note that there was a hard fork on the testnet recently as we updated the code base to be closer to bitshares code base (thanks @pc for the assistance).
If you want to be a block producer, please update from master branch (including submodules) and rebuild your node, thanks!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on June 27, 2017, 04:30:15 pm
Please send some TEST to "crn", I'll set up a witness. Already got some from the faucet.

Witness "crn" is set up (currently syncing).
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: studnev on August 03, 2017, 04:33:19 pm
Please help with setup of active witness on testnet.bitshares.eu
I created a witness, upgraded it, but it does not generate new blocks and is not listed in active witnesses of testnet.

I followed instructions from this article: https://github.com/cryptonomex/graphene/wiki/How-To-become-an-active-witness-in-BitShares-2.0

and managed to pass all steps with upgrading account, creating a witness and voting for it.

import_key dev4bc ...
upgrade_account dev4bc true
create_witness dev4bc "http://izx.io" true
vote_for_witness dev4bc dev4bc true true
get_witness dev4bc

The final result is the following witness data:

locked >>> get_witness dev4bc
get_witness dev4bc
{
  "id": "1.6.47",
  "witness_account": "1.2.3340",
  "last_aslot": 0,
  "signing_key": "TEST7hJfPdJV3mgjnBwnbsGHbC9zWL5rDUUyqSkVQXeK4pZkRhaggB",
  "vote_id": "1:78",
  "total_votes": 465091782,
  "url": "http://izx.io",
  "total_missed": 0,
  "last_confirmed_block_num": 0
}



after that i started a witness node with the configured pub/private key and got

2497960ms th_a       witness.cpp:88                plugin_initialize    ] witness plugin:  plugin_initialize() begin
2497961ms th_a       witness.cpp:99                plugin_initialize    ] Public Key: TEST652WPZ6hm3n8X8xseUcQscDnnin8UUsHCxNHMgbgT28V18tYp2
2497961ms th_a       witness.cpp:117               plugin_initialize    ] witness plugin:  plugin_initialize() end
2497961ms th_a       application.cpp:426           startup              ] Replaying blockchain due to: unclean shutdown detected
2497961ms th_a       application.cpp:315           operator()           ] Initializing database...

All looks correctly setup, but

However, i do not see my witness dev4bc in the list of active witnesses.

Any help i will greatly appreciate!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on August 03, 2017, 06:49:54 pm
You must get voted in before you can sign blocks.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: studnev on August 03, 2017, 06:56:39 pm
You must get voted in before you can sign blocks.

i did:
vote_for_witness dev4bc dev4bc true true

this is wrong?

what else should i do?

in test network i am not sure how to get votes
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: paliboy on August 03, 2017, 08:20:04 pm
You voted for yourself with your stake which is correct but you simply don't have enough votes. I started voting for your witness.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: studnev on August 04, 2017, 05:24:29 am
You voted for yourself with your stake which is correct but you simply don't have enough votes. I started voting for your witness.

Thank you! Now i got some more votes:

unlocked >>> get_witness dev4bc
get_witness dev4bc
{
  "id": "1.6.47",
  "witness_account": "1.2.3340",
  "last_aslot": 0,
  "signing_key": "TEST7hJfPdJV3mgjnBwnbsGHbC9zWL5rDUUyqSkVQXeK4pZkRhaggB",
  "vote_id": "1:78",
  "total_votes": "97996139400",
  "url": "http://izx.io",
  "total_missed": 0,
  "last_confirmed_block_num": 0
}

Will wait till somebody else will vote.

I have one other question related to test node setup:
when i tried started it, it failed due to out-of-memory before i set up by recommendations:

# Account ID to track history for (may specify multiple times)
track-account = "1.2.3340"

# Keep only those operations in memory that are related to account history tracking
partial-operations = true

# Maximum number of operations per account will be kept in memory
max-ops-per-account = 1

Only after that changes the node finally synced ad started.

I did not find any explanation how the settings related to account history affect the functionality of the node.
Does it affect witness? block generation? API operations?

Why in the hell the node should keep so much data _in memory_ by default?


Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on August 04, 2017, 05:03:18 pm
I did not find any explanation how the settings related to account history affect the functionality of the node.
Does it affect witness? block generation? API operations?

These settings don't affect block generation. But you only query the account history for those accounts that you track, so some API operations are affected.

Why in the hell the node should keep so much data _in memory_ by default?

For speed, mostly.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on August 10, 2017, 02:35:47 pm
I have approved witness dev4bc. You should begin signing blocks after the next maintenacne interval
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on August 12, 2017, 03:38:00 am
@xeroc
I have added a full time server for a witness and a seed on the test net.
Witness: sahkan-bts-testnet
BTS Test net seed: 23.92.53.25:11010
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on August 12, 2017, 05:52:08 pm
@xeroc
I have added a full time server for a witness and a seed on the test net.
Witness: sahkan-bts-testnet
BTS Test net seed: 23.92.53.25:11010
Excellent!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on August 14, 2017, 06:26:22 pm
I am few billion votes away from beating the inits, can you please throw some votes my way? We have only 3 testers atm and dev4btc is voted in but not producing.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on August 16, 2017, 12:50:34 pm
I am few billion votes away from beating the inits, can you please throw some votes my way? We have only 3 testers atm and dev4btc is voted in but not producing.
voted
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on August 17, 2017, 04:29:19 am
I am few billion votes away from beating the inits, can you please throw some votes my way? We have only 3 testers atm and dev4btc is voted in but not producing.
voted
Thank you, witness is up!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: crazybit on August 17, 2017, 01:11:18 pm
i need 500000 TEST for testing, any quick way to get this?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on August 17, 2017, 02:50:34 pm
Code: [Select]
| 37658344 |     10320787 |        transfer (0) | Transfer from faucet to crazybit: 1,000,000.00000 TEST                        |
| 37658343 |     10320782 |        transfer (0) | Transfer from xeroc to crazybit: 1,000,000.00000 TEST 
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on August 24, 2017, 01:25:08 pm
Thanks to the BitShares Blockchain Foundation, the testnet now has an official mailing list:

BitShares Testnet Mailing list (http://lists.bitshares.foundation/cgi-bin/mailman/listinfo/testnet)

I encourage everyone that likes, uses, or develops on the testnet to join this mailing list.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: wackou on September 05, 2017, 10:22:33 am
Finally, I am glad to announce that witness "wackou" is operational on the testnet, and eagerly awaiting some votes :)

Also ready to test BSIP-018 when the code is deployed to the testnet. Let's revive those black-swanned assets!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on September 05, 2017, 06:57:59 pm
Just today there is a downtime of the seed and public api nodes .. I will deal with it tomorrow and see if i might have messed up due to too little seed nodes .. Lets see :)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on September 05, 2017, 07:43:04 pm
Just today there is a downtime of the seed and public api nodes .. I will deal with it tomorrow and see if i might have messed up due to too little seed nodes .. Lets see :)
I checked on my witness, it's running and producing blocks but no other nodes are producing. I wonder if Tom's witness is up...
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on September 06, 2017, 09:45:27 am
As you might have noticed already, the seed node broke and the network for some reason split into two parts with me signing blocks on my majority "fork". This is interesting but I expected this to happen as we basically have a pretty weak p2p network. Those of you that are running the network, please resync the whole chain if you get errors while pushing blocks.
The seed node should be up again any moment.

To prevent this from happening again, I would like to request more SEED nodes to be added to the `testnet` code base.
Please consider setting up a seed node on the testnet (by opening up the p2p-node setting to 0.0.0.0:PORT) and send a pull request for this part of the code
https://github.com/bitshares/bitshares-core/blob/testnet/libraries/app/application.cpp#L163-L166
or send a mail to

   testnet@lists.bitshares.foundation

Thanks!!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: paliboy on September 06, 2017, 01:14:33 pm
It seems reasonable to require all active witnesses on main net to be also active on test net, wdyt?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on September 06, 2017, 05:37:25 pm
As you might have noticed already, the seed node broke and the network for some reason split into two parts with me signing blocks on my majority "fork". This is interesting but I expected this to happen as we basically have a pretty weak p2p network. Those of you that are running the network, please resync the whole chain if you get errors while pushing blocks.
The seed node should be up again any moment.

To prevent this from happening again, I would like to request more SEED nodes to be added to the `testnet` code base.
Please consider setting up a seed node on the testnet (by opening up the p2p-node setting to 0.0.0.0:PORT) and send a pull request for this part of the code
https://github.com/bitshares/bitshares-core/blob/testnet/libraries/app/application.cpp#L163-L166
or send a mail to

   testnet@lists.bitshares.foundation

Thanks!!

Yep, will do. I am also short on votes after the restart.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: wackou on September 07, 2017, 03:51:36 pm
anyone has the hash of a recent block? I think I always end up on a minority fork (re-synced twice already), although close to 100% with mostly the init witnesses...

here's what I got:

Code: [Select]
info
{
  "head_block_num": 10806310,
  "head_block_id": "00a4e42671894c00043e33f98551e3e3e21b499f",
  "head_block_age": "8 seconds old",
  "next_maintenance_time": "2 minutes in the future",
  "chain_id": "39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447",
  "participation": "91.40625000000000000",
  "active_witnesses": [
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.5",
    "1.6.6",
    "1.6.7",
    "1.6.8",
    "1.6.9",
    "1.6.10",
    "1.6.23"
  ],
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on September 07, 2017, 05:27:19 pm
Looks right, I voted for your witness. I checked on my witness and it was stuck on"
Code: [Select]
762234ms th_a       application.cpp:523           handle_block         ] Got block: #10791565 time: 2017-09-07T01:12:42 latency: 234 ms from: init3  irreversible: 10791555 (-10)I have to restart and resync.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on September 07, 2017, 05:37:45 pm
Looks right, I voted for your witness. I checked on my witness and it was stuck on"
Code: [Select]
762234ms th_a       application.cpp:523           handle_block         ] Got block: #10791565 time: 2017-09-07T01:12:42 latency: 234 ms from: init3  irreversible: 10791555 (-10)I have to restart and resync.
I found the issue, will fix it and have it back online today.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on September 07, 2017, 05:50:05 pm
I think xeroc accidentally created a fork when he turned on his block producers without syncing first.
On my node, the last correct block was 10775881, but last irreversible was 10775883.

Solution: truncate your block db's index to 10775881 * 32 bytes and set a checkpoint:
checkpoint = [10775882, "00a46d4ad4fc72f0385ee5fda67155fd8d2cb7f9"]

Then replay.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: sahkan on September 07, 2017, 06:44:00 pm
Looks right, I voted for your witness. I checked on my witness and it was stuck on"
Code: [Select]
762234ms th_a       application.cpp:523           handle_block         ] Got block: #10791565 time: 2017-09-07T01:12:42 latency: 234 ms from: init3  irreversible: 10791555 (-10)I have to restart and resync.
I found the issue, will fix it and have it back online today.

The node shut down because my storage went to 100%. The P2P file filled my drive reporting this error:
Code: [Select]
2017-09-07T03:39:51       p2p:accept_loop          accept_loop ] 0: 0 node.cpp:4192
2017-09-07T03:39:51       p2p:accept_loop   destroy_connection ] in destroy_connection() for message_oriented_connection.cpp:286
2017-09-07T03:39:51       p2p:accept_loop   destroy_connection ] in destroy_connection() for message_oriented_connection.cpp:286
2017-09-07T03:39:51       p2p:accept_loop          accept_loop ] 0 exception: unspecified
Too many open files
    {"message":"Too many open files"}
    asio  asio.cpp:60 error_handler
Unable to accept connection on socket.
    {}
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on September 10, 2017, 08:08:38 am
A hardfork has been scheduled on testnet for friday 2017-09-15 12:00:00 UTC.

Changes:

* BSIP-0018 https://github.com/bitshares/bitshares-core/pull/340
* Improved startup time https://github.com/bitshares/bitshares-core/pull/339
* Fix for early withdrawal claims https://github.com/bitshares/bitshares-core/pull/23
* Fix for bug in vote evaluation https://github.com/bitshares/bitshares-core/pull/369
* Fix to prohibit voting for non-existant entities https://github.com/bitshares/bitshares-core/pull/348
* Some API changes https://github.com/bitshares/bitshares-core/pull/352 https://github.com/bitshares/bitshares-core/pull/344 https://github.com/bitshares/bitshares-core/pull/347 https://github.com/bitshares/bitshares-core/pull/330 https://github.com/bitshares/bitshares-core/pull/311 https://github.com/bitshares/bitshares-core/pull/312 https://github.com/bitshares/bitshares-core/pull/306 https://github.com/bitshares/bitshares-core/pull/304
* new option --plugins for run-time selection of active plugins https://github.com/bitshares/bitshares-core/pull/288
* Fix for the "no blocks to pop" message during shutdown https://github.com/bitshares/bitshares-core/pull/336
* Fix for transaction signing in cli_wallet https://github.com/bitshares/bitshares-core/pull/321
* Improved error logging https://github.com/bitshares/bitshares-core/pull/332
* Get rid of broken flat_index https://github.com/bitshares/bitshares-core/pull/335
* Fix for blockchain crash https://github.com/bitshares/bitshares-core/pull/324

@witnesses this will be our test run for the hardfork on mainnet. Please create witness nodes on testnet and ask xeroc to vote you in.

Edit: forgot to mention the tag... https://github.com/bitshares/bitshares-core/tree/test-2.0.170909
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: startail on September 10, 2017, 04:46:30 pm
My Testnet witness has been activated, kindly asking @xeroc to vote me in.

Witness: sc-bitshares-testnet

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: gordo on September 11, 2017, 03:31:47 pm
My witness node has been created and running. @xeroc, could you please vote me in?
Witness account:  witness-still
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: kimziv on September 12, 2017, 06:10:28 pm
My testnet witness is blocked at block 6693517. I have tried 3 times and failed. is there any others as me.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on September 12, 2017, 06:53:55 pm
My testnet witness is blocked at block 6693517. I have tried 3 times and failed. is there any others as me.

Blocked in what way?

At around that time a load test was run, which means the blocks were huge. This can lead to problems if you're trying to sync on a slow connection.

Keep an eye on the block log and the corresponding index file. As long as they are growing your node is still alive. It'll speed up once you are past the large blocks.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: kimziv on September 13, 2017, 06:14:55 am
My Testnet witness has been activated, kindly asking @xeroc to vote me in.

Witness: witness.yao.test
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: startail on September 14, 2017, 07:40:01 am
The test is schedule till tomorrow, just 24 hrs left, and so far we only have 3 witnesses joining. I'm also not a voted in witness on the main net, so just 2 regular witnesses so far. I think this is worrisome if witnesses aren't active in the community development.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: boombastic on September 14, 2017, 09:12:06 am
@xeroc my witness is ready, please throw some votes this way.

Code: [Select]
agsexplorer-test
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: crazybit on September 14, 2017, 11:39:24 am
finally syned the blocks, pls help to vote(crazybit.witness) in on testnet.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: startail on September 14, 2017, 04:59:30 pm
So, in less than 24 hours we will activate the new hard fork on BitShares.

To make sure I'm correctly set up in case of anything needs to be analyzed, I'm throwing out the question here.

My node has been compiled with the "Release" flag. Is this suitable, or should we use the "Debug" flag?
Further more, am I supposed to be activating any kind of special debug in case of the need to trace anything?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on September 14, 2017, 06:30:52 pm
So, in less than 24 hours we will activate the new hard fork on BitShares.

...on BitShares *testnet*.

To make sure I'm correctly set up in case of anything needs to be analyzed, I'm throwing out the question here.

My node has been compiled with the "Release" flag. Is this suitable, or should we use the "Debug" flag?
Further more, am I supposed to be activating any kind of special debug in case of the need to trace anything?

Using a release build is fine. If you feel capable of doing debugging in case of an emergency you can build in "RelWithDebInfo" mode, which will activate optimizations but still create debugging symbols.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: startail on September 14, 2017, 06:54:38 pm
So, in less than 24 hours we will activate the new hard fork on BitShares.

...on BitShares *testnet*.

Obviously
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: Harvey on September 15, 2017, 03:56:04 am
delegate-oraclechain (1.6.57) is ready on the testnet, votes will be really appreciated. ^^

Code: [Select]
get_witness delegate-oraclechain
{
  "id": "1.6.57",
  "witness_account": "1.2.3670",
  "last_aslot": 0,
  "signing_key": "TEST5hwhHZz21NkuGZDgKBFTNf8HSL6wond3S1TWQ3JDMAaFAJAkkP",
  "vote_id": "1:88",
  "total_votes": 998994119,
  "url": "delegate-oraclechain",
  "total_missed": 0,
  "last_confirmed_block_num": 0
}
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: freedom on September 16, 2017, 12:32:04 am
my witness freedom-t is ready, pls help to vote in on testnet.

freedom-t
"id": "1.6.59"
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: startail on September 16, 2017, 08:38:52 am
The testnet network is still running, so I assume the trial on the fork was successful?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: fav on September 16, 2017, 09:09:26 am
The testnet network is still running, so I assume the trial on the fork was successful.

let's ask our 25 active witnesses how the test goes
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: startail on September 16, 2017, 10:19:08 am
The testnet network is still running, so I assume the trial on the fork was successful.

let's ask our 25 active witnesses how the test goes

I'm one of the testnet witnesses running, and have so far not seen any issues on my end. This is why I put the question out here to see how everything was going for the other ones.

Seeing the many things fixed in this version I'm unsure if it's enough to just run a witness to see the effects. I assume some tests have to be performed to see that they are actually working as expected.

I miss an actual schedule or plan on doing this, but maybe I'm not in the right place?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: pc on September 16, 2017, 01:02:40 pm
Seeing the many things fixed in this version I'm unsure if it's enough to just run a witness to see the effects. I assume some tests have to be performed to see that they are actually working as expected.

I miss an actual schedule or plan on doing this, but maybe I'm not in the right place?

I posted a small update in the BSIP-18 thread: https://bitsharestalk.org/index.php/topic,24322.msg310920.html#msg310920

IMO it's up to the witnesses to run acceptance tests on testnet, and it's also up to them to define how such a test should be run.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xiangxn on September 17, 2017, 08:50:07 am
my testnet witness:"necklace-wit"  is ready, votes will be really appreciated.
Code: [Select]
{
  "id": "1.6.61",
  "witness_account": "1.2.3822",
  "last_aslot": 0,
  "signing_key": "TEST7zNeKZ9N7NjAc93cjRyTYUNMHubFiTYERhRBntrvvVUABue3CT",
  "vote_id": "1:92",
  "total_votes": 0,
  "url": "https://btsgo.net",
  "total_missed": 0,
  "last_confirmed_block_num": 0
}
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on September 17, 2017, 07:05:15 pm
My testnet witness abit-test id 1.6.60 is ready.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: crazybit on December 06, 2017, 12:25:28 pm
finally syned the blocks, pls help to vote(crazybit.witness) in on testnet.

my testnet witness is up and runing, vote would be appreciated.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: HiBlockchain on January 29, 2018, 07:20:10 am
Our testnet witness: test-hiblockchain is ready. Votes would be appreciated  :D
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: NeoReel on March 14, 2018, 11:01:51 pm
Is it possible that this thread, at least the start of it is now a bit old? Seems like several info is now deprecated and I can't get my witness to connect to the proper testnet chain.
Any help on the latest and greatest tutorial?

Thanks for any help!
Cheers,
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on March 14, 2018, 11:30:54 pm
Is it possible that this thread, at least the start of it is now a bit old? Seems like several info is now deprecated and I can't get my witness to connect to the proper testnet chain.
Any help on the latest and greatest tutorial?

Thanks for any help!
Cheers,
Yes, the linked doc is a bit outdated. There is a link to a page about "open public testnet" in the middle, and links to "your own testnets" below it.

Please clone https://github.com/bitshares/bitshares-core, checkout "testnet" branch or latest tag starts with "test".
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: NeoReel on March 14, 2018, 11:41:23 pm
Woot!
Thanks for the info. I did eventually wander around that area...
Cheers,
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: NeoReel on March 15, 2018, 04:08:50 am
Our testnet witness is ready to be voted in. Can you please give the witness "test-neoreel-1" some votes so we can further test this out?
Thank you!

Lol, I started creating a few more accounts like it was suggested in some post in order to vote myself in... When I got to 600,000TEST, I thought it would be enough... Oups, it is 600,000,000TEST required... Hmm... I'm not creating 6000 more accounts! :-)
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: btsRocket on August 28, 2018, 08:36:34 am
Hello,Our testnet witness is ready to be voted in. Witness "for-one" which is full of vitality needs your votes to help us to further test this out.
Thank you!
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on August 28, 2018, 01:10:31 pm
Hello,Our testnet witness is ready to be voted in. Witness "for-one" which is full of vitality needs your votes to help us to further test this out.
Thank you!
The account does not exist in testnet.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: gghi on August 28, 2018, 03:54:21 pm
I am few billion votes away from beating the inits, can you please throw some votes my way? We have only 3 testers atm and dev4btc is voted in but not producing.
    voted
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: btsRocket on August 31, 2018, 07:17:35 am
Hello,Our testnet witness is ready to be voted in. Witness "for-one" which is full of vitality needs your votes to help us to further test this out.
Thank you!
The account does not exist in testnet.
Sorry, the correct account is "testnet-for-one".
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on August 31, 2018, 11:33:54 am
voted
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: gghi on August 31, 2018, 01:06:08 pm
my testnet witness:"necklace-wit"  is ready, votes will be really appreciated.
Code: [Select]
{
  "id": "1.6.61",
  "witness_account": "1.2.3822",
  "last_aslot": 0,
  "signing_key": "TEST7zNeKZ9N7NjAc93cjRyTYUNMHubFiTYERhRBntrvvVUABue3CT",
  "vote_id": "1:92",
  "total_votes": 0,
  "url": "https://btsgo.net",
  "total_missed": 0,

   
  "last_confirmed_block_num": 0
}

voted,I hope you support Poll - BSIP42 - Adjust price feed dynamically
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: gghi on August 31, 2018, 01:28:56 pm
@xeroc my witness is ready, please throw some votes this way.

Code: [Select]
agsexplorer-test

  voted,I hope you support Poll - BSIP42 - Adjust price feed dynamically
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: xeroc on December 04, 2018, 02:26:00 pm
**FYI**:
The domain and subdomains *.testnet.bitshares.eu are currently migrated and thus unavailable.
Of course, the blockchain itself operates as usual

In the meantime, feel free to use wallet.bitshares.org and point it to wss://testnet.nodes.bitshares.ws/.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: Loweherz on March 04, 2019, 04:44:26 pm
Hi,

We're experimenting to run a small bookkeeping on bitshares testnet, and then have a profit/loss statement made based on the .csv list of transactions (nb via Robotic Process Automation; its for our local univ).

We came across three issues;
1. new accounts are receiving only 1.000 test token whereas the fee to create an asset is 5.000 test token meaning; is there a way to increase this or make e.g. one million test token available on our testaccount (a13) so we can send the necessary 'test' tokens over to the students?
2. the .csv file doesn't hold more than 50 lines. Our current bookkeeping is having appr 75 lines. Is there a way to have a .csv file with all activities in the testnet environment?
3. the .csv file did not seem to register the sales of an asset we created (nb it was created by team1000 and bought by a13), instead the .csv lines were ''4-3-2019 14:58:27,"fill_order","","0.00000 TEST"; anybody in the know of what might've happened here?

Much obliged.

Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: nellison122 on March 05, 2019, 02:54:56 pm
Thank you, but for its intended purpose, the server is still useful to me - perhaps even more useful now with a testnet running on it.
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: doc-bts on November 06, 2019, 04:31:36 am
I registered an account "doc-bts", but I didn't get the TEST asset.
May I ask for the test asset. or Need I register another  account?
Title: Re: [Public Testnet] testnet.bitshares.eu
Post by: abit on November 06, 2019, 07:18:28 pm
I registered an account "doc-bts", but I didn't get the TEST asset.
May I ask for the test asset. or Need I register another  account?
Join https://t.me/BTS_Node_Admins and ask. You've done it.