Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

stupid pybitcointools questions

Discussion in 'Projects' started by akhavr, Jul 2, 2015.

  1. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    742
    Likes Received:
    375
    Trophy Points:
    133
    To add ability for OpenBazaar users to transact in DASH, I have to convert vbuterin/pybitcointools to pydashtools.

    But I'm bad at crypto math, so I need your help.

    With an unknown software I usually start with tests.

    As far as I can understand, TestECCArithmetic should not be changed, since we use the same curve arithmetic.

    TestBases also should stay the same, since it's about converting numbers between different bases.

    I'm skipping electrum tests

    I'm not sure if TestTransactionSignVerify has something dash-specific.

    TestSerialize passes as is, but the underline serialize method should be changed, I guess, because we use different block format. Or I'm wrong?

    Or maybe I'm heading in completely wrong direction and I'd better start with primitives like privtopub and pubtoaddr?

    Please, show me the light :)

    Thanks
     
    • Like Like x 1
  2. UdjinM6

    UdjinM6 Official Dash Dev
    Dash Core Team Moderator

    Joined:
    May 20, 2014
    Messages:
    3,637
    Likes Received:
    3,536
    Trophy Points:
    1,183
    • Like Like x 2
  3. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    742
    Likes Received:
    375
    Trophy Points:
    133
    Thanks, merged. Will work from this point on.
     
    • Like Like x 1