Author Topic: PTS forked and testnet  (Read 5204 times)

Riverhead

  • Newbie
  • *
  • Posts: 32
Re: PTS forked and testnet
« Reply #15 on: November 04, 2014, 10:20:07 pm »
I will have a seed/chain node up in a few hours if it builds. I'll update this post with the IP/Port info.
Great! Welcome to the team! :-)

Going to take me a bit longer since the submodules are not configured yet. Is this in progress or should I just piece it together?

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #16 on: November 05, 2014, 08:31:29 am »

Going to take me a bit longer since the submodules are not configured yet. Is this in progress or should I just piece it together?

Not sure what you mean. I haven't touched the qt_wallet and web_wallet submodules yet. And I'm not working on them.
The rest should work as-is. At least I had no problems building the CLI client.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!

cube

  • CoreTeam
  • Jr. Member
  • *
  • Posts: 293
  • Bit by bit, we will get there!
Re: PTS forked and testnet
« Reply #17 on: November 05, 2014, 12:41:00 pm »
I will have a seed/chain node up in a few hours if it builds. I'll update this post with the IP/Port info.
Great! Welcome to the team! :-)

Going to take me a bit longer since the submodules are not configured yet. Is this in progress or should I just piece it together?

Welcome onboard!

Submodules (fc etc) to create the command-line client are working.  The GUI wallet part is not working yet.

Contribute to the PTS Development Program!
Please send your donation to ID: bitcube

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #18 on: November 05, 2014, 02:45:34 pm »

OK - I have just pushed a few minor modifications to my github repo and tagged pts-test-2.

This new test version uses 10s block times. TX fees have been increased to .01 PTS - current rate at bter is .0055 BTC/PTS and 310 USD/BTC, which means 1PTS ~= US-$ 1.7, i. e. the minimum fee is 1.7 US-cent, which is in your suggested range. Default fee in newly created wallets is five times that.

Delegate creation fee is currently very low: the default setting of the bitshares toolkit is a delegate registration fee equivalent to what running a delegate for hours would return.

I'm currently rebuilding my packages, then I'll upgrade my seed nodes.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!

cube

  • CoreTeam
  • Jr. Member
  • *
  • Posts: 293
  • Bit by bit, we will get there!
Re: PTS forked and testnet
« Reply #19 on: November 05, 2014, 04:14:13 pm »
Could you incorporate genesis in this format ie original xts format?  init0,init1,init3 and PTS keys are easier to read and in the familiar format.  We need to put up the list of PTS keys in a format readable and verifiable by those who wish to do so.

    {
      "name": "init1",
      "owner": "PTS6qF3upmm89fpH7m43vsaz3ct4soAKVVZsLg9HqAC81RwnqgYCM",
      "delegate_pay_rate": 100
    },{


        [
            "PXys8N7F8o7t7q2hL2QXdKJHC5i1Qix7iR",
            68727972
        ],
        [
            "PXytPRzGdX7VTzbtFzxF8h13dU8KQXxZMV",
            1811448041
        ],

« Last Edit: November 05, 2014, 04:16:54 pm by cube »
Contribute to the PTS Development Program!
Please send your donation to ID: bitcube

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #20 on: November 05, 2014, 04:41:26 pm »
More or less, yes.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #21 on: November 05, 2014, 09:02:21 pm »
I'm currently rebuilding my packages, then I'll upgrade my seed nodes.

Test net #2 is now up and running. Test net #1 has been taken down.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!

cube

  • CoreTeam
  • Jr. Member
  • *
  • Posts: 293
  • Bit by bit, we will get there!
Re: PTS forked and testnet
« Reply #22 on: November 06, 2014, 11:07:00 am »
More or less, yes.

I see that it has been formatted.  Thanks.

Are you able to fixed the dev_tests compilation error too?   Not that it is critical.  But it would be good we could run some dev tests on it and it is nicer for others to download and compile.  I will look into the Windows wallet.

[ 99%] Building CXX object tests/CMakeFiles/dev_tests.dir/dev_tests.cpp.o
In file included from /root/ab/PTS/libraries/wallet/include/bts/wallet/transaction_builder.hpp:5:0,
                 from /root/ab/PTS/libraries/wallet/include/bts/wallet/wallet.hpp:6,
                 from /root/ab/PTS/tests/dev_fixture.hpp:3,
                 from /root/ab/PTS/tests/dev_tests.cpp:3:
/root/ab/PTS/libraries/wallet/include/bts/wallet/wallet_records.hpp: In member function âbool bts::wallet::transaction_ledger_entry::is_confirmed() constâ:
/root/ab/PTS/libraries/wallet/include/bts/wallet/wallet_records.hpp:203:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        bool is_confirmed()const { return block_num != -1; }
                                                        ^
In file included from /root/ab/PTS/tests/dev_tests.cpp:3:0:
/root/ab/PTS/tests/dev_fixture.hpp: In constructor âchain_fixture::chain_fixture()â:
/root/ab/PTS/tests/dev_fixture.hpp:166:61: error: âBTS_BLOCKCHAIN_INITIAL_SHARESâ was not declared in this scope
                                                     (double)BTS_BLOCKCHAIN_INITIAL_SHARES/BTS_BLOCKCHAIN_NUM_DELEGATES) );
                                                             ^
