Author Topic: [CLOSED][1000bitUSD BOUNTY] - Update testnet codebase to bitshares codebase  (Read 2464 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
This is highly needed.

As far as I know, ChainSquad has no profits form the public testnet management, and it benefits BitShares as a whole. It's a fundamental for development, testing and for projects seeking for a platform to adopt.

On the other hand it's a relief for BitShares to have ChainSquad on charge of it, so I think worker proposals to have the testnet always up to date would be as fair as convenient for everyone.
I am considering this, but for now, i mostly need the testnet updated for my own development stuff .. like stakemachine and an uptick api that is compatible with polo

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Done: https://github.com/pmconrad/graphene/tree/testnet

There's a new testnet-specific hardfork that deals with two differences to main net ("BIT" assets and proposal validation). Also, hardfork 385 has never been part of graphene and was therefore not in the old testnet code.

Built and synched successfully up to current head block.

I had to adapt the timeouts in https://github.com/bitshares/bitshares-core/blob/master/libraries/net/include/graphene/net/config.hpp#L48 and https://github.com/bitshares/bitshares-core/blob/master/libraries/net/node.cpp#L1368 in order to sync the large blocks from the recent throughput test. This is a known issue and unrelated to the testnet itself (can't find the github issue, but I remember someone complaining about a similar problem).

Edit: PR created https://github.com/BitSharesEurope/testnet/pull/2
Wonderful piece of work! Thanks!
Going forward, business/paymemt stuff goes per mail

Offline cusknee

  • Full Member
  • ***
  • Posts: 174
    • View Profile
  • BitShares: cusknee
I love seeing these things getting done! Fabulous!

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Done: https://github.com/pmconrad/graphene/tree/testnet

There's a new testnet-specific hardfork that deals with two differences to main net ("BIT" assets and proposal validation). Also, hardfork 385 has never been part of graphene and was therefore not in the old testnet code.

Built and synched successfully up to current head block.

I had to adapt the timeouts in https://github.com/bitshares/bitshares-core/blob/master/libraries/net/include/graphene/net/config.hpp#L48 and https://github.com/bitshares/bitshares-core/blob/master/libraries/net/node.cpp#L1368 in order to sync the large blocks from the recent throughput test. This is a known issue and unrelated to the testnet itself (can't find the github issue, but I remember someone complaining about a similar problem).

Edit: PR created https://github.com/BitSharesEurope/testnet/pull/2
« Last Edit: June 25, 2017, 08:14:34 am by pc »
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab
This is highly needed.

As far as I know, ChainSquad has no profits form the public testnet management, and it benefits BitShares as a whole. It's a fundamental for development, testing and for projects seeking for a platform to adopt.

On the other hand it's a relief for BitShares to have ChainSquad on charge of it, so I think worker proposals to have the testnet always up to date would be as fair as convenient for everyone.


Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
UPDATE: This bounty has been claimed by @pc! Do not waste your time on it!

Original post:



Hey there,

I have started working on some more python code and wanted to test it on the testnet until I realized that the current testnet graphene code fell behind the code base of bitshares quite a bit. In order to build code that works best with bitshares, I am looking for some assistance in updating the testnet code base to be compatible with the bitshares code base.

I tried my self to merge or cherry pick the commits, but the replay failed at some point. Since I am not a C++ dev and don't have the required insights in the backend, I hereby offer a

Bounty of $1000 (to be paid in bitUSD)

The tasks are:
  • Update the testnet codebase (repository: github.com/bitshareseurope/testnet - branch testnet) to match the bitshares codebase
  • Apply all required hardforks (if necessary) at a specified time in the future

Requirement:
  • The  backend code needs to successfully sync/replay the existing testnet blockchain
  • No mentions of BitShares/BTS in the code (to prevent confusions)
  • Since this offer is made by ChainSquad GmbH, I will need you to send me an invoice.

Looking forward to some discussion and feedback.

Fabian Schuh
CEO of ChainSquad GmbH
« Last Edit: June 25, 2017, 11:41:12 am by xeroc »