make[2]: *** [tests/CMakeFiles/dev_tests.dir/dev_tests.cpp.o] Error 1
make[1]: *** [tests/CMakeFiles/dev_tests.dir/all] Error 2
Contribute to the PTS Development Program!
Please send your donation to ID: bitcube

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #23 on: November 06, 2014, 05:21:30 pm »
I pushed fixes. AFAICS the value was only used for creating balances in a dummy blockchain. The tests compile for me, but for some reason dev_tests and nathan_tests are crashing after "Canceling wallet relocker task" - does it work for you?
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!

cube

  • CoreTeam
  • Jr. Member
  • *
  • Posts: 293
  • Bit by bit, we will get there!
Re: PTS forked and testnet
« Reply #24 on: November 06, 2014, 06:46:02 pm »
I pushed fixes. AFAICS the value was only used for creating balances in a dummy blockchain. The tests compile for me, but for some reason dev_tests and nathan_tests are crashing after "Canceling wallet relocker task" - does it work for you?

No, I am not looking at the tests yet. Hope you can look into that.  I am fixing the fess and reserved name list.  Will make a pull request once it is done.
Contribute to the PTS Development Program!
Please send your donation to ID: bitcube

cube

  • CoreTeam
  • Jr. Member
  • *
  • Posts: 293
  • Bit by bit, we will get there!
Re: PTS forked and testnet
« Reply #25 on: November 07, 2014, 04:06:41 am »
Updated https://github.com/bigcube/PTS with your repo and created a pull request.  The changes seems to be working but may need more test.

Is dev_tests working now?
Contribute to the PTS Development Program!
Please send your donation to ID: bitcube

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #26 on: November 07, 2014, 09:57:11 am »
Updated https://github.com/bigcube/PTS with your repo and created a pull request.  The changes seems to be working but may need more test.

Merged.

If you accept the job as lead developer we should use yours as the main repo, though. :-)

Is dev_tests working now?

No, I'll look into this later today.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!

cube

  • CoreTeam
  • Jr. Member
  • *
  • Posts: 293
  • Bit by bit, we will get there!
Re: PTS forked and testnet
« Reply #27 on: November 07, 2014, 05:52:52 pm »
Updated https://github.com/bigcube/PTS with your repo and created a pull request.  The changes seems to be working but may need more test.

Merged.

If you accept the job as lead developer we should use yours as the main repo, though. :-)

Is dev_tests working now?

No, I'll look into this later today.

Besides dev_tests, please work out the wallet_tests and regression tests.   We can leave out the 'market testing' from the tests but wallet, account and delegate functionalities need to be tested.
Contribute to the PTS Development Program!
Please send your donation to ID: bitcube

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #28 on: November 08, 2014, 11:01:45 pm »
Besides dev_tests, please work out the wallet_tests and regression tests.   We can leave out the 'market testing' from the tests but wallet, account and delegate functionalities need to be tested.

Status update: spent a lot of time on rebasing our changes on upstream v0.4.23.1 + cherrypicking some fixes. dev_tests doesn't crash anymore, haven't checked the others yet.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!

pc

  • Moderator
  • Jr. Member
  • *****
  • Posts: 218
Re: PTS forked and testnet
« Reply #29 on: November 09, 2014, 05:05:46 pm »
Pushed my rebased client to branch "rebase-master", copied old master to branch "master-old" and force-updated "master" to "rebase-master".

I know this kind of messing with history is ugly, but it's less ugly than "merging" my changes from rebase-master into master. Makes for a rather clean history.

I'll prepare test #3.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de/
My PTS binary packages for CentOS, Fedora, openSUSE: http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=PTS
Please donate: pts:cyrano - thanks